Take the 2-minute tour ×
Super User is a question and answer site for computer enthusiasts and power users. It's 100% free, no registration required.

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

1 Answer 1

up vote 11 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 - GRIFIN.pt Apr 10 '13 at 15:19

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.