I am trying to restart an NT 4.0 server using some batch script which would start at a certain time (maybe midnight when I am not there). Any suggestion on how to achieve this.
use the shutdown.exe command from the resource kit,
make sure the scheduler service is started automatically, that it is running on an administrator account, and that it is active, then you can schedule an executable (e.g. a batch file) to run at a certain time on a certain day using the 'at' command.
Look at the shutdown command help for more info
Peter Van Eeckhoutte
peter.ve@pandora.be
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.