The command works on Windows 98 and does not on XP. KiXtart version 4.20. I will try hardcoding the computer name. Anybody know some WMI code to shutdown/restart the local computer?