Reboot with a batch file

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

Guest

I would like to reboot the server automatically using a batch file and the
task scheduler. It is a Windows 2000 server. Can anybody give me the command
that I need to put in the batch file to get the server to reboot. I have
already configured it to log in automatically when it restarts.
 
You can use shutdown.exe from the resource kit. Why autologon? Huge security
issue.

--

Regards,

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

:
|I would like to reboot the server automatically using a batch file and the
| task scheduler. It is a Windows 2000 server. Can anybody give me the
command
| that I need to put in the batch file to get the server to reboot. I have
| already configured it to log in automatically when it restarts.
 
jaystaeb8 said:
I would like to reboot the server automatically using a batch file and the
task scheduler. It is a Windows 2000 server. Can anybody give me the command
that I need to put in the batch file to get the server to reboot. I have
already configured it to log in automatically when it restarts.

Try psshutdown.exe from www.sysinternals.com.
 
Back
Top