I'm trying to schedule a shutdown of a Windows Server 2003 Standard (SP1,
console logged in and locked). I can't seem to get it to work?
Using task scheduler gives the "0x4f7" as the result code when running:
C:\WINDOWS\system32\shutdown.exe /s /t 120 /c "Server Shutdown" /d p:0:0
Its run with correct privileges, local administrator. (workgroup
environment)
The same result code appears when running the above command in a scheduled
batch file. The server is able to successfully shutdown remote xp's. If I
run this command from the console session it works. (same applies if its in
a batch file)
Bookmarks