Jump to content

Recommended Posts

Posted

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

  • Replies 5
  • Created
  • Last Reply

Popular Days

Guest Pegasus \(MVP\)
Posted

Re: Remote Shutdown

 

 

"JR" <JR@discussions.microsoft.com> wrote in message

news:FD033473-4BF8-4900-8813-6E60677A7BBB@microsoft.com...

> 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 http://www.sysinternals.com and poweroff.exe

from http://users.pandora.be/jbosman/poweroff/poweroff.htm. Enjoy!

Posted

Re: Remote Shutdown

 

Thanks. Glad one of my awkward questions posted had an answer!

 

JR

Somerset

Guest Pegasus \(MVP\)
Posted

Re: Remote Shutdown

 

 

"JR" <JR@discussions.microsoft.com> wrote in message

news:EFCC2950-90F5-48B8-9B36-550919541369@microsoft.com...

> MAYBE of more interest to others

> After looking through the Sysinternals pages

> found this

> http://technet.microsoft.com/en-us/sysinternals/bb897541.aspx

> which replaces shutdown.exe and "kills" the remote

>

>

> JR

 

Nice!

Guest al_v
Posted

Re: Remote Shutdown

 

 

It is happens because it uses shutdown command instead of poweroff that

actuially shut pc down and turn power off.

 

You can also try this utility - 'RSHUT PRO' (http://www.rshut.com) that

can perform all necessary actions regarding local and remote computers

power consumption.

 

 

--

al_v

------------------------------------------------------------------------

al_v's Profile: http://forums.techarena.in/member.php?userid=49951

View this thread: http://forums.techarena.in/showthread.php?t=972007

 

http://forums.techarena.in


×
×
  • Create New...