Re: Remote Shutdown




"JR" <JR@xxxxxxxxxxxxxxxxxxxxxxxxx> wrote in message
news:FD033473-4BF8-4900-8813-6E60677A7BBB@xxxxxxxxxxxxxxxx
Another awkward question - sorry.

Trying to shut down remotely a Win2 server. Using shutdown.exe from
command
line
"shutdown -s -m \\server /-t10" for 10 second delay. Shuts down server
but does NOT shut down the PC, leaving the old fashioned "It is now safe
to
turn off your computer" message. Shutdown.exe is 5.1.2600.2180

HOW can I also get it to turn off the computer?

This is needed as I want to shutdown from other side of the world and as
only file server without AD can only access a desktop on another machine
through pcanywhere.

Thanks
JR
Somerset

Awkward question indeed! This one had me intrigued, so I poked
around a fair bit. All of the references I found referred to hal.dll,
the PowerDownAfterShutdown registry entry or to APM drivers,
none of which helped. However, I struck paydirt with this command:

psexec.exe \\ComputerName c:\poweroff.exe poweroff

You can get psexec.exe from www.sysinternals.com and poweroff.exe
from http://users.pandora.be/jbosman/poweroff/poweroff.htm. Enjoy!


.



Relevant Pages

  • Remote Shutdown
    ... Another awkward question - sorry. ... Trying to shut down remotely a Win2 server. ... Using shutdown.exe from command ... but does NOT shut down the PC, leaving the old fashioned "It is now safe to ...
    (microsoft.public.win2000.general)
  • Re: Why cant I close all docs in Word07 while leaving the program ope
    ... Use Ctrl+W (a bit less of a stretch for the fingers), ... customization dialog to assign a shortcut to the Close command that you find ... Right-click the Close command on the Office button menu and choose to add ... while leaving the program open (an "x" box in the upper right for the ...
    (microsoft.public.word.docmanagement)
  • Re: Lisp in a Box
    ... Here's the most useful cheatsheet for the 6 editor I ever found: ... The last sequence is the command for leaving vi. ... The amazing thing is, back when I was a C++ programmer, I thought that was SUCH a great book. ...
    (comp.lang.lisp)
  • Interesting findings with string pattern matching using [specifier]...or is it just sysobjects turni
    ... I found some interesting results today, when using the "like" command ... combined with pattern matching for a range of numbers ... --- leaving the % out... ... returns zero rows. ...
    (comp.databases.sybase)
  • Re: How to detect users existence over UNIX
    ... I want to write a shell script to do so. ... Leaving issue of non-atomicness aside, you could use the id command ...
    (comp.unix.programmer)