Deployment of an Exchange Server 2013 server goes through three main stages.
- Preparing Active Directory (if you are installing Exchange Server 2013 for the first time)
- Installing the Exchange Server 2013 pre-requisites on the server
- Running Exchange Server 2013 setup
Preparing Active Directory for Exchange Server 2013
When you are installing Exchange Server 2013 for the first time the Active Directory needs to be prepared.
There are a series of requirements for Active Directory preparation to be successful:
- Schema master running Windows Server 2003 with SP2, or a later version of Windows Server
- At least one Global catalog server per site that Exchange will be installed in that is running Windows Server 2003 SP2 or later
- At least one Domain controller per site that Exchange will be installed in that is running Windows Server 2003 SP2 or later
- Forest functional mode of Windows Server 2003 or higher
- An account with Schema Admins, Domain Admins, and Enterprise Admins permissions to run Exchange setup
Although Active Directory preparation can occur as part of the installation of the first Exchange Server 2013 server, you can also run the Active Directory preparation as a separate task beforehand on a 64-bit server running Windows Server 2008 or higher.
Because the Active Directory preparation requires the RSAT-ADDS tools I am running it on the domain controller in my test lab.
Alternatively, you can install the tools on a member server to run Exchange 2013 Active Directory preparation.
For Windows Server 2008 R2 (SP1 or later), in PowerShell run:
For Windows Server 2012, in PowerShell run:
If you are installing Exchange Server in the AD forest for the first time run the following Exchange 2013 setup command to prepare Active Directory:
setup /PrepareAD /OrganizationName:"your organization name" /IAcceptExchangeServerLicenseTerms
Note: if your organization name contains spaces then it must be enclosed in quotes as shown above.
If an Exchange organization already exists you can omit the /OrganizationName parameter.
setup /PrepareAD /IAcceptExchangeServerLicenseTerms
For other Active Directory preparation scenarios, such as multiple forests or multiple domains, refer to this article on TechNet.
Installing the Exchange Server 2013 Pre-Requisites
Exchange Server 2013 can be installed on either Windows Server 2008 R2 (SP1 or later) or Windows Server 2012. Depending on the server roles you are installing the pre-requisites vary.
- Installing Exchange Server 2013 Pre-Requisites on Windows Server 2008 R2
- Installing Exchange Server 2013 Pre-Requisites on Windows Server 2012
Installing Exchange Server 2013 Using the Setup Wizard
After installing the pre-requisites a restart of the server may be required. If you proceed without restarting then setup may be unable to proceed when it detects the pending restart.
From the location where you have stored your Exchange 2013 files run Setup.exe.
The first dialog gives you the opportunity to check for updates to the setup files before you proceed.
After the setup files have updated click Next to continue.
Click Next to continue past the Introduction message.
Accept the license agreement and click Next to continue.
Choose whether or not to enable Error Reporting and click Next to continue.
After a check that all the pre-requisites are installed the setup wizard will move on to the next step automatically (if the check was successful).
Now we can choose the server roles to install. If this is the first server you're installing Microsoft recommends you install the Mailbox server role first (this can be either a Mailbox-only server or a combined Mailbox/Client Access server).
Verify that you have enough disk space for the installation, or choose a path that does have enough disk space, and click Nextto continue.
If there is no existing Exchange organization in Active Directory, and you haven't already prepared Active Directory for Exchange, you will be prompted to enter an Exchange organization name.
When installing the Mailbox server role you are given the option to disable malware protection. If you disable it now you can enable it again later.
Some readiness checks are performed. If this is the not the first server you're installing and there is no Send Connector defined for outbound email then you may see a warning, but you can still proceed with the server installation.
Setup can't detect a Send connector with an address space of ‘*'. Mail flow to the Internet may not work properly.
When you are ready to proceed you can click Install to begin.
The install is a fairly lengthy process, so you may want to go and do something else while you wait. When setup has finished click Finish.
Configuring Exchange Server 2013
After installing Exchange Server 2013 there are a number of configuration tasks that you can perform next:
- Explore the Exchange 2013 management tools
- Deploy Client Access server high availability
- Deploy a Database Availability Group
- Configure MX records for incoming email
- Configure Send Connectors for outbound email
- Deploy an Edge Transport server