

Microsoft's Windows 11 operating system started rolling out to eligible devices Oct. Similar to the batch file above, here is a PowerShell script file that you can download and run for yourself.Using Windows 10? Change these default settings now. But if you can download it, feel free and safe to use it. I was having difficulty to get NirCmd executable file downloaded as it’s blocked by the AntiVirus software. You can also use NirSoft’s famous NirCmd command line to do the same as well. 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.
