• We’re currently investigating an issue related to the forum theme and styling that is impacting page layout and visual formatting. The problem has been identified, and we are actively working on a resolution. There is no impact to user data or functionality, this is strictly a front-end display issue. We’ll post an update once the fix has been deployed. Thanks for your patience while we get this sorted.

Win NT4 server reboot.

Chuck

Senior member
Is there anyway to set a timer to reboot a NT 4 Server (like in the early morning when no one is using it) like you can in Linux.

Thanks.
 
I know that there is a shutdown.exe that comes with the workstation 4.0 resource kit. You could use it with a schedualed task or with the at command to time it. I've only used it with workstation so I'm not sure if it would work with server. Maybe the server resource kit has something.
 
Yes, create a restart.bat file that automatically reboot NT at a predefined time.

Most of our NT servers are rebooted once a day automatically with this .bat and shutdown files.

eRr
 
Copy shutdown.exe into c:

then run a .bat script that lets it reboot the server using the string that you'd like to use

add restart.bat into task scheduler and execute it add predefined time.

That's it


C:\>shutdown /?
Release 2.0 written by A. Blatzheim 1993 at Microsoft GmbH

Usage: SHUTDOWN [/?] [\\Computer] [/L] [/A] [/R] [/T:xx] ["Msg"] [/Y] [/C]

/? Shows this screen.
\\Computer Specifies a remote computer to shutdown.
/L Specifies a local shutdown.
/A Abortes a systemshutdown. This is only possible during the
timeout period.If this switch is used, all other are ignored.
/R Specifies that the machine should reboot after shutdown.
/T:xx Sets the timer for system shutdown in seconds.[20 sec. default]
"Msg" Specifies an additional message
/Y Answer all following questinons with yes
/C Forces running applications to close.
ATTENTION: If you use the /C parameter NT ignores the
applications option to save data which may
have changed. You will see no File-Save dialog
box, because NT will force the application to
close. This will result in a loss of all data.
not previously saved !!!
 
The resource kit comes on a CD with the NT4.0 Resource Kit book. But you may be able to find shutdown.exe on the microsoft site somewhere. I think thats how I got it. I use a reboot.com file to reboot 95 machines, but not remotely. It's a old dos utility.
 
Back
Top