How to shutdown or sleep PC using keyboard shortcut on Windows 10

During the process of using Windows 10, we will inevitably avoid the situation of not using the mouse, or simply wanting to use the keyboard to shutdown or put the device to sleep. The following article will give you a few ways to do this job quickly and simply. 

Windows 10

Get Windows 10

Use keyboard shortcuts in the Start menu

This is the easiest and easiest way to shut down or put your computer to sleep. 

Press Windows logo key + X on your keyboard to open the Power User Menu. Here, you can see the underlined characters in each line, which are the keys for users to quickly access that function without pressing the mouse. To Shut down or Sleep, we will press the U key to make the menu go to the Shutdown or sign out line then:

Press the S key  to enter sleep mode.

Press the U key  to shutdown (Shutdown). 

Windows + X

Use Alt + F4 mode

Most users know that pressing Alt + F4 will close the current window, just like clicking the X button in the upper right corner. However, if you are on the desktop and are not using any windows, this key combination will direct the user to the Windows Shutdown dialog box. In this dialog box, you can use the arrow keys to select Sleep or Shutdown mode from the drop-down menu, and then press the Enter key. 

Tip: To quickly go to the Desktop, press the Windows logo key + D combination on your keyboard. 

Shutdown Windows

Create your own keyboard shortcut

This is a more complicated way than the two above, but the advantage of it is that it only needs to do the settings once. From the next time, you just need to press the installed key combination to turn off or switch to sleep mode for PC. 

The first step is to right-click on an empty area on the Desktop (desktop) and select New -> Shortcut

Shortcut

In the Create Shortcut dialog box, enter one of the following two lines in the Type the location of the item box and click  Next

To turn off the computer: 

shutdown.exe -s -t 00 -f

To enter sleep mode:

rundll32.exe powrprof.dll, SetSuspendState 0,1,0

Enter an order in the box

Name the shortcut file you just created, then click Finish

finish

Next, right-click on the shortcut file just created on the desktop and select  Properties . In the dialog box that appears, find the Shortcut key line and enter a character you want in the box to place the shortcut key combination. This key combination will have the default form Ctrl + Alt + * (* is the key you set). 

Properties

Click OK to save the settings. From now on, as long as you press the keyboard shortcut you set, you will run the shortcut file -> execute the file's command to shutdown or sleep. Very simple and fast, isn't it? 

I wish you all success!

Leave a Comment

Microsoft details Bluetooth LE Audio requirements and support for Windows 11, 10

Microsoft details Bluetooth LE Audio requirements and support for Windows 11, 10

Microsoft introduced Bluetooth LE (low energy) Audio support with Windows 11 22H2 KB5026446 (build 22621.1778), also known as Moment 3, in May 2023.

How to Change the Default User Account Avatar in Windows

How to Change the Default User Account Avatar in Windows

Changing your avatar on Windows 10 to your own photo, or a completely new style, will help you distinguish between user accounts on your computer.

Windows 11 Market Share Is Quickly Catching Up to Windows 10

Windows 11 Market Share Is Quickly Catching Up to Windows 10

The October 2024 report provides an overview of Windows 11's market share compared to other versions of Windows.

How to enable or disable Secure Sign-In on Windows 10, Windows 11

How to enable or disable Secure Sign-In on Windows 10, Windows 11

Windows is the most targeted operating system by hackers. Therefore, you should strengthen your PC's defenses to stay safe both online and offline. This article will guide you on how to enable or disable Secure Sign-In in Windows 10.

How to add a printer to Windows 10

How to add a printer to Windows 10

Adding a printer to Windows 10 is simple, although the process for wired devices will be different than for wireless devices.

The methods and customizations in this article will help speed up your Windows 10 like the wind.

The methods and customizations in this article will help speed up your Windows 10 like the wind.

Do you want to speed up Windows 10, improve Windows 10 speed or speed up Windows 10 startup? All ways to speed up Windows 10 are in this article, please read and apply to make your Windows 10 computer run faster!

15 Diagnostic Tools to Check the Health of Your Windows PC

15 Diagnostic Tools to Check the Health of Your Windows PC

Whether you're new to Windows or a veteran, your system will eventually run into problems that aren't easy to diagnose. Before calling tech support, there are a number of PC diagnostic tools you can try.

How to Use Clipboard History in Windows 10

How to Use Clipboard History in Windows 10

Windows clipboard history got a major overhaul with the Windows 10 October update.

Microsoft is bringing annoying Windows 11 Start menu ads to Windows 10

Microsoft is bringing annoying Windows 11 Start menu ads to Windows 10

Microsoft continues to announce plans to add new features to Windows 10, despite the fact that the operating system will inevitably die in October 2025.

Why do so many people downgrade from Windows 11 to Windows 10?

Why do so many people downgrade from Windows 11 to Windows 10?

Although Microsoft promotes Windows 11 as the future of computing, many people have recently downgraded to Windows 10 on their main PCs. Here's why it might actually be worth it to go back to an older operating system.

How to install free HEVC codecs on Windows 10 (for H.265 video)

How to install free HEVC codecs on Windows 10 (for H.265 video)

Microsoft charges for its official codecs and doesn't include them in Windows 10. However, you can get them for free without pulling out your credit card and spending $0.99.

How to hide the Taskbar on Windows 10 extremely easy

How to hide the Taskbar on Windows 10 extremely easy

When you move the mouse to the Taskbar, it displays all the functions as default when you have not set it up, but if you move the mouse elsewhere, the Taskbar will automatically hide.

