How to Create a Shortcut to turn off display at Once in Windows 10 / 11

Sometimes we let the programs or applications run while being away from our system. Hence it might be nice if the display screen is turned off without locking the computer. There might be many other software or app which can turn off the display. but there is a simple solution to make a shortcut on the desktop that turns of the screen without putting laptop in sleep mode. Lets find out how to do it. This article will guide you in a simply steps how to achieve it.

Method: How to turn the screen off by shortcut in Windows

Step 1: Go to desktop. Right-click on desktop background.

Select “New” and click “Shortcut“.

 



Update

 

Step 2: Type  the below command in the location field and click Next.

powershell.exe -Command "(Add-Type '[DllImport(\"user32.dll\")]public static extern int SendMessage(int hWnd,int hMsg,int wParam,int lParam);' -Name a -Pas)::SendMessage(-1,0x0112,0xF170,2)"

 

Step1

 

Step 3: Name this shortcut a suitable one like “turn off display”.

Click finish.

Step1

 

Step 4: Now you will see the shortcut icon on desktop like shown below.

 

Step1

 

If you double-click on this shortcut, you will be able to see the screen getting turned off without sleep mode.

Step 6: If you want to add shortcut key to turn off display, Right click on shortcut from desktop.

Click on Properties.

Step5

 

Click on Shortcut key field. and Press the key which you want to use as shortcut.



For Eg: I have pressed the key “o” and click “OK“.

Update

This is how you turn off the display by using shortcuts without using any desktop application.

Hope this article you find interesting and helpful!

Thank you.





17 thoughts on “How to Create a Shortcut to turn off display at Once in Windows 10 / 11”

  1. Hello. I need a program that can turn off the screen while using the mouse and keyboard with a screen reader.
    It is useless for me to turn off the screen if it is going to turn on by pressing any key or touching the mouse.
    For those who didn’t understand, yes, I use the computer with the screen off using NVDA which is a screen reader, but I want the screen to stay off while using it and this is for privacy reasons.

  2. It’s really working and impressive. Thanks to provide these types of shortcuts. Helpful.

  3. Thank you, it’s very easy and useful. I have searched for it in many places and thank Gods so much for finding it here.

  4. thank you for posting. the screen does turn off. however; it turns right back on right after without me pressing any key or moving the mouse. any fix?

Comments are closed.