Hi Al Perez,
Thanks for your post. Please firstly follow the steps to configure automatic login on Hyper-V differ depending on if the virtual machine(s) in the lab use Enhanced Session Mode (ESM). After the VM is configured to automatically login, a differencing disk will need to be captured to save the VM in its current state, to allow subsequent lab launches to automatically log in to the configured VM.
Enables a connection similar to an RDP connection. Enhanced session mode leverages guest services to enable additional features such as: automatic VM logon, redirection of clipboard, audio, drives, devices, printers, and smart cards. Enhanced Session mode is not required for VM auto log in.
For labs that do not use ESM, Netplwiz must be configured to enable automatic login. The following configurations needs to be completed:
- Configure Netplwiz
- Save a Differencing Disk
In detail,
- Navigate to the lab profile that contains the VMs that you wish to enable automatic login on.
- Launch the lab.
- If the lab has multiple VMs, select the VM that should be automatically logged in.
- Enter the login password and login to the VM.
- In the Windows Start menu, search for Netplwiz, and then select Netplwiz.
- Uncheck the box next to Users must enter a username and password to use this computer.
- In the dialog that appears, enter the VM username and password and click OK.
- Repeat steps 3-7 for any other VMs that should be automatically logged in.
- Go to the Save a Differencing Disk section to save the VM state, so that subsequent lab launches will launch in this state.
Reference: Configuring Hyper-V VMs for Automatic Login
Best Regards,
Ian Xue
If the Answer is helpful, please click "Accept Answer" and upvote it.