How to Turn Off Monitor Display on Windows 11/10/8/7 through a Shortcut?

You will see Sleep, Shut down, and Restart options if you click on the Power button. There is no option on the power button to turn off the monitor display. If you leave your computer or laptop running for a while, it will go into sleep mode, depending upon the configuration. After moving the mouse cursor for a few seconds or pressing the keyboard buttons, it will awake from sleep mode.

Power-OptionsTurning off the monitor display is possible by creating a desktop shortcut on Windows 11/10/8/7. This risewindows article will guide you on creating a desktop shortcut to turn off the monitor on Windows 11/10/8/7 without using third-party software.

How to Create a Shortcut to Turn Off the Monitor?

Implement the following actions to create a shortcut to turn off the monitor display on Windows 11/10/8/7:-

Step 1. First, right-click on the empty area of the desktop and select the New then Shortcut option.

New-ShortcutStep 2. Now, create Shortcut wizard opens. Copy and paste the following command into the location area, and then click on the Next button.

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)"

Step 3. After that, type a meaningful name (like Turn off monitor) in the box labeled with “Type a name for this shortcut,” and click on the Finish button.

Turn-off-monitorStep 4. Now, you can see a new shortcut with the name you have typed in the above step.

Turn-off-monitor-shortcutStep 5. Then, double-click the new shortcut on your desktop to turn off the monitor immediately without putting your computer to sleep.

Move the mouse cursor or tap the keyboard (or press the Power button for 1 second) to turn on the monitor; your monitor will immediately turn on.

Step 6. Next, right-click on the newly-created desktop shortcut and select Properties if you want to use a keyboard shortcut to turn off the monitor.

Turn-off-monitor-properties-1Step 7. Now, switch to the Shortcut tab.

Shortcut-tabStep 8. After that, place the cursor inside the Shortcut key box.

Turn-off-monitor-PropertiesStep 9. Then, press any key from “A” to “Z” to assign a shortcut key when the cursor is inside the Shortcut key.

Shortcut-key-assignedWe have pressed the D key from the keyboard, and the window has assigned Ctrl + Alt + D shortcut key. Finally, click on the Apply and then Ok button.

Next, pressing the Ctrl + Alt + D hotkey can be used to turn on the monitor.

Step 10. After that, drag the shortcut icon to the free area on the Taskbar if you want to quickly access the Turnoff monitor shortcut from the Taskbar of Windows.

Turn-off-monitor-in-TaskbarClicking on the Turn off monitor icon from the Taskbar will turn off the monitor immediately.

Step 11. Then, right-click on the shortcut and select Properties if you want to change the newly created shortcut icon. Switch to the Shortcut tab and click on the Change icon button.

Change-icon-buttonStep 12. Now, click on the Browse button and browse for the following path:-

%SystemRoot%\System32\SHELL32.dll

Browse-buttonBrowse-iconsStep 13. Next, select any icon from the list you want to use, click OK, then click on Apply. After that, click on the OK button.

Now newly created shortcut turn-off monitor icon is changed.

Icon-changeStep 14. After that, if you would like to access the Turn off monitor option from the Start menu, right-click on the newly created shortcut and select the option “Pin to Start.”

Pin-to-Start-1Turn-off-monitor-in-startHow to Turn Off the Monitor using a batch file?

It is also possible to turn off the monitor by a batch file on Windows 11/10. Follow the below-given steps to do so:-

Step 1. Start with opening a Notepad file and paste the following lines:-

powershell (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)

Powershell-command-in-notepad-1Step 2. Now, click on the File menu and select Save As option.

Noteapd-Save-As-1Step 3. Next, type the turn off monitor.bat in the File name textbox from the Save As box. Then, select the All Files option in the “Save as type” dropdown menu. Finally, click on the Save button to store it.

Save-as-dialog-boxYou can now turn off the monitor by double-clicking on this bat file. You can wake up the monitor by pressing any key from the keyboard.

Leave a Reply

This site uses Akismet to reduce spam. Learn how your comment data is processed.

%d bloggers like this: