If No DHCP Server Is Available When a Windows Virtual Machine Is Customized, the Virtual Machine Might Not Be Able to Join a Domain (2262)
When you customize a virtual machine with a static IP address, the customization process assigns the IP to the network card during the final boot of the virtual machine. Joining a domain occurs before that, during the second boot. If no DHCP server is available during this second boot, the network card does not get a temporary IP address, and the virtual machine is not able to join a domain. During the third and final boot, the static IP addresses get assigned, but the "domain join" step is not performed again. The result is a virtual machine that is not part of the domain.
To solve this problem, make a DHCP server available so that the customized virtual machine gets a temporary IP address and joins the domain before a static IP is assigned.