Forced Shutdown of Windows NT/2K Systems

Alex K. Angelopoulos alex "at" bittnet.com
Mon, 25 Mar 2002 23:21:05 +0000


As a general rule, I would suggest that it is a good idea to get a shutdown
tool installed for NT4 and Win2k, and then use that when it is necessary to
do a remote reboot - the point made earlier by Mike Miller and Tony Caduto
about the lack of an integral tool for forcing shutdown produces significant
issues with remote administration.

(This actually reminds me of an old Mark Minasi line.  At seminars he used
to say that you need one specific tool for remote administration of Windows
NT: a plane ticket.)

I would suggest that part of the NT install/config process for
administrators should involve adding specific small tools.  When setting up
remote control on NT 4/2000, I would suggest getting Sysinternals'
psshutdown and putting it on the system.  It's a 14KiB free download.  URL
for it is:

http://www.sysinternals.com/ntw2k/freeware/psshutdown.shtml


A good general command line to use for it is:

psshutdown -f -r -l

*DO NOT* forget the -r.
-f forces shutdown; -r says to reboot after shutdown; -l specifies the local
system.  It defaults to waiting 20 seconds before rebooting, and can be
aborted via

psshutdown -a

I've made it a practice in the past to put a batch file with the standard
options in my path so I could quickly access it.  On systems with
significant resource starvation I even include a couple of preliminary lines
which shut dwon the print spooler, IIS, and  any other standard non-critical
but memory-hungry services before initiating shutdown - then *always*
rebooted via the batch file.
---------------------------------------------------------------------
To unsubscribe, mail majordomo "at" uk.research.att.com with the line:
'unsubscribe vnc-list' in the message BODY
See also: http://www.uk.research.att.com/vnc/intouch.html
---------------------------------------------------------------------