Preparing Your AD Environment for Exchange 2013
It’s important to make sure your Active Directory environment is prepared for the Exchange 2013 deployment you are planning. Here are a few important points to remember before you deploy Exchange 2013 into either a fresh environment (one that has never had Exchange installed) or an existing Exchange environment.
For starters you need to make sure your AD forest/domain functional levels are at least Server 2003. In addition, with every AD site you want to deploy Exchange into you need to make sure you have at least one Domain Controller and a Global Catalog server. Note: Read-only Domain Controllers are not supported. And then you need to prepare the schema (which is Active Directory’s structure for keeping track of various objects and attributes). To prepare the schema you have to do this from within the same site as the AD schema master. Obviously to accomplish all of this you will need to make sure you have the permissions necessary.
It’s possible to upgrade the schema, prepare Active Directory and prepare your domain(s) by running the installation wizard GUI. However, there are times when your organizational policy or other factors may require you to perform these tasks prior to the installation.
To do this you need to run the following command-line switches:
- You can prepare the schema using the following:
- Setup /PrepareSchema or Setup /ps
- You can prepare the schema and Active Directory together using the following:
- Setup /PrepareAD /OrganizationName:<Name of Organization>
- You can prepare the domain(s) using the following:
- Setup /PrepareDomain (prepares the local domain)
- Setup /PrepareDomain:<FQDN of domain to prepare>
- Setup /PrepareAllDomains
One important point to note is that you will need to use the /IAcceptExchangeServerLicenseTerms at the end of each of the commands
While you can break up the process by preparing the schema, then the AD, then each individual domain, a faster way to do this would be to run the /PrepareAD switch first and then the /PrepareAllDomains switch. That takes care of all your AD prep work in only two switches.
Another important point to keep in mind is if you decide to perform some of the prep work but not all of it the wizard will note what you haven’t done and will pick up from that point. So you can upgrade the schema only and let the wizard prep AD and the domains for you.
As an example, we performed a schema update on an AD environment but did not prepare AD or the domains. As a result you can see in Figure 1 that the install wizard saw this and is letting us know that it is going to run the /PrepareAD command behind the scenes.
Figure 1: The install wizard knows to what degree our AD is prepared for an Exchange 2013 install
To learn more about Preparing AD and Domains you can visit TechNet here: http://technet.microsoft.com/en-us/library/bb125224.aspx



