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

Updated June 2024: Stop getting error messages and slow down your system with our optimization tool. Get it now at this link
  1. Download and install the repair tool here.
  2. Let it scan your computer.
  3. The tool will then repair your computer.

Stop options from command prompt

June 2024 Update:

You can now prevent PC problems by using this tool, such as protecting you against file loss and malware. Additionally it is a great way to optimize your computer for maximum performance. The program fixes common errors that might occur on Windows systems with ease - no need for hours of troubleshooting when you have the perfect solution at your fingertips:

  • 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 !

Expert Tip: This repair tool scans the repositories and replaces corrupt or missing files if none of these methods have worked. It works well in most cases where the problem is due to system corruption. This tool will also optimize your system to maximize performance. It can be downloaded by Clicking Here

Related Video