Super User is a question and answer site for computer enthusiasts and power users. It's 100% free, no registration required.

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

How can I reboot my server which is running XP via ssh? I think it may have partially crashed, but at any rate it isnt letting me connect via RDP.

Thanks for the help!

EDIT: I am using putty, and it doesnt seem to be prompting me for a username or password.

Is this a problem?

share|improve this question
Are you running an SSH server on the machine? If not, you won't be able to connect that way. – Joe Internet Dec 26 '09 at 19:21
I thought I was, but apparently I am not... – Cyclone Dec 26 '09 at 20:02
up vote 3 down vote accepted

Actually, Shutdown.exe has a parameter that allows you to specify machine name. You do not have to have an SSH server on the machine you want to reboot.

Shutdown /r /m \\WindowsXPServerName
share|improve this answer
But I can't even access the machine – Cyclone Dec 27 '09 at 2:20
What do you mean you can't access the machine? Do you mean physically or over the network? If you don't even have network access I don't know how you'd be able to reboot the machine remotely. If you just don't have physical access, you can execute Shutdown from a remote machine and just specify the computer name or IP address of the XP Server you'd like to reboot. – PaulWaldman Dec 27 '09 at 4:12

Actually, he needs shutdown -r if he wants to reboot the machine rather than just power it down.

share|improve this answer

Well, if you have SSH access, try the shutdown command?

You want...

Shutdown -r

... This is dependent on what SSH server you are using, but most I have seen should support this.

share|improve this answer
Gil's answer is correct; OP's asking for reboot, so use -r instead of -s – quack quixote Dec 26 '09 at 19:37
changed to r... I did that wrong :( – William Hilsum Dec 26 '09 at 20:37

Your Answer


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.