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