In VMware Cloud Director (VCD), when deploying a Windows Server 2025 virtual machine with the vCPU configured to 1 core, Guest OS Customization may fail to complete successfully.
[YYYY-MM-DDThh:mm:ss: INFO] Executing command: 'netsh interface ip set address # static xxx.xxx.xxx.xxx 255.255.255.0 xxx.xxx.xxx.xxx 1'[YYYY-MM-DDThh:mm:ss: WARN] Command execution failed with exit code: 1, output: 'Element not found.'VMware Cloud Director 10.6
This issue is caused by a timing issue (race condition) resulting from insufficient CPU resources during the initial OS boot.
When only 1 vCPU is assigned, the VMware Tools customization process may trigger before the Windows OS has finished identifying the NIC hardware and loading the necessary network drivers.
Consequently, the netsh command fails because the target network interface is not yet available in the OS.
To resolve this issue, increase the virtual machine's resource allocation: