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
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
"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