Command to Change the Windows Display Turn Off time
http://superuser.com/questions/405543/turn-off-monitor-from-windows-command-line
Windows has a way to turn off the display after a period of time.
But I want to run a scheduled task to turn off the display at a set time
every night using the command line.
This is the UI for turning off the display using the timer

Is there a command to turn off the display using the command line?
1 minute
powercfg -change -monitor-timeout-dc 1
powercfg -change -monitor-timeout-ac 1
Never
powercfg -change -monitor-timeout-dc 0
powercfg -change -monitor-timeout-ac 0
I found this: http://forums.techarena.in/monitor-video-cards/1378029.htm#post5131376
You can make a shortcut using
The above link gives more of an explanation of what you can do/change with the command.
I JUST tested exactly the command i listed above, and even with my normal power settings to NEVER turn off my display, after running the shortcut and a quick minute later, my monitor went dark, a quick shake of the mouse brought it back. BUT, this SETS the timeout to turn off your monitor, so you may want another scheduled task to change it back to your normal whenever you normally get back onto your computer.
You can make a shortcut using
POWERCFG -Change -monitor-timeout-ac 1
as the location, then create a scheduled task to run the shortcut at a
specific time. Just keep the "1" which is the time delay for how long
until the screen turns off, then just have the scheduled task run one
minute earlier than you want the screen to turn off.The above link gives more of an explanation of what you can do/change with the command.
I JUST tested exactly the command i listed above, and even with my normal power settings to NEVER turn off my display, after running the shortcut and a quick minute later, my monitor went dark, a quick shake of the mouse brought it back. BUT, this SETS the timeout to turn off your monitor, so you may want another scheduled task to change it back to your normal whenever you normally get back onto your computer.

0 comments:
Post a Comment