hey, echo the $b before:
$u=WMIQuery("username","Win32_ComputerSystem",$b)

it kinda sounds like $b is invalid...
_________________________
!

download KiXnet