How do I shutdown or restart my Windows computer via command prompt?

by Friday, November 15, 2013 0 comments

How do I shutdown or restart my Windows computer via command prompt? 




Microsoft Windows offers several ways to shut down or restart your computer, one of which is via the command prompt. 
To access the command prompt window from Vista or Windows 7:
  1. Go to the Start menu
  2. Type cmd in the Search field
  3. Press Enter
On a Windows XP computer:
  1. Click the Start menu
  2. Choose Run
  3. Type cmd
  4. Press Enter
From an open command prompt window, you can type shutdownand then the option you wish to execute.
To shut down your computer type: shutdown /s
To restart your computer type: shutdown /r
To log off your computer type: shutdown /l
For a complete list of options type: shutdown /?

screen shot

Raja Aakash

Developer

Cras justo odio, dapibus ac facilisis in, egestas eget quam. Curabitur blandit tempus porttitor. Vivamus sagittis lacus vel augue laoreet rutrum faucibus dolor auctor.