[prev in list] [next in list] [prev in thread] [next in thread] 

List:       nt-mgrs
Subject:    Re: [nt-mgrs] Restart NT Server from Command Line?
From:       Jeff_Lovett () idx ! com
Date:       1999-06-16 18:25:18
[Download RAW message or body]

SCHEDULING A REBOOT OF YOUR SERVER
If you would like to reboot your Windows NT server, but don't want to have
to be there
to do it, you can use the shutdown Windows NT Resource Kit utility, along
with the "at"
command, to schedule a reboot of your server. (You can download the Windows
 NT 4.0
Resource Kit Support Tools, which include the shutdown utility, by going to

http://www.microsoft.com/ntserver/nts/downloads/recommended/ntkit/default.a
sp.
The "at" command is included with Windows NT Server 4.0.)

The shutdown utility requires that you use several parameters. These
include /L (to
specify that you want to shut down the local computer), /R (to specify that
 you want
to reboot after the shutdown of your server), and /Y (to specify that you
want to answer
"yes" to all questions). For example, to shutdown and reboot your local
server, you
should type:
shutdown /L /R /Y

When you're ready to schedule the shutdown command to run, begin by
starting the
Schedule service in the Services icon within Control Panel. After starting
the Schedule
service, schedule shutdown to run by typing the following command: at time
/next:date
command. For example, to schedule the shutdown to run every Saturday at
3:00 P.M., type
the command:
at 15:00 /every:Saturday c:\ntreskit\shutdown /L /R /Y

[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic