Reboot with a batch file

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

Dave Patrick

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.
 
P

Pegasus \(MVP\)

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.
 

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

Top