Schedule shutdown/reboot

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?
 
D

Dave Patrick

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?
 
N

not_active2004

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.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Similar Threads

schedule a reboot 9
how to schedule a shutdown 1
Shutdown.exe 1
Remote Shutdown 4
Reboot command no longer works in Task Scheduler 8
Shutdown 5
Schedule shut down 2
Schedule shutdown 1

Top