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
the gpo option could be:
Enable tune off the display option and set it value to 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.
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.

What can MoveMouse do ?
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.
IT GuyNetwork EngineerAuthor Commented:
I couldn't get the group policy to work but these other two solutions work.
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.