UUUhhhhhhgggggg.

It works for $COMPUTER=@WKSTA but not for remote PC. [Frown]

The remote PC is WIN2000 The kill proccess works but not starting.

I get "0's" for return codes but nothing happens on the remote PC at all.

code:
$COMPUTER'MAN07536'
?"$COMPUTER"
$objWMIService=GetObject('winmgmts:{impersonationLevel=impersonate}!//'+$COMPUTER+'\root\cimv2:Win32_Process')
? ''+@ERROR+' - '+@SERROR

$RC=$objWMIService.Create('%WINDIR%\mess.exe')
? ''+@ERROR+' - '+@SERROR



[ 07. March 2003, 18:06: Message edited by: Rocco Capra ]
_________________________
I Love this board!! -------------------- My DEV PC is running KIX 4.22 WINXP Pro