A tiny Windows batch script that turns off all connected monitors without putting the computer to sleep.
The monitors wake normally when you move the mouse or press a key.
- Turns off all connected monitors
- Keeps Windows and running applications awake
- Works with multi-monitor setups
- Waits 7 seconds before switching the displays off
- Requires no installation or administrator privileges
- Avoids broadcasting the command to application windows and the taskbar
- Download
turn-off-monitors.bat. - Double-click the script.
- Stop using the mouse and keyboard during the grace period.
- Move the mouse or press a key when you want the monitors back.
Press Ctrl+C during the countdown to cancel.
Open the script in a text editor and change:
set "GRACE_SECONDS=7"- Windows 10 or Windows 11
- Windows PowerShell