If you want to turn off the monitor on Windows 11/10, you can do so using a desktop shortcut. You can use it in a single-monitor or dual-monitor setup. You can create a shortcut and then set the keyboard shortcut.
Let’s assume you want to turn off the laptop screen when using an external monitor. There are several methods to do it. Using ScreenOff, you can turn off a laptop screen but keep it running. However, if you do not want to use third-party software and instead want to get the same result using a mouse click, use this trick.
How to turn off Monitor using a Keyboard Shortcut
To turn off the monitor using a shortcut on Windows 11/10, follow these steps-
- Right-click on the Desktop.
- Select New > Shortcut.
- Paste the requisite command in the empty box.
- Click the Next button.
- Name your shortcut.
- Click the Finish button.
- Double-click on the shortcut to turn off the monitor.
Let’s check out these steps in detail.
To get started, right-click on the Desktop and select New > Shortcut. It opens the Create Shortcut window on your screen. Copy the following command and paste it in the Type the location of the item box.
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)"
Click the Next button and enter the desired name of your shortcut. Then, click on the Finish button.
To use the shortcut to turn off your monitor, double-click on it. After doing that, you will see a Command Prompt window on your screen. It takes 1-2 seconds to perform the command to turn off the screen.
Once it is blacked out and you want to get back the light, a mouse click will do the job.
It is possible to set a keyboard combination to open this shortcut. Thus, you can turn off the monitor using a keyboard shortcut.
To do so, right-click on the created shortcut and select the Properties option. Then, enter a keyboard shortcut in the Shortcut key box.
Next, click the OK button to save the change.
After that, press the combination to turn off the monitor instantly.
That’s all!