Tip

Rebooting Your Nt Server

Rebooting your servers can be a hassle, but a neccesity to the smooth operation
of your environment. Instead of rebooting your servers in the middle of the
night or worse yet, when users are accessing it, try this. Be cautious as there
are many possibilities as to why your server may not finish the reboot, ie a
floppy in the drive.
Microsoft provides a utility in the Windows NT Server Resource Kit. The
executable is called SHUTDOWN.EXE. The SHUTDOWN.EXE utility can be included in
a batch file. (The batch file can be called by the Windows NT "AT" command.
The "AT" command requires that the Scheduler Service be running.) Note that
the Domino server needs to running as a Service in order for it to start when
Windows NT is restarted.

Sample Batch file (NTDOWN.CMD):
net stop "Lotus Domino Server" -->this line will down the Lotus Domino server1
shutdown.exe /l /r /t:60 "Desired Message" /y /c 3

1The Lotus Domino server should always be downed prior to shutting down Windows
NT.
2Tasks such as compacting the Name & Address Book (NAB), can only be done while
the Lotus Domino Server is down.
3List of the sample batch file arguments:
"l" indicates a local shutdown
"r" indicates a reboot
"t" specifies the time in seconds to wait before shutting down (default is 20
seconds)
"y" will answer any prompts with a "Yes"
"c" will force any application to close

Here is a sample AT Command that you might use to schedule this shutdown once a
week on Monday Night at 23:00 (11:00pm):

AT 23:00 /every:M NTDOWN.CMD

This was first published in November 2000

There are Comments. Add yours.

 
TIP: Want to include a code block in your comment? Use <pre> or <code> tags around the desired text. Ex: <code>insert code</code>

REGISTER or login:

Forgot Password?
By submitting you agree to receive email from TechTarget and its partners. If you reside outside of the United States, you consent to having your personal data transferred to and processed in the United States. Privacy
Sort by: OldestNewest

Forgot Password?

No problem! Submit your e-mail address below. We'll send you an email containing your password.

Your password has been sent to:

Disclaimer: Our Tips Exchange is a forum for you to share technical advice and expertise with your peers and to learn from other enterprise IT professionals. TechTarget provides the infrastructure to facilitate this sharing of information. However, we cannot guarantee the accuracy or validity of the material submitted. You agree that your use of the Ask The Expert services and your reliance on any questions, answers, information or other materials received through this Web site is at your own risk.