Common problems when building the first domain controller, and their fixes. Start here when something looks wrong.
"Element not found" when setting the address
The network card has a different name from the one in your command, often "Ethernet 2" after a VM rebuild. Select it by MAC address, as in Prepare the server. If a hidden old card holds the address, open Device Manager, choose View › Show hidden devices and remove the greyed-out Hyper-V card.
Promotion fails on the Administrator password
The local Administrator password is blank or does not meet the complexity rules. Set a long passphrase with net user Administrator * and run the test again.
The server cannot reach the internet after promotion
Promotion pointed the server's DNS at itself, and it has no forwarder yet. Add the forwarder in Set up DNS on a domain controller.
The clock shows "VM IC Time Synchronization Provider"
Hyper-V time sync is still on. Turn it off on the host with Disable-VMIntegrationService, then repeat Set the domain time source.
The clock shows "Local CMOS Clock"
The server cannot reach the internet time servers. Check the firewall allows UDP 123 out from 10.0.20.10, then run w32tm /resync /rediscover.
AD is slow or unstable
Check the VM uses fixed memory. AD sizes its cache from the memory it starts with, and dynamic memory takes it away.
Test-ComputerSecureChannel returns False
On a domain controller that result means nothing. Use dcdiag and repadmin instead. The test only matters on member servers and PCs.
Windows 11 Setup refuses to install on a lab VM
Not a DC problem, but common in the same lab. Setup needs more than 52 GB of free disk and fixed memory while it installs. Give workstation VMs 70 GB.


