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 Mica Effect Not Working

Troubleshooting Microsoft Edge Mica Effect Not Working

Troubleshooting Microsoft Edge "Mica Effect" not working? Discover step-by-step fixes to enable beautiful Mica transparency in Edge on Windows 11. Quick, easy solutions that work!

Troubleshooting Microsoft Edge Extensions Not Working

Troubleshooting Microsoft Edge Extensions Not Working

Microsoft Edge extensions not working? Discover proven troubleshooting steps to fix crashes, loading issues, and more. Get your browser extensions running smoothly today with our expert guide.

How to Disable Microsoft Edge Sidebar and Notifications

How to Disable Microsoft Edge Sidebar and Notifications

Struggling with annoying Microsoft Edge sidebar and notifications? Discover simple, step-by-step methods to disable Microsoft Edge sidebar and notifications for good. Enjoy a cleaner, faster browsing experience today!

Troubleshooting Microsoft Edge BitLocker Recovery Key

Troubleshooting Microsoft Edge BitLocker Recovery Key

Facing BitLocker Recovery Key issues in Microsoft Edge? This step-by-step troubleshooting guide fixes common errors fast. Retrieve your key securely from your Microsoft account without stress. Updated with latest tips!

Solving Microsoft Edge Ssl Version or Cipher Mismatch

Solving Microsoft Edge Ssl Version or Cipher Mismatch

Tired of the frustrating Microsoft Edge "SSL Version or Cipher Mismatch" error blocking your sites? Discover step-by-step fixes, from quick resets to advanced tweaks, that work on the latest Edge versions. Get back online in minutes!

Solving Microsoft Edge Certificate Error on Public Wi-Fi

Solving Microsoft Edge Certificate Error on Public Wi-Fi

Tired of Microsoft Edge Certificate Error blocking you on public Wi-Fi? Get step-by-step fixes to bypass SSL warnings safely and surf securely. Proven methods for quick resolution.

Troubleshooting Microsoft Edge 400 Bad Request Header Error

Troubleshooting Microsoft Edge 400 Bad Request Header Error

Struggling with Microsoft Edge "400 Bad Request" Header Error? Discover proven, step-by-step fixes to resolve this frustrating issue quickly. Clear cache, reset settings, and more for smooth browsing. Updated with latest Edge tips!

Solving Microsoft Edge Security Center Missing Fix

Solving Microsoft Edge Security Center Missing Fix

Tired of Microsoft Edge Security Center missing? Discover step-by-step fixes to restore it instantly on Windows. Quick, reliable solutions for ultimate browser security. Works on latest Edge builds!

Troubleshooting Microsoft Edge Windows Sandbox Error

Troubleshooting Microsoft Edge Windows Sandbox Error

Stuck with Microsoft Edge "Windows Sandbox" Error? Discover step-by-step troubleshooting fixes to resolve it quickly. Enable features, update settings, and restore seamless browsing today!

How to Fix Microsoft Edge WebDAV Drive Mapping Error

How to Fix Microsoft Edge WebDAV Drive Mapping Error

Tired of the frustrating Microsoft Edge WebDAV drive mapping error? Follow our step-by-step fixes to map your WebDAV drives effortlessly and regain seamless access. Proven solutions for instant results!

Solving Microsoft Edge Script Error on High-Traffic Websites

Solving Microsoft Edge Script Error on High-Traffic Websites

Tired of Microsoft Edge "Script Error" crashing your browsing on high-traffic websites? Get step-by-step fixes, causes, and prevention tips for seamless performance on busy sites like social media and news portals.

Solving Microsoft Edge Server Error In / Application

Solving Microsoft Edge Server Error In / Application

Tired of the frustrating Microsoft Edge "Server Error In / Application"? Get proven, step-by-step solutions to fix it fast. No tech skills needed – restore smooth browsing today!

How to Fix Microsoft Edge Ultimate Performance Plan Fix

How to Fix Microsoft Edge Ultimate Performance Plan Fix

Struggling with slow Microsoft Edge? Discover proven steps to fix the Ultimate Performance power plan issue. Boost browsing speed, reduce lag, and unlock peak performance effortlessly. Step-by-step guide for Windows users.

How to Fix Microsoft Edge Untitled Error on Every Launch

How to Fix Microsoft Edge Untitled Error on Every Launch

Tired of the frustrating Microsoft Edge "Untitled Error" popping up every launch? Follow our step-by-step fixes, from quick resets to advanced repairs, to restore smooth browsing in minutes.

Troubleshooting Microsoft Edge Error Code STATUS_STACK_OVERFLOW

Troubleshooting Microsoft Edge Error Code STATUS_STACK_OVERFLOW

Struggling with Microsoft Edge Error Code STATUS_STACK_OVERFLOW? Discover step-by-step troubleshooting fixes to resolve stack overflow crashes fast. Updated for latest Edge versions – no tech skills needed!