4 Quick Ways to Turn Off a Monitor With The Keyboard

Create a PowerShell shortcut to turn off monitor

Reading time icon 4 min. read


Readers help support Windows Report. We may get a commission if you buy through our links. Tooltip Icon

Read our disclosure page to find out how can you help Windows Report sustain the editorial team Read more

Key notes

  • Knowing how to turn off the monitor with the keyboard improves work efficiency and saves energy.
  • You can turn off the PC screen using Windows Power Management to configure the power button.
how to turn off monitor with keyboard

Efficiently controlling your computer can significantly optimize your workflow, saving time and energy. Thus, leveraging keyboard shortcuts can be a game-changer when turning off your monitor. Therefore, we will examine four quick ways to turn off the monitor using the keyboard.

Alternatively, you can check our guide about fixing the screen not turning off in Windows 11.

Which shortcut key is used to black screen on or off?

The shortcut key to quickly turn off the screen on Windows isn’t available by default.

The only way to achieve this is to use third-party software that supports this functionality or adjust your power settings as a workaround.

How can I turn off a monitor with the keyboard?

1. Via Windows Power Management

  1. Click the Windows icon, type Control Panel, and press Enter to open it.
  2. Select Power Option.
  3. Click on Choose what the power buttons do option from the left pane.
  4. Go to the When I press the power button category, click the drop-down arrow below the On battery option, and select Turn off display.
  5. Click the drop-down arrow below the Plugged-in option and select Turn off display.
  6. Click on Save Changes to finish the setup.

The procedure above will work only if you have a keyboard with a dedicated Power button, so keep that in mind.

Check our guide about fixing the missing Window Power Management tab on Windows.

2. Create a PowerShell shortcut

  1. Right-click on the blank space on your Desktop screen, select New from the context menu and click on Shortcut from the sub-context menu.
  2. Copy and paste the following command into the address bar 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,0ร—0112,0xF170,2)โ€
  3. Type the name you want for the shortcut as Push Monitor Off, and select Finish to create a new icon on your Desktop.
  4. Right-click the shortcut on your Desktop and select Properties from the context menu.
  5. Click the Shortcut tab and select the Shortcut Key field.
  6. Type the keyboard shortcut of your choice (e.g. Shift +Ctrl + M) to execute the PowerShell Shortcut and click on OK.

The computerโ€™s monitor will turn off anytime you press the shortcut key you assign to execute the PowerShell command.

We have a detailed guide on ways to fix Desktop shortcuts that arenโ€™t working on your PC.

3. Via Display Power Off Utility

  1. Open your web browser, download, and extract the Display Power Off Utility.
  2. Open the extracted folder, which contains various files. The files needed will be Doff application, Doff screensaver, and Doff tray.
  3. Right-click on the doff application, select Send to, and click on Desktop.
  4. Right-click the Doff application shortcut on the Desktop and select Properties.
  5. Click the Shortcut tab and select the Shortcut Key address bar.
  6. Type the keyboard shortcut key you want and click on OK to assign a hotkey to doff application.
  7. Repeat steps 3-6 for Doff screensaver and Doff tray.

You should note that the Doff application immediately turns off the screen, Doff screensaver activates a black screensaver, and Doff tray adds a feature to the system tray when double-clicked to turn off the monitor.

4. Deploying Turn off screen.bat

  1. Launch your browser search and download the TurnOffscreen.Bat file.
  2. Open the File Explorer from the Taskbar and go to the Downloads folder.
  3. Then, extract the zip file and open the extracted folder.
  4. Right-click the TurnOffscreen.Bat file in the extracted folder, click on Send to, and select Desktop.
  5. Follow steps 5-7 in the second method to create a hotkey.

Downloading the TurnOffscreen.Bat on your pc will allow turn off the monitor. Note: be sure the file is from a trustworthy website.

We hope you found this guide helpful, and to learn more about screenshots, we have a complete guide on the best Windows 11 shortcuts.

Conclusively, please read our complete guide about how to create a shutdown shortcut on Windows 11. Also, you can read about creating and using the Windows sleep shortcut.

Should you have further questions or suggestions, kindly drop them in the comments section.

More about the topics: keyboard, monitors