Discussion Locked

scheduled reboot command

0 helpful
6 replies
Closed to new repliesThis discussion is closed. It stays readable, but it takes no new replies.
Does anyone know that at command to use to schedule a nightly reboot? shutdown /reboot command works fine for me in terminal server, but it is not working as a scheduled command on an nt server. Thanks.

6 replies

by ptl921

To schedule a shutdown use either the AT
command which uses a command line or if you
have Internet Explorer 5 loaded on your
server,you can use "Scheduled Tasks" found
under my computer. This uses a GUI
interface. I like the GUI, you tell it to use
the shutdown.exe program and when you
schedule it.

by ptl921

Also, if you have Windows NT 4 Resource Kit, there is a program called WinAt. It has a quasi GUI interface for the AT command. Using the shutdown.exe program and WinAt or Schedules Tasks you can schedule shutdowns for local or remote computers. Ifyou need details, contact me.

by tashish

Ok. I did have similar problem like urs. Let me explain u how I got it done.

I have taken help of Windows NT Resource Kit, It has main 2 components, shutdown.exe and winat.exe.

u can find syntax for shutdown in RK. write a small bat program which has
SHUTDOWN \\computer_name /R, /R for reboot the computer.

Then use WINAT to schedule the reboot, using that bat program.

The other problem u might have is auto logon. 'cause when u reboot NT server it will stay at login prompt.

The round about way is to make 2 entries in registry and u should be able to reboot system automatically without any manual intervention.

But the problem with auto logon is security issue, cause u will hard code the username and password in the registry so u have to make a judgement on is it worth taking risk.

Let me know if u need any help.

Good Luck.

This discussion is closed to new replies.