Schedule shutdown/reboot

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

Guest

I am trying to schedule a remote shutdown (W2K-Prof) using "shutdown.exe" in
the system 32 directory. I log in using an administrator password and
schedule a task in the control panel after browsing for the Shutdown.exe. The
PC does not reboot. Is there a permission step I am missing?
 
Scheduled Tasks|Advanced|View Log may provide some details.

--
Regards,

Dave Patrick ....Please no email replies - reply in newsgroup.
Microsoft Certified Professional
Microsoft MVP [Windows]
http://www.microsoft.com/protect

:
|I am trying to schedule a remote shutdown (W2K-Prof) using "shutdown.exe"
in
| the system 32 directory. I log in using an administrator password and
| schedule a task in the control panel after browsing for the Shutdown.exe.
The
| PC does not reboot. Is there a permission step I am missing?
 
The issue you are having is permission related, you need to run the
scheduled task using the local system account, not a user account.

Make a batch file and insert this command into it - all one line(you
may wish to add to it so you first copy shutdown.exe to the required
location and obviously alter the schedule to suit yourself). This
version causes the system to reboot, changing switches will make it
logoff, shutdown etc.

if not exist "c:\winnt\tasks\at*.*" at 23:59 /interactive
/every:M,T,W,Th,F "c:\program files\resource kit\shutdown.exe" /r /c

Create a GPO that will run this batch file as a startup script in the
computer policy, link the policy to an OU containing the computers you
wish to restart. On restarting these PCs a scheduled task will be added
that will run under the system account.
 
Back
Top