VMware ESXi and vSphere Cluster Management

Configure Automatic Login for a Windows Virtual Machine in VMware Workstation Player

Learn how to enable VMware Workstation Player Autologin for a supported local Windows account, verify it after restart, and troubleshoot common issues.

What VMware Workstation Player Autologin Does

VMware Workstation Player is the desktop virtualization application used to run and configure a virtual machine (VM), which is a software-defined computer. The Windows installation inside that VM is the guest operating system.

Autologin is a VMware Workstation Player option that automatically signs in a configured supported Windows local account when the guest starts. After the VM boots, Windows can open the selected user's session without requiring you to enter credentials manually.

Autologin is useful for disposable test machines, development environments, and lab systems that are restarted frequently. For example, a tester checking service startup behavior can restart a Windows VM repeatedly and have a dedicated test account ready after each reboot.

Autologin Requirements

Before configuring the feature, confirm that the guest and account meet all requirements. The VM must also be powered on while you configure Autologin.

RequirementSupported conditionWhy it matters
Guest operating system versionWindows 2000 or a later Windows versionAutologin requires a supported Windows guest.
Windows accountA local user account created and managed in the guestPlayer Autologin stores credentials for a supported local guest account.
Domain accountNot supportedAn Active Directory or other domain identity cannot be configured for this feature.
VMware ToolsInstalled and functioning in the Windows guestVMware Tools provides the guest integration required by Autologin.
VM power statePowered on during setupThe configuration procedure requires the target guest to be running.

Local account versus domain account

A local user account belongs to the individual Windows installation inside the VM. Its account information is managed by that guest operating system. A domain user account is managed by a domain service, such as an organizational directory. VMware Workstation Player Autologin supports the local type only.

If the account you normally use is a company domain identity, choose or create a suitable local account in the Windows guest instead. Do not enter a domain account expecting it to work with Player Autologin.

Enable Autologin in VMware Workstation Player

  1. Start the target Windows virtual machine.
  2. Select the target VM in the VMware Workstation Player library.
  3. Open the Player menu and choose Manage, then Virtual Machine Settings.
  4. Open the Options tab.
  5. Select Autologin from the available options.
  6. Choose Enable.
  7. Enter the credentials for the intended local Windows user account in the guest.
  8. Save or confirm the setting when VMware Workstation Player prompts you.

The configuration path is:

Player > Manage > Virtual Machine Settings > Options > Autologin > Enable

Use credentials for the local guest account, not for a domain identity. Keep the VM powered on while completing these steps.

Validate the Automatic Sign-In

  1. Restart the Windows virtual machine after enabling Autologin.
  2. Wait for the guest operating system to complete its boot process.
  3. Confirm that Windows reaches a desktop session without requiring you to enter credentials manually.
  4. Verify that the expected local account is signed in.

The expected result is a Windows session belonging to the configured local account. If another account appears, or if Windows displays a domain identity, the configuration does not match the intended account and should be checked before relying on it.

Practical Examples

Frequent restart testing

A tester repeatedly restarts a Windows VM to check service startup behavior. The tester configures Autologin for a dedicated local test account, allowing the desktop and test tools to become available after each reboot.

Attempting to use a domain account

An administrator enters a company domain identity and finds that Autologin cannot use it. The administrator selects an appropriate local account created inside the Windows guest and configures that account instead.

VMware Tools is missing

A newly created Windows VM does not have VMware Tools installed. VMware Tools is guest integration software required for this capability, so the user installs it in Windows before attempting to configure Autologin.

Troubleshooting Autologin

The intended account is not signed in after restart

  • Reopen Virtual Machine Settings and confirm that Autologin is enabled.
  • Check that the configuration was saved or confirmed.
  • Confirm that the entered credentials are correct by signing in to the local account manually.
  • Restart the guest after correcting the configuration and test again.

A domain account cannot be configured

This is expected behavior: VMware Workstation Player Autologin supports local guest accounts only. Create or select an appropriate local Windows account and configure Autologin with that account's credentials.

Autologin is unavailable or does not work as expected

  • Verify that VMware Tools is installed in the Windows guest and is functioning.
  • Confirm that the guest operating system is Windows 2000 or later.
  • Make sure the VM was powered on when you attempted to configure the setting.

Security and Operational Guidance

Autologin places convenience ahead of the protection provided by an interactive credential prompt. Anyone who can access the running VM may be able to use the automatically signed-in Windows account and the files, tools, or permissions available to that account.

  • Use a dedicated, least-privileged local test account when possible.
  • Keep Autologin limited to controlled test, development, or lab environments.
  • Avoid enabling it on VMs containing sensitive data or credentials.
  • Disable Autologin when the VM is moved to a shared or exposed environment.

Key Exam- and Practice-Relevant Notes

  • Autologin is a VMware Workstation Player feature for automatic sign-in to a Windows guest after boot.
  • The guest must be Windows 2000 or later.
  • VMware Tools must be installed and functional.
  • Only local Windows guest accounts are supported; domain accounts are not.
  • The VM must be powered on during configuration.
  • Always restart the VM and verify the exact account that signs in.