How to Update the Schema for Exchange 2013/2016

Some Exchange Rollup or Cumulative update required a Schema Update. Please find how  I proceed

Before begin

  1. Be sure you are a member of the following security groups:
    • Schema Admins
    • Enterprise admins
  2. Check the AD replication is working properly
  3. Check the current version of Exchange using the following Script: Retrieve_Exchange_Version_From_AD.ps1

Extend the Schema (AD)

  1. Connected on Domain member server, which is on
    Same AD domain and Site as the Schema Master
  2. Run the following Command can be run from
    extracted Exchange Installation Files:
    Setup.exe /PrepareSchema /IAcceptExchangeServerLicenseTerms
    (Schema and Domain can be updated from Exchange DVD\ Service Pack, Cumulative Update)
  3. After Setup finished extending the schema, you will need to wait while Active Directory replicates the changes to all of your DCs
  4. You can check if the replication is completed using the following script: Retrieve_Exchange_Version_From_AD.ps1

We are expecting the Exchange attribute to update with the new version
of the Schema. Please refer to the following links to find the Expected version of Exchange after install your CU or SP:

  1. Exchange 2013:
  2. Exchange 2016:
  3. Exchange 2010 and Legacy Version:

Prepare AD

During this step, we will update and create Exchange Containers and others objects in AD:

The Schema need to be fully update and replicated to run this step.

  1. Open a CMD prompt and go to where you download the Exchange Installation Files
  2. Run the following command: Setup.exe /PrepareAD /OrganizationName:”<organization name>” /IAcceptExchangeServerLicenseTerms
  3. Wait for the replication to occur between all your DCs.
  4. Verify the Domain has been Prepared using the following script:   Retrieve_Exchange_Version_From_AD.ps1

Prepare All Domains

During this step, we will update and create Exchange Containers and others objects in AD in the remaining domains in the forest:

  1. The /PrepareAD need to be replicated to run this step.
  2. Open a CMD prompt and go to where you downloaded the Exchange Installation Files
  3. Run the following command:  Setup.exe /PrepareAllDomains /IAcceptExchangeServerLicenseTerms
  4. Wait for replication
  5. Verify the PrepareAllDomain has been run successfully using the following script: Retrieve_Exchange_Version_From_AD.ps1

Sources:

  1. Exchange 2010 and Legacy Version:
  2. Exchange 2013:
  3. Exchange 2016:

 

 

 

Author: John

I m a consultant who love Microsoft Exchange and try to learn as much as possible. so if you have any question related to Exchange please do not hesitate to ask. if I don't know I will know.

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s