Can I remotely hibernate a computer?

16

1

I know the shutdown command (and the corresponding shutdown /i switch to show the GUI), but is there a way to hibernate a computer remotely in a similar way?

The machines are running Windows XP and Vista - I'd like to be able to do it either way round.

Ant

Posted 2009-07-16T17:11:08.953

Reputation: 714

Answers

16

Here you are: PsShutdown.

To remotely hibernate another computer:

psshutdown -h \\othercomputer

Note that I didn't test this because I don't have any computers here right now that I'd care to hibernate, but psshutdown -? lists -h as the hibernate command, and it can remotely shutdown and reboot other computers which I have tested before.

Note that you only need the command installed on the machine you want to issue the command on, not on the one you need to reboot.

Also, just to stave off someone testing this just to see how "fun" this command is, it should go without saying that you won't actually be able to remotely bring the computer back up from hibernation. For that you need to use sneaker-net.

Lasse V. Karlsen

Posted 2009-07-16T17:11:08.953

Reputation: 3 196

Don't you know why does built-in shutdown /h /m \\name doesn't work? – abatishchev – 2012-08-31T18:12:16.363

Windows 7 and 8, x32 and x64 confirmed. Thanks – Marco Clérigo - GRIFIN.pt – 2013-04-10T15:19:41.147