how to set monitor timeout to "never" using powershell how to set monitor timeout to "never" using powershell powershell powershell

how to set monitor timeout to "never" using powershell


Try this:

powercfg -change -monitor-timeout-ac 0

Per this, my favorite reference for missing help switch/parameter information:http://ss64.com/nt/powercfg.html

Setting any value to 0 will set the timeout=Never

Thanks to Cristian, official documentation with additional parameters is currently available here