I have tried shutdown.exe and have had no success. Not only does shutdown.exe not work as part of the script, but scheduled alone it doesn't execute when no user is logged on. I'm still getting the error code 21, device not ready. I have attempted the following so far: Using KiXtart, WMI, and shutdown.exe to issue the command along with trying computer name vs. no computer name and force vs. no force as options. I'm fairly out of ideas. Can somebody else try using the code in the first post and see if it works on an XP computer. It's real simple: 1) make a script with the code above. 2) Create a task in the schedular to run the script in a minute (allow yourself enough time to log off). 3) Log off and wait until execution time. If it worked, the computer will reboot. If not, it won't.

Note: I run Windows NT 4.0 Servers w/ SP6a

[ 04. July 2003, 04:54: Message edited by: Gaven ]