Automatic login is not configured for a virtual machine
Expand all | Collapse all
The following error message appears if there was a failure to deploy a template and create a custom execution environment:
- Automatic login is not configured for a virtual machine.
This error message appears only if a virtual machine is added to a domain.
Issues
- A template was not deployed and a custom image (execution environment) was not created.
Recommendations
- Configure an automatic login for a virtual machine in one of the following ways:
- Turn on an automatic login to the operating system by running the netplwiz command
To turn on an automatic login to the operating system:
- Open the User Accounts window:
- If you use Microsoft Windows 10, right-click the Start button, select Run, type
netplwiz, and click OK. - If you use Microsoft Windows 7, click the Start button, in the search field, type
netplwiz, and click Enter. - If you use Microsoft XP Home Edition or Windows XP Professional, click the Start button, select Run, type
control userpasswords2, and click OK.
- Clear the Users must enter a user name and password to use this computer option and click OK.
In Microsoft Windows 7 or 10 operating systems, the Automatically sign in window opens.
In Microsoft XP Home Edition or Windows XP Professional operating systems, the Automatically Log on window opens.
- Enter your user name and the password twice, and click OK.
- Restart the virtual machine.
- Turn an automatic login on via Registry, if a virtual machine belongs to a domain
To turn on an automatic login via Registry:
- Configure automatic login:
- Right-click the Start button, select Run, type
regedit, and then click OK.The Registry Editor window opens.
- Open HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows NT\CurrentVersion\Winlogon.
- Open or create the
DefaultUserName parameter and specify the user name. - Open or create the
DefaultPassword parameter and specify the user password. - Open or create the
AutoAdminLogon parameter and specify 1. - Open or create the
DefaultDomainName parameter and specify the domain name.All values are of the REG_SZ (String) type.
- Disable the password change requests.
Page top