Shutdown options under Windows 10/8/7 from the command prompt

RECOMMENDED: Click here to fix Windows errors and optimize system performance

Stop options from command prompt

September 2020 Update:

We now recommend using this tool for your error. Additionally, this tool fixes common computer errors, protects you against file loss, malware, hardware failures and optimizes your PC for maximum performance. You can fix your PC problems quickly and prevent others from happening with this software:

  • Step 1 : Download PC Repair & Optimizer Tool (Windows 10, 8, 7, XP, Vista – Microsoft Gold Certified).
  • Step 2 : Click “Start Scan” to find Windows registry issues that could be causing PC problems.
  • Step 3 : Click “Repair All” to fix all issues.


To view all stop options available in Windows, type /span>/ and press Enter.

Here are listed the available switches and stop options.

For example :

To turn off the PC type : Off / s

To restart your PC : Stop / r

Your PC type : Stop / l

The list of stop options includes :

This corresponds to the entry of / ?.
/ ? Display Help This is the same as if you do not enter any options.
This must be the first option.
Close the session. This cannot be used with /m or /d options.
Turn off the computer.
Stopping and restarting the computer.
Complete computer shutdown and restart. After rebooting the system, restart all registered applications.
Cancel a system shutdown. This function can only be used during the delay period.
Turn off the local computer without waiting time or warning. Can be used with /d and /f options.
Can be used with the /f option.
Must be used with option /s.
Document the reason for the unexpected computer shutdown.
Go to the’Advanced Boot Options’ menu and restart the computer.
The valid range is 0-315360000 (10 years), with a default of 30
characters maximum of 512 characters.

Specify the reason for restart or shutdown.

You can see all the details in the command prompt.

Microsoft has introduced in Windows 8 a new way to start your computer, called Fast Startup. Using this file at startup brings a considerable time advantage at startup. To reset Windows 8/10, you must force a complete stop . Windows 8/10 also offers new CMD switches for shutdown.exe look at them !

RECOMMENDED: Click here to troubleshoot Windows errors and optimize system performance

Related Video