How Can I Restart/Shutdown PC Using CMD Window?

If your taskbar has stopped working due to any glitch, then you might be worrying about shutting down your PC. If yes, then you don’t need to worry about this anymore since we have found a method which you can use to shut down your PC using CMD window.

So, let’s have a look at how you can restart/shutdown your PC using CMD window as follows:Shutdown PC Using CMD

How to Restart/Shutdown PC Using CMD Window?

In order to make it simple, we have divided the entire guide into subheadings that will make it easier for you to understand the entire guide. Let’s proceed further to know the step by step guide to restart/shutdown PC using CMD window:

1. Launch CMD Window on Your PC

The first and foremost step is to open CMD Window on your device. You can do so by just using the steps which we have provided as follows:

  • Turn on your PC.
  • Press both the Windows logo+R keys at the same time.
  • This will open the Run box on your device.
  • Now, type CMD in the search box and press enter.
  • This will launch the CMD window on your PC.

2. Command Line to Restart Your PC Using CMD Window

We have found a command line which you can use to restart your PC. All you have to do is enter the command line in the CMD window and you are done. It will restart your PC as soon as you enter it in the CMD Window.

Command Line: shutdown /r /t 0

Note: Don’t forget to enter space before each forward slash “/” icon. You also have to enter a space before the “0” letter.

Command Line Explanation:

Shutdown: To request shutdown of your PC.

/r: For restarting your PC

/t 0: Signifies the time period under which your PC should restart.

3. Command Line to Shutdown Your PC Using CMD Window

You can use the following Command line in the CMD window to shut down your PC using CMD window:

Command Line: shutdown /s /t 0

Note: Add space every time before a forward slash and space before the 0 letters.

Command Line Explanation:

Shutdown: To shut down the PC

/s: To request shut down of your PC

/t: signifies the time under which you want to restart your PC.

Final Words

That’s it! These were the command lines which you can use to restart/shutdown your PC in case your Taskbar stops working. I hope you found this guide useful. If you liked this guide, then do share it with your friends who are still finding the same information. Also, if you’ve any doubts, then let us know in the comment section below.