Disable Screen Auto Lock GPO

I do this in my home test networks. It should NOT be done in a production system or even test systems where access to the server may be easy for many people.

Create a new GPO and link it where appropriate. Then edit the following:

Computer Configuration -> Policies -> Administrative Templates -> System -> Power Management -> Video and Display Settings -> Turn Off the Display (Plugged In)

Enable it and set “Seconds” to 0.