Maybe something is stopping the Start menu from working, or perhaps you find yourself on a screen where the Start menu isn't available. One of the scenarios where I use the command prompt to shut down Windows is when I'm in the initial setup phase for the operating system and don't want to complete it right away.
The shutdown command can turn off your PC on a timer. Credit: LifehackerUsing the command prompt
If you're completely new to the command prompt, it's the text-based interface hidden away in Windows, a remnant of the old days before computer operating systems had pointers and graphical user interfaces, and still useful for running a variety of low-level system operations.
PowerShell doesn't look too different to the command prompt at first glance. Credit: LifehackerYou can launch either the command prompt or PowerShell from the Start menu: Just type the first few letters of either utility into the search box at the top to find them. There are various other options too, like right-clicking on the Start menu button and choosing Terminal, or by typing "cmd" into the search box on the taskbar and hitting Enter.
Using the "shutdown" command
Type "shutdown /s" to trigger a standard shutdown
The most basic flags you'll need are "shutdown /s" and "shutdown /r" to power off and restart your computer, respectively. In both cases you'll see a dialog box on screen telling you what's happening, and the action is taken in less than a minute. These commands will initiate a normal shutdown process, so you'll be prompted to save any unsaved work in your open programs that usually do that.
This will restart Windows and launch the advanced boot options screen. Credit: LifehackerType "shutdown /r /o" to access advanced boot options
For troubleshooting purposes, the "shutdown /r /o" command is useful because it reboots your computer into the advanced boot options screen. That's the one that gives you access to features such as using a USB drive to recover your PC, running the built-in start-up repair utility, and rolling back recent updates to Windows. You can also get back to the command prompt from here without starting the operating system.
The shutdown command can also be used to stop a shutdown. Credit: LifehackerStop a shutdown with "shutdown /a"
One final one that you might find helpful: You can use "shutdown /a" to abort a shutdown that's currently underway (perhaps one that you've set on a timer). For a full rundown of all the ways you can use this command, including some advanced options for IT managers (such as remote shutdowns), check out the official Microsoft documentation.
Read More Details
Finally We wish PressBee provided you with enough information of ( When Nothing Else Works, Use the Command Prompt to Shut Down Windows )
Also on site :