Configuring ESX VMs for Automatic Login
    • 06 Sep 2024
    • 2 Minutes to read

    Configuring ESX VMs for Automatic Login


    Article summary

    If you use Windows-based Virtual Machine Profiles (VMs) on ESX, you may want to skip the login process every time you launch a lab. Learn how to configure Windows-based virtual machine (VM) to automatically log in to Windows.

    If you are looking to configure a Hyper-V virtual machine, read our Automatically Authenticate VMs in Hyper-V documentation.

    Best Practices

    Reduce Capture Time and Disk Size

    • Begin working with a VM that has no differencing disks captured already.

    • Don't leave the VM running for hours, and then capturing. This will increase the size of the disk and could affect VM performance.

    Virtual Machine Optimization

    • Configure automatic log in on all virtual machines that need automatic log in, before capturing the first differencing disk. Capturing multiple disks could result in lower performance in the VM.

    Configure Automatic Log In

    Automatic log in on ESX VMs is accomplished by cofiguring a built-in Windows application called Netplwiz. After the VM is configured to automatically login, a differencing disk will need to be captured to save the VM in it's current state, to allow subsequent lab launches to automatically log in to the configured VM.

    Configure the VM

    1. Navigate to the lab profile that contains the VMs that you wish to enable automatic login on.

    2. Launch the lab.

    3. If the lab has multiple VMs, select the VM that should be automatically logged in.

    4. Enter the login password and login to the VM.

    5. In the Windows Start menu, search for Netplwiz, and then select Netplwiz.

    6. Uncheck the box next to Users must enter a user name and password to use this computer.

    Netplwiz uncheck box to require a user name and password

    1. In the dialog that appears, enter the VM user name and password and click OK.

    2. Repeat steps 3-7 for any other VMs that should be automatically logged in.

    Save a Differencing Disk

    Saving a differencing disk will capture the VM in it's current state, so that subsequent lab launches will launch in this state. The lab needs to be launched to capture a differencing disk.

    1. From your running lab, select the hamburger menu in the upper-right corner of the lab window.

    2. Select the Save option.

    3. In the dialog, select the Commit my changes and update this lab profile option.

    4. On the next screen, enter a note, then select the disk under the VM that was configured for automatic login, then select OK.

    The differencing disk will be saved and a confirmation message will be shown when it has completed.

    Related Topics


    Was this article helpful?

    Changing your password will log you out immediately. Use the new password to log back in.
    First name must have atleast 2 characters. Numbers and special characters are not allowed.
    Last name must have atleast 1 characters. Numbers and special characters are not allowed.
    Enter a valid email
    Enter a valid password
    Your profile has been successfully updated.