If you want to turn off the monitor on Windows 10, you can do so using a desktop shortcut. You can use it in a single monitor or a dual monitor setup. You can create a shortcut and then set the keyboard shortcut.
Let’s assume that 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 the monitor using a keyboard shortcut
To turn off the monitor using a shortcut on Windows 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. In other words, you can turn off the monitor using a keyboard shortcut.
For that, right-click on the created shortcut, and select the Properties option. Following that, 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.
- Tags: Display