jan-h
2/6/2015 - 2:04 PM

Windows Server 2012 R2 prevent automatic logoff due to inactivity http://serverfault.com/a/665575/156028

Windows Server 2012 R2 prevent automatic logoff due to inactivity http://serverfault.com/a/665575/156028

powercfg /setacvalueindex SCHEME_MIN SUB_NONE CONSOLELOCK 000
powercfg /setdcvalueindex SCHEME_MIN SUB_NONE CONSOLELOCK 000
powercfg /setacvalueindex SCHEME_MAX SUB_NONE CONSOLELOCK 000
powercfg /setdcvalueindex SCHEME_MAX SUB_NONE CONSOLELOCK 000
powercfg /setacvalueindex SCHEME_BALANCED SUB_NONE CONSOLELOCK 000
powercfg /setdcvalueindex SCHEME_BALANCED SUB_NONE CONSOLELOCK 000