Are you a keyboard fan or do you simply need to put your computer to sleep and your mouse no longer works? Or are you asking yourself the following question: how to turn off a computer with the keyboard?
I have a solution for you. Indeed, know that Windows has always offered the possibility to turn off or put your computer to sleep with a simple keyboard shortcut !
5 keyboard shortcuts to manage your computer
So I will introduce you 5 shortcuts for Windows allowing you to log out, put your computer to sleep, hibernate, shut down or restart it!
Put your computer to sleep
- Press the key Windows + X
- Then on D
- and finally on V
How to Shut Down a Computer Using the Keyboard – Shut Down PC
- Press the key Windows + X
- Then on D
- and finally on A
Restart your computer
- Press the key Windows + X
- Then on D
- and finally on R
Log out of session
- Press the key Windows + X
- Then on D
- and finally on D
Put your computer into hibernation
- Press the key Windows + X
- Then on D
- and finally on M
Finally, if you prefer a shortcut to turn off the PC, you can see or re-see my tutorial explaining how to create a button to put your computer to sleep.
And otherwise, you use other shortcuts for win time on Windows? Feel free to let us know in the comments!
Article updated on May 7, 2025 by Byothe












Thanks for this article! The keyboard shortcuts are really handy, and I didn't know there were different options to shut down or put my PC to sleep. I'll try these tips right away!