PDF download Download Article PDF download Download Article

This wikiHow teaches you how to restart a Windows PC by typing commands at the command prompt.

Things You Should Know

  • Press the Windows key + "S" to open the search bar. Type in "cmd".
  • Right-click the Command Prompt and click "Run as administrator".
  • Type "shutdown /r" and press "Enter". Click "Close" to shut down.
  1. This opens the Windows Search bar.
  2. A list of search results will appear.
    Advertisement
  3. It's at the top of the list.
  4. The command prompt will appear inside a terminal window.
  5. A confirmation message will appear.
  6. Windows will now shut down and restart.
  7. Advertisement


Expert Q&A

Ask a Question
200 characters left
Include your email address to get a message when this question is answered.
Submit
Advertisement

Video

Tips

Submit a Tip
All tip submissions are carefully reviewed before being published
Name
Please provide your name and last initial
Thanks for submitting a tip for review!

You Might Also Like

Change Directories in Command Prompt Navigate to a Different Folder in the Command Prompt
Format a USB Using Cmd Format a USB Using CMD (Command Prompt)
Change a Computer Password Using Command Prompt Change a Windows Password Using Command Prompt
Use Windows Command Prompt to Run a Python FileUse Windows Command Prompt to Run a Python File
Run a Batch File from the Command Line on Windows Run a Windows Batch File from the Command Line (CMD)
Open a Folder in Cmd Open a Folder in Command Prompt (CMD)
Add Users from CMDAdd Users from CMD
Open Command Prompt with a Keyboard Shortcut (Windows 8, 8.1, and 10)3 Ways to Open Command Prompt with Keyboard on Windows
Open the Command Prompt in Windows5 Simple Ways to Open the Command Prompt in Windows
Watch Star Wars on Command Prompt Watch Star Wars via Telnet: Windows CMD & Mac Terminal
Copy Files in Command PromptCopy Files in Command Prompt
Use Net SendUse Net Send
Merge Text (.Txt) Files in Command Prompt Merge Multiple Text Files in Command Prompt, Notepad, & More
Change the Computer Time and Date Using the Command PromptChange the Computer Time and Date Using the Command Prompt
Advertisement

About This Article

Nicole Levine, MFA
Written by:
wikiHow Technology Writer
This article was co-authored by wikiHow staff writer, Nicole Levine, MFA. Nicole Levine is a Technology Writer and Editor for wikiHow. She has more than 20 years of experience creating technical documentation and leading support teams at major web hosting and software companies. Nicole also holds an MFA in Creative Writing from Portland State University and teaches composition, fiction-writing, and zine-making at various institutions. This article has been viewed 279,564 times.
How helpful is this?
Co-authors: 6
Updated: September 7, 2024
Views: 279,564
Categories: Command Prompt
Thanks to all authors for creating a page that has been read 279,564 times.

Is this article up to date?

Advertisement