When provisioning a Windows virtual machine from a template via VMware Aria Automation, the following behaviours are observed:
remoteAccess and cloudConfig properties are defined in the Aria Automation blueprint.This behavior is typically caused by a race condition between two initialization processes:
The conflict between these processes can result in the local Administrator password being unset.
To resolve this issue and ensure the Administrator password is correctly applied, implement one of the following workarounds:
Modify the cloud template to clear the cloudbase-Init state and force a re-run of the customization plugins after the network-triggered Sysprep completes.
powershell.exe -Command 'Remove-Item -Recurse "HKLM:\Software\Cloudbase Solutions\Cloudbase-Init"'Modify the cloud template blueprint to use a different local administrative account instead of the default 'Administrator'.
remoteAccess property and cloudbase-init configuration to specify a custom username and password. This can help determine if the behavior is isolated to the built-in account profile.Adjust the cloud template to utilize dynamic IP assignment to avoid triggering the specific Sysprep race condition associated with static IP customization.
Deploy the Windows VM using a template that does not have cloudbase-init installed.