Restarting your computer is a common troubleshooting technique that can help resolve various issues and ensure optimal performance. While many people are familiar with restarting using traditional methods, such as the Start menu or the power button, we tested several other keyboard shortcuts that allow you to restart a computer with a keyboard. Besides, read our guide on shutting down laptop from the keyboard if you want to power off the system instead of restarting it.

Key Takeaways 

  • Knowing how to restart your computer with a keyboard is useful when your mouse or touchpad isn’t working.  
  • You can restart your computer using shortcuts such as Alt + F4, Ctrl + Alt + Del, Win + X, and more.  
  • You can also restart your computer using the Run Prompt, Command Prompt and by creating a .bat file.  

Before discussing more complex methods, try using these simple ones:

  • Using the Start menu: Press the “Win” key and restart your PC using the arrow keys.
  • Using the Power button: Push the “Power” button until your PC shuts down. Then press it again to restart the PC.
WARNING: We do not recommend force shutting the system with the Power button. Doing it often can affect your computer’s health.

Ctrl + Alt + Del Keys

We followed these steps to bring up the Task Manager:

  1. Push the Ctrl, Alt, And Del Keys simultaneously > Use arrow keys to navigate to the power icon > Enter. 
  2. Go to Restart with arrows >  Press Enter. 
Important: Make sure to save any unsaved work to avoid losing progress.

Alt + F4 Keys

This method worked for us: 

  1. Ensure that no applications or windows are selected. 
  2. Press and hold the Alt Key > Press F4. 
  3. A shutdown dialog box will appear > Use the arrow keys to select Restart > Enter. 

Win + L Keys

Refer to the steps below for the process:

  1. Hold Windows Key > Press to access the lockscreen.
  2. Press Enter for the login screen. 
  3. Use the arrow keys to navigate to the power icon > Hit Enter > Select Restart > Enter.

Win + X Keys

Take note of the following method:

  1. Hold the Windows and X Keys.  
  2. Navigate to Shutdown Or Sign Out > Press Enter > Pick Restart. 

Win + D Keys 

Here are the instructions you can resort to:

  1. Hold Windows Key > Then press D Key to minimize all open windows. 
  2. Simultaneously press Alt Key and F4 > Use arrows to select Restart > Enter. 
  3. Type shutdown -r > Enter. 
Important: Ensure to add the correct spaces while writing the code, as stated above.

Ctrl + Alt + End Keys

Proceed with the steps given:

  1. If you’re using a remote desktop connection, press Ctrl, Alt, and End Keys simultaneously.  
  2. Move to Restart > Enter. 

Alt + Space + C Keys

Use these steps as it is for the method to succeed:

  1. If you have an open window, hold the Alt and Space Keys. 
  2. Head to Close > Enter. 
  3. This will close the active window, and the computer will automatically restart if all windows are closed. 

Using Task Manager

We performed it on our Windows, and it proved helpful:

  1. Press Ctrl, Shift, and Esc altogether. 
  2. In Task Manager > Click on File > Select Run New Task > Enter.

    Using task manager for how to restart computer with keyboard
    Task Manager (Image by Tech4Gamers)
  3.  Type shutdown -r to perform a restart.

Creating A .bat File 

This is how you do it:

  1. Open a text editor such as Notepad > Type the command: shutdown -r. 

    Typing the command for how to restart computer with keyboard
    Typing The Command (Image by Tech4Gamers)
  2. Save the file with a .bat extension, for example, restart.bat. 

    Saving the file correct name
    Saving The File (Image by Tech4Gamers)
  3. Locate the saved .bat file > Open it to execute the command and initiate a restart of your computer. 

Using Command Prompt 

We tried running this code, and it was effective: 

  1. Press Win + R to open the Run dialog box > Type cmd > Enter.
  2. In the Command Prompt window, type shutdown -r > Enter.  
WARNING: Enter the code correctly since executing the wrong code in the Command Prompt can damage the OS.

Using Run Prompt  

Refer to these quick steps that were handy for us:

  1. Access the Run dialog box > Type shutdown -r > Press Enter. 

    Enter code in Run prompt
    Run Prompt (Image by Tech4Gamers)

Frequently Asked Questions

Can I Use These Keyboard Shortcuts To Restart My Computer On Any Operating System?

The keyboard shortcuts provided in this guide are only for Windows operating systems. 

Is It Necessary To Save My Work Before Restarting The Computer?

It is highly recommended to save any unsaved work and close any important applications before initiating a restart.

Are There Any Risks Associated With Using Command Prompt Or Executing .bat Files To Restart My Computer?

While using Command Prompt and executing .bat files are legitimate methods to restart your computer, exercising caution and entering commands accurately is important. Incorrectly executing commands in Command Prompt or running malicious .bat files can potentially cause harm to your system.


Related Articles:

Was our article helpful? 👨‍💻

Thank you! Please share your positive feedback. 🔋

How could we improve this post? Please Help us. 😔

Arsalan Shakil
[How-To Guides Expert] Laiba, our tech guru at HI Digital, simplifies and crafts How-To Guides with a Google IT Support Certificate. Beyond tech, she captures the city's aesthetics through her lens. Join her journey where tech meets creativity! Get In Touch: Laiba@hidgt.com Google IT Certificate Shehryar Khan