When I’m doing demoing and working on my labs I have multiple VM’s running obviously. I have to flick from one machine to another regularly. It drives me insane when the server keeps locking and I have to log on and just stops the flow of my demo’s. To stop this just change this group policy:
GPMC > Computer Configuration > Administrative Templates > System > Power Management > Video and Display Settings > Turn off the display (plugged in)
Enable it and change the Turn Off the Display setting to 0 as this means off.
Now run an Invoke-GPUpdate command in PowerShell and there you go.
DO NOT USE THIS IN PRODUCTION AS IT IS A SECURITY RISK!