Quick Google Search

Showing posts with label Shutdown Your Computer via Command Prompt. Show all posts
Showing posts with label Shutdown Your Computer via Command Prompt. Show all posts

Shutdown Your Computer via Command Prompt

Shutdown Your Computer via Command Prompt

Required
A computer running Windows (XP, Vista, 7 or  with the command prompt working perfectly, i.e. not disabled by a virus.

Initial Steps
1) Press Windows Key + R.
2) Enter CMD and press Enter.

This will start the command prompt. Follow the instructions below depending on what you want to do.

Shutdown Local Machine (Your Computer)
Type"shutdown -s"without the quotes in the command prompt and press Enter. Shutdown is the command being executed and the switch -s tells the computer to shutdown.

Restart your Local Computer
Type"shutdown -r"in the command prompt and press Enter. In this case, the command switch -r is telling the computer to restart after shutdown.

Log Off the Current User
Type"shutdown -l"in the command prompt and press Enter. The -l command switch tells the computer to log off.

Popular Posts