- You have a PC running Windows 8.
- You lock the PC. For example, using the Windows Key+L keyboard shortcut or pressing Ctrl+Alt+Del and selecting "Lock".
In this scenario, you may observe that the PC monitor turns off after 1 minute. Changing the setting "Choose when to turn off the display" under Power Options in Control Panel does not change this behavior. This setting can be used to adjust the display timeout used when a user is logged in and idle but does not affect the timeout used when the PC is locked.
powercfg.exe /setacvalueindex SCHEME_CURRENT SUB_VIDEO VIDEOIDLE <time in seconds>
powercfg.exe /setacvalueindex SCHEME_CURRENT SUB_VIDEO VIDEOCONLOCK <time in seconds>
powercfg.exe /setactive SCHEME_CURRENT
The VIDEOIDLE timeout is used when the PC is unlocked and the VIDEOCONLOCK timeout is used when the PC is at a locked screen.
Note: These commands set the timeout used when the system is plugged in and using AC power. To set the timeouts used when on DC (battery) power, use the /setdcvalueindex switch instead of /setacvalueindex.