Using Hyper-V virtual machines in Windows Server and Windows is often used for experimentation, because this function is now built into the system and does not need to install a large software like VMware. However, you may find that the Windows virtual machine automatically enters the lock screen after a period of time, or the logon interface is called:
In virtual machines used in experiments, we often do not want this to happen becauseFrequent password input is very troublesome.As an experimental virtual machine, you do not need to pay attention to privacy and security.
The solution to this problem is simple:
Method 1: power options: On the power options panel, select "Time to disable the monitor" on the left and set it to "never:
Method 2: Set group policies:
Open the Group Policy Editor (for this Unit Policy Editor, effective for the local machine, for the Group Policy Editor in AD, effective for the corresponding organizational unit, can be applied in batches), follow the settings:
After the above settings, the running Hyper-V virtual machine will not automatically enter the lock interface after it is idle for a period of time, which is much easier.
The WMware virtual machine setting method is similar and will not be described here.