Skip to main content

Exchange: How to Prepare Your Domain for Exchange

Exchange uses Active Directory to store information about mailboxes and Exchange server configurations in your organization. Before installing Exchange Server, you must prepare your Active Directory forest and domains for the new version of Exchange

This step is similar to what we did in the previous post; the requirements are the same.

Open Command Prompt as administrator.

alt text

alt text

Run the following command:

setup.exe /PrepareAD /OrganizationNam:"" /IAcceptExchangeServerLicenseTerms_DiagnosticDataOn

Note: The organization name is the name we will give to our Exchange organization; this name cannot be changed.

setup.exe /PrepareAD /OrganizationName:"<Organization Name>" /IAcceptExchangeServerLicenseTerms_DiagnosticDataOn

alt text

We verify that it has completed successfully.

alt text

If we have several Domain Controllers in our domain, it is recommended to synchronize them to replicate the changes made. To do this, we run the following command and verify that the DCs have synchronized without errors.

repadmin /syncall /APed

alt text

Another tool we can use to view the synchronization is the following.

repadmin /replsum

alt text

Once these steps are completed, we must verify that all the previous processes were performed correctly. There are 3 values ​​we must check:

  • rangeUpper
  • objectVersion (Default)
  • objectVersion (Configuration)

Below is a list of Exchange Server Active Directory versions and a link to the information on the Microsoft page.

Exchange SE Active Directory Versions

Exchange SE VersionrangeUpperobjectVersion (Default)objectVersion (Configuration)
Exchange SE RTM170031324316763

Exchange 2019 Active Directory Versions

Exchange 2019 VersionrangeUpperobjectVersion (Default)objectVersion (Settings)
Exchange 2019 CU15170031324316763
Exchange 2019 CU14170031324316762
Exchange 2019 CU13170031324316761
Exchange 2019 CU12170031324316760
Exchange 2019 CU11 with KB5014260170031324316759
Exchange 2019 CU11170031324216759
Exchange 2019 CU10170031324116758
Exchange 2019 CU9170021324016757
Exchange 2019 CU8170021323916756
Exchange 2019 CU7170011323816755
Exchange 2019 CU6170011323716754
Exchange 2019 CU5170011323716754
Exchange 2019 CU4170011323716754
Exchange 2019 CU3170011323716754
Exchange 2019 CU2170011323716754
Exchange 2019 CU1170001323616752
Exchange 2019 RTM170001323616751
Exchange 2019 Preview153321323616213

Exchange 2016 Active Directory Versions

Exchange 2016 VersionrangeUpperobjectVersion (Default)objectVersion (Configuration)
Exchange 2016 CU23153341324316223
Exchange 2016 CU22 with KB5014260153341324316222
Exchange 2016 CU22153341324216222
Exchange 2016 CU21153341324116221
Exchange 2016 CU20153331324016220
Exchange 2016 CU19153331323916219
Exchange 2016 CU18153321323816218
Exchange 2016 CU17153321323716217
Exchange 2016 CU16153321323716217
Exchange 2016 CU15153321323716217
Exchange 2016 CU14153321323716217
Exchange 2016 CU13153321323716217
Exchange 2016 CU12153321323616215
Exchange 2016 CU11153321323616214
Exchange 2016 CU10153321323616213
Exchange 2016 CU9153321323616213
Exchange 2016 CU8153321323616213
Exchange 2016 CU7153321323616213
Exchange 2016 CU6153301323616213
Exchange 2016 CU5153261323616213
Exchange 2016 CU4153261323616213
Exchange 2016 CU3153261323616212
Exchange 2016 CU2153251323616212
Exchange 2016 CU1153231323616211
Exchange 2016 RTM153171323616210
Exchange 2016 Preview153171323616041

Now, let’s access a domain controller and review the values ​​described above. We will use the following tool: ADSI Edit.

alt text

Right-click and select “Connect to…”

alt text

To review the rangeUpper values, select the Schema Naming Context and click OK.

alt text

Locate the object CN=ms-Exch-Schema-Version-Pt and find the rangeUpper attribute.

alt text

To review the ObjectVersion (Configuration) values, right-click again.

Open ADSI Edit and select “Connect To…”

alt text

In the Naming Context, select Configuration and click OK.

alt text

Find the ObjectVersion attribute within CN=,CN=Microsoft Exchange,CN=Services,CN=Configuration,DC=

alt text

Finally, return to ADSI Edit and connect to the Default naming context.

alt text

Find the ObjectVersion attribute within CN-Microsoft Exchange System Objects, DC=

alt text

Once you have verified all the values ​​and confirmed they match the table shown earlier, proceed with installing the requirements for Exchange.