Saturday, April 18, 2015

Windows Server 2012 R2 prevent automatic logoff due to inactivity

Unlocked the missing Power Settings feature in Server 2012.

  1. Open the following registry key -HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\Power\PowerSettings\7516b95f-f776-4464-8c53-06167f40cc99\8EC4B3A5-6868-48c2-BE75-4F3044BE88A7

  2. Set the following value - Attributes => 2

  3. Now open Control Panel>Power Options>Change Plan Settings>Change Advanced Power Settings
    a. The new Display section Console lock display off timeout is now available.
    b. Configure your “Plugged in” value accordingly (0 to disable)

  4. Set timeout to 0 to turn it off.

enter image description here

2 comments: