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?

[Product update] Infrastructure Analysis Tool is now available with Business Accounts.Learn More

I wear a lot of hats...

"The solutions and answers provided on Experts Exchange have been extremely helpful to me over the last few years. I wear a lot of hats - Developer, Database Administrator, Help Desk, etc., so I know a lot of things but not a lot about one thing. Experts Exchange gives me answers from people who do know a lot about one thing, in a easy to use platform." -Todd S.

Try this registry hack

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

Value Name = DisableLockWorkstation

Value Type = REG_DWORD

Value = 00000001

Experts Exchange Solution brought to you by

Your issues matter to us.

Facing a tech roadblock? Get the help and guidance you need from experienced professionals who care. Ask your question anytime, anywhere, with no hassle.

Start your 7-day free trial
the gpo option could be:
Enable tune off the display option and set it value to 0
Shaun VermaakTechnical Specialist IVCommented:
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.
The Five Tenets of the Most Secure Backup

Data loss can hit a business in any number of ways. In reality, companies should expect to lose data at some point. The challenge is having a plan to recover from such an event.

What can MoveMouse do ?
Shaun VermaakTechnical Specialist IVCommented:
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.
It's more than this solution.Get answers and train to solve all your tech problems - anytime, anywhere.Try it for free Edge Out The Competitionfor your dream job with proven skills and certifications.Get started today Stand Outas the employee with proven skills.Start learning today for free Move Your Career Forwardwith certification training in the latest technologies.Start your trial today
Windows Server 2016

From novice to tech pro — start learning today.