How to disable Windows Server 2012 auto lock feature

Hy folks,
After upgrading most of my Virtual Machines to Windows Server 2012, I’ve realized that all of them had an auto lock feature enabled when the server was idle for a period of time. This feature became annoying especially when working with multiple machines at the same time and some of them got locked suddenly. I’ve found out the solution after reading about this problem in detail. The key is to disable an option that is not visible by default in Windows Server 2012.
To make the Console lock display idle timeout visible, we’ll have to change a key in the registry. Open the registry editor (regedit) and navigate to HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\Power\PowerSettings\7516b95f-f776-4464-8c53-06167f40cc99\8EC4B3A5-6868-48c2-BE75-4F3044BE88A7

Registry editor
Now double click the REG_DWORD key named Attributes and change it to a value different from 1 (I’ve set it to 2):
Registry editor
Navigate to Control Panel/Hardware/Power Options/Edit Plan Settings and click on Change advanced power settings link:
Power Options
Once the Power Options pane has opened, expand Display/Console lock display off timeout and change the default value to the one desired:
Power Options
That’s it for this article folks, hope you will find it interesting. Wish you all the best and stay tuned for the following posts from IT training day.

One thought on “How to disable Windows Server 2012 auto lock feature

Leave a Reply

Fill in your details below or click an icon to log in: Logo

You are commenting using your account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s