WMIC bug SP1 to SP2

  • Thread starter Thread starter Guest
  • Start date Start date
G

Guest

Why does the following command work when issued from and XP sp1 machine, but
fails on SP2? How can this be made functional on an SP2 machine? The error
on SP2 is invalid verb switch?

Here is the command.
wmic /node:@"C:\MyServerList.txt" /user:domain\userid process call create
"RunDLL32 shell32.dll,Control_RunDLL %SystemRoot%\system32\TIMEDATE.cpl,,/Z
(GMT-06:00) Central America"

Thanks,
 
I should correct myself - the error is invalid format. It appears that wmic
is parsing the command being passed to the remote machine. How might I
escape the ','. If the command is run without commas it doesn't throw and
error - but of course it doesn't work properly either.
 
Back
Top