Batch to Turn Off Display in Windows 7

Here is a simple way to turn off the display in Windows 7. It is not instantaneous, but I can live with it waiting one minute. The script temporarily changes the idle time to 1 minute, waits 65 seconds for the display to turn off, and then changes it back to the original (20 minutes) idle time.

monitor_off.bat:

powercfg -change -monitor-timeout-ac 1
timeout /t 65
powercfg -change -monitor-timeout-ac 20
This entry was posted in Uncategorized and tagged . Bookmark the permalink.

3 Responses to Batch to Turn Off Display in Windows 7

  1. Tom says:

    Thanks Buddy

  2. srinivas says:

    How to turn on monitor…

    i want to turn on and off for every 10sec’s in loop for multiple times….

    is there any command to control monitor ON and OFF using batch or VB

Leave a Reply to davychiu Cancel reply

Your email address will not be published. Required fields are marked *