We had an issue recently when upgrading our Exchange Server to Exchange 2010 SP2. Basically the issue was that the first Exchange server we were trying to upgrade was not in the same site as the schema master and we got thrown the below error.
“Setup encountered a problem while validating the state of Active Directory: Exchange organization-level objects have not been created, and setup cannot create them because the local computer is not in the same domain and site as the schema master. Run setup with the /prepareAD parameter and wait for replication to complete.”
To work around this you can temporarily add the below registry key this will make the server belong to a different site, we want our Exchange server to connect to the same site as the Schema Master.
- Open RegEdit
- Browse to HKEY_LOCAL_MACHINESystemCurrentControlSetServicesNetlogonParameters
- Create a REG_SZ entry with the name SiteName
- Set the Value to the site name of the site the Schema Masters in
- Reboot the Server
Once the server is upgraded delete the REG entry and reboot the server and you will have an upgraded Exchange server and everything will be back to normal