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

Is there a way to restart a virtual machine running under Windows 7 Virtual PC from a command line? Basically, i want to do a soft restart, same thing the clicking on Ctrl+Alt+Del button achieves.

share|improve this question
up vote 9 down vote accepted

You need the shutdown command, something like

shutdown /r /m \\ComputerName


shutdown /?

at the command prompt for a full list of options.

(It may be that you are working in the virtual machine and want to do CTRL-Alt-DEL, but the host is capturing the keypresses, and you are trying to get round this behaviour in a fancy way. You can use the Right ALT key with DEL.)

share|improve this answer
The shutdown command is, of course, not specific to VMs. – Richard May 24 '10 at 7:56

shutdown /i

Will give you a GUI where you can add multiple remote machines to reboot.

For syntax and information see the Microsoft article Restart or Shut Down a Remote Computer and Document the Reason

  1. Type shutdown /i to display the Remote Shutdown dialog box (Shutdown.exe).
  2. Under Computers, click Add to enter computer names, or click Browse to open the Find Computers dialog box.
  3. Under What do you want these computers to do, click Restart or Shut down.
share|improve this answer
Add if you dont remember the name of the computer – Rajeshwar Dec 23 '14 at 21:33

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.