Notification texts go here Contact Us Buy Now!

Shutdown or restart PC using Command Prompt

Microsoft Windows offers many ways to shut down or restart your computer, one of which you can do is a command prompt. For people who are pretty familiar with Windows or have used it for a while, the term "Command Prompt" is one that they frequently hear. This command-line interface is also known as CMD. By following you will know how to shut down or restart your computer via CMD.



Shutdown your PC using the Command Prompt


Start by pressing "Windows + R" to open the run window. From there, type "cmd" and select the "OK" button.


After selecting the "OK" button, the command prompt will open on your window. From there, type shutdown /s.



Once you press enter a pop-up message will come letting you know that your windows will shut down in less than a minute.

Restart your PC using the Command Prompt


Start by pressing "Windows + R" to open the run window. From there, type "cmd" and select the "OK" button.


After selecting the "OK" button, the command prompt will open on your window. From there, type shutdown /r to restart your windows.


Once you press enter, it will restart your windows in a couple of minutes.

There are many different ways to shut down Windows using Command Prompt. To get the full list of shutting down options type shutdown /? in the command prompt and press enter. A complete list will be on your display.


Thank you, have a great day! Happy coding!

About the Author

I'm Kaushal, born at 24th of October and currently live in India. I'm some hobby Software Engineer. I'm male and my pronouns are He/Him.

1 comment

  1. nice content
Cookie Consent
We serve cookies on this site to analyze traffic, remember your preferences, and optimize your experience.
Oops!
It seems there is something wrong with your internet connection. Please connect to the internet and start browsing again.
AdBlock Detected!
We have detected that you are using adblocking plugin in your browser.
The revenue we earn by the advertisements is used to manage this website, we request you to whitelist our website in your adblocking plugin.
Site is Blocked
Sorry! This site is not available in your country.