How to download and update Bluetooth driver for Windows 10

How to download and update Bluetooth driver for Windows 10

Bluetooth makes our life smarter and more convenient, to avoid possible Bluetooth problems in Windows 10, such as Bluetooth not available, users should download and update Bluetooth driver for Windows 10 regularly.

How to Make Windows 11 Look Like Windows 10

How to Make Windows 11 Look Like Windows 10

If you miss the familiar look and feel of Windows 10, you can restore the Start menu, taskbar, and other familiar elements with a few simple tweaks.

6 Ways to Open Computer/System Properties in Windows 10

6 Ways to Open Computer/System Properties in Windows 10

You can use one of the following 6 methods to open Computer Properties (or System Properties) on Windows 10.

Troubleshooting Microsoft Edge Youtube Black Screen 2026

Troubleshooting Microsoft Edge Youtube Black Screen 2026

Struggling with YouTube black screen on Microsoft Edge in 2026? Discover proven, step-by-step troubleshooting fixes to restore smooth video playback instantly. Quick solutions that work!

Troubleshooting Microsoft Edge Sidebar Not Opening Glitch

Troubleshooting Microsoft Edge Sidebar Not Opening Glitch

Tired of Microsoft Edge sidebar not opening glitch? Discover quick, effective troubleshooting steps to restore your sidebar instantly. Step-by-step guide with latest fixes for seamless browsing.

How to Fix Microsoft Edge Firewall Blocking Games Fix

How to Fix Microsoft Edge Firewall Blocking Games Fix

Tired of Microsoft Edge "Firewall" blocking your games? Discover proven, step-by-step fixes to unblock games quickly. Get back to seamless gaming with our ultimate guide – no tech skills needed!

Why is Microsoft Edge Better than Chrome in 2026?

Why is Microsoft Edge Better than Chrome in 2026?

Unlock why Microsoft Edge surpasses Chrome in 2026 with blazing speed, unbeatable battery life, AI power, and ironclad privacy. Discover game-changing features that make Edge the smartest switch for power users.

How to Fix PDF Preview Handler Errors in Microsoft Edge

How to Fix PDF Preview Handler Errors in Microsoft Edge

Struggling with PDF Preview Handler Errors in Microsoft Edge? Discover step-by-step fixes to restore seamless PDF previews in File Explorer. Quick troubleshooting, registry tweaks, and prevention tips for the latest Edge versions. Get it fixed now!

How to Manage Microsoft Edge Multiple Profiles and Sync

How to Manage Microsoft Edge Multiple Profiles and Sync

Discover how to effortlessly manage Microsoft Edge multiple profiles and sync across devices. Create, switch, sync favorites, passwords, and more for personalized browsing without hassle.

Solving Microsoft Edge Hsts Attack Warning Fix (2026)

Solving Microsoft Edge Hsts Attack Warning Fix (2026)

Struggling with Microsoft Edge HSTS Attack Warning? Get the ultimate 2026 fixes with step-by-step guides to resolve this frustrating security alert fast. Clear cache, reset settings, and stay secure!

Solving Microsoft Edge Core Isolation Not Turning On

Solving Microsoft Edge Core Isolation Not Turning On

Struggling with Microsoft Edge Core Isolation not turning on? Discover step-by-step fixes for Core Isolation issues, including BIOS tweaks, driver updates, and Windows repairs to boost your security instantly.

Troubleshooting Game Bar Party Chat Audio Not Working

Troubleshooting Game Bar Party Chat Audio Not Working

Struggling with Game Bar Party Chat audio not working? Discover step-by-step troubleshooting for Xbox Game Bar voice chat issues. Quick fixes for no sound, mic problems, and more on Windows. Get back to gaming!

How to Fix Microsoft Edge Update Error 0x80073712

How to Fix Microsoft Edge Update Error 0x80073712

Struggling with Microsoft Edge Update Error 0x80073712? Discover step-by-step fixes like SFC scan, DISM repair, and Edge reset to resolve it fast. No tech skills needed!

Solving Microsoft Edge Private Connection Warnings

Solving Microsoft Edge Private Connection Warnings

Tired of Microsoft Edge "Private Connection" warnings blocking your browsing? Get step-by-step solutions to solve Microsoft Edge Private Connection errors fast. Secure, updated fixes for seamless surfing.

How to Fix Microsoft Edge Result_Code_Hung Error

How to Fix Microsoft Edge Result_Code_Hung Error

Struggling with Microsoft Edge "Result_Code_Hung" Error? Discover proven, step-by-step fixes to resolve hangs and crashes instantly. Get smooth browsing back today!

How to Delete Microsoft Edge History, Cache, and Cookies Completely

How to Delete Microsoft Edge History, Cache, and Cookies Completely

Learn how to delete Microsoft Edge history, cache, and cookies completely with this step-by-step guide. Clear your browsing data fast and securely in the latest Edge version for ultimate privacy.

Solving Edge Browser Profile Error on Every Launch

Solving Edge Browser Profile Error on Every Launch

Tired of the frustrating Edge Browser "Profile Error" popping up every launch? Follow our step-by-step guide to solving Edge Browser "Profile Error" permanently with quick, reliable fixes for the latest versions. No tech skills needed!

Solving Microsoft Edge Precision Driver Compatibility

Solving Microsoft Edge Precision Driver Compatibility

Tired of Microsoft Edge Precision Driver compatibility glitches? Get step-by-step solutions to restore smooth performance, fix lag, and optimize your setup. Proven fixes for the latest Edge versions.