Required
A computer running Windows (XP, Vista, 7 or 8) 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...