How To Restart Using CMD - Simple And To The Point

The Windows Command Prompt also known as cmd is a Windows command line interpreter.

You may just know it as the little black box, like the one pictured below:

Command Prompt Example

Today's computers have a rich Graphical User Interface (GUI) with icons galore and to be honest, you will probably rarely need to use cmd.

However, what if your Windows system freezes?

Or what if for some reason you are unable to restart your computer and you need to use the command line?

Well, in that case, just follow these simple steps:

  1. In Windows 10, in the bottom left of your screen where it says, "Type to Search", type: cmd.  Or right-click start, select "run" and type "run" into the dialog box and hit OK

  2. You will get the box above. Next to C:\Users\info>, type: shutdown

  3. A long series of options will appear typed out - think of these like a drop-down menu as if you were using a GUI

    Command Prompt Shutdown Options

  4. You can access a whole host of options here. /l lets you log off, /r restarts your computer and /h puts your computer into hibernate

  5. But for now, we just want to shutdown your computer safely (instead of holding down the power button) we can scroll down and type: shutdown /s

  6. Your computer will now shutdown safely

So that's all there is to it really. One thing I like to do is use this command in a batch file so I'm only ever one click away from restarting my laptop.

Why don't you have a go too?

Check these out too:

Bonkers About Tech is a participant in the Amazon Services LLC Associates Program, an affiliate advertising program designed to provide a means for sites to earn advertising fees by advertising and linking to and affiliated sites. Bonkers About Tech also participates in affiliate programs with Bluehost, CJ, Rakuten Marketing and other sites. Bonkers About Tech is compensated for referring traffic and business to these companies.