Here’s how you might shut down a PC via CMD!

It is a command-line interpreter that interacts with the user through a command-line interface.

Command Prompt could be very useful if you know the commands.

Open RUN Dialog Box

We have shared a detailed guide on200+ CMD commands for Windows 10to carry out different things.

So, lets check out how to shut down Windows 10 computers using the Command Prompt.

Step 1.First of all, pressWindows Key + Rto kick off the RUN dialog box.

Type in CMD and press Enter

Step 2.On the RUN dialog box, enterCMDand press the enter button.

Step 3.Now on the command prompt, you oughta enter’shutdown /s'.

This will shut down your PC in a minute.

Enter shutdown /s To Shut Down PC

This will list out all options.

Depending on your needs, you’ve got the option to execute the commands on the command prompt.

Justadd the codes after the prefixshutdown like shutdown /sg, shutdown /g, etc.

Enter shutdown /r To Restart PC

Display help./i Display the graphical user interface (GUI)./l Log off.

This cannot be used with /m or /d options./s Shutdown the computer./sg Shutdown the computer.

After sign in, restart any registered applications.

Enter shutdown /? To View the options

/r Full shutdown and restart the computer./g Full shutdown and restart the computer.

After sign in, restart any registered applications.

/a Abort a system shutdown.

How to Hide Apps in Realme Phones

This can only be used during the time-out period.

Combine with /fw to clear any pending boots to the firmware.

/p Turn off the local computer with no time-out or warning.

Fix Google Chrome Not Saving Password

It can be used with /d and /f options.

/h Hibernate the local computer.

It can be used with the /f option.

How To Fix Mobile Hotspot Connected but No Internet on Android

/hybrid Performs a shutdown of the computer and prepares it for a fast startup.

Must be used with /s option.

/fw Combine with a shutdown option to cause the next boot to go to the firmware user interface.

Must be used with /r option.

/m \computer Specify the target computer/t xxx Set the time-out period before shutdown to xxx seconds.

The valid range is 0-315360000 (10 years), with a default of 30.

If the time-out period is greater than 0, the /f parameter is implied.

/c comment Comment on the reason for the restart or shutdown.

A maximum of 512 characters allowed.

/f Force running applications to close without forewarning users.

The /f parameter is implied when a value greater than 0 is specified for the /t parameter.

/d [p|u]xx:yy Provide the reason for the restart or shutdown.

p indicates that the restart or shutdown is planned.

u indicates that the reason is user-defined.

xx is the major reason number (positive integer less than 256).

If you have any doubts related to this, let us know in the comment box below.

I hope this article helped you!

Share it with your friends also.

How to Hide Apps in Realme Phones

Google Chrome Not Saving Password?

8 Ways to Fix it

How To Fix Mobile Hotspot Connected but No Internet on Android