While running Setup.com /PrepareAd, the switch failed with below error message.
Checked the location in the error “C:Usersadministrator.LABSAppDataLocalTempldif.err” and found the log file.
Opened the log file and found the below information.
If you check the ExchangeSetup.log file you will get more detailed information on the error message.
What happened was, there was one ADC in the environment and it was turned OFF, turned ON the ADC and replicated (force) the domain controllers and waited for replication to complete.
Ran the Setup.com /PrepareAD and it completed successfully. Installed Exchange successfully.