Super User is a question and answer site for computer enthusiasts and power users. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

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.

share|improve this question
up vote 13 down vote accepted

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.

share|improve this answer
Brilliant. Thanks very much! – Ant Jul 17 '09 at 8:19
Don't you know why does built-in shutdown /h /m \\name doesn't work? – abatishchev Aug 31 '12 at 18:12
Windows 7 and 8, x32 and x64 confirmed. Thanks – Marco Clérigo - Apr 10 '13 at 15:19

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .