You can double-click the batch file to run it or pin it to the Taskbar for easy access. You can download the batch file from the link above or create one on your own with the following code: powershell (Add -Type '^public static extern int SendMessage(int hWnd, int hMsg, int wParam, int lParam) ' -Name a -Pas)::SendMessage(-1,0x0112,0xF170,2) Someone at Microsoft has created a batch file that turns off all monitors when launched. The Power Options window pops up, find and expand the “ Power buttons and Lit” and “ Power button action.” Then, select “ Turn off the display” from the Settings list.Ĭlick OK, and you are all set. In the Edit Power Plan Settings window, click Change advanced power settings link.
Open Power Options by clicking Start menu, typing Power Options, and click Edit Power Plan. You can re-program the power button on your computer to turn the monitors off when pressed. You can either wait it out until the power saving mode kicks in or push the power buttons on the monitor to physically turn them off.īut if neither of the options are good enough for you, here are 4 other ways that you can try. But believe it or not, Windows doesn’t actually have an easy way of doing it. Sometimes, I just want to turn off the screens without powering off my computer or putting it in sleep mode.