Group policy to prevent Svr 2016 & Win 10 Hyper-V virtual OS's from locking

How can I create a group policy that will prevent Sever 2016 & Windows 10 Hyper-V virtual operating systems from locking?

This will be for my lab environment. I'm getting tired of having to constantly unlock and log back onto my virtual machines.
IT GuyNetwork EngineerAsked:
Who is Participating?
 
ferraristaConnect With a Mentor Commented:
Try this registry hack

Key Path = HKCU\Software\Microsoft\Windows\CurrentVersion\Policies\System

Value Name = DisableLockWorkstation

Value Type = REG_DWORD

Value = 00000001
0
 
MaheshArchitectCommented:
the gpo option could be:
Enable tune off the display option and set it value to 0
https://redmondmag.com/articles/2016/04/25/disable-windows-server-auto-lock-feature.aspx
0
 
Shaun VermaakConnect With a Mentor Technical Specialist/DeveloperCommented:
If you want to enable/disable this functionality on-demand without modifying GPO for all devices, use MoveMouse only on the lab devices you are busy with.
https://movemouse.codeplex.com/
0
Creating Active Directory Users from a Text File

If your organization has a need to mass-create AD user accounts, watch this video to see how its done without the need for scripting or other unnecessary complexities.

 
ferraristaCommented:
What can MoveMouse do ?
0
 
Shaun VermaakTechnical Specialist/DeveloperCommented:
A portable application that moves mouse via code so that computer does not lock. You can stop and start the application from the actual session so that you do not need to globally disable a security feature like lock screen, even for a lab.
0
 
IT GuyNetwork EngineerAuthor Commented:
I couldn't get the group policy to work but these other two solutions work.
0
Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

All Courses

From novice to tech pro — start learning today.