Preparing the Active Directory Forest, Domain, and Exchange Organization
Before you can install Exchange Server, the schema and domain must be prepared.
Preparing the Schema
To prepare the Active Directory schema, follow these steps:
1.
From the Exchange server, log on with your administrative account. This
account must be a member of the Schema Admins and Enterprise Admins
groups.
2. Copy the contents of your Exchange Server 2013 installation media to a directory on a local drive, such as c:\E2k13Install
.
3.
Open a Command Prompt window as an administrator, change to the drive
and directory that holds your Exchange Server 2013 installation media
and run the following command:
Setup /PrepareSchema /IAcceptExchangeServerLicenseTerms
Note
Depending on how you obtain the media for
Exchange Server 2013, you may need to copy the installation media to a
local drive and run the setup from that local drive. If you do not,
your installation may result in the following error:
An error occurred while copying the file d:\\en\Setup\ServerRoles\Common
\en\Details Templates Editor.msc. The error code was 5.
If you did not copy the installation media locally and you receive this error, delete the contents of the c:\%windir%\temp
file, copy the media locally, and run the command again.
4. When completed, the screen should look like the one shown in Figure 9.
Figure 9. Preparing the Active Directory schema.
5. When finished, leave your Command Prompt window open and continue with the next section.
Preparing the Active Directory and Organization
To prepare the Active Directory and Organization, follow these steps:
1.
From the Exchange server, log on with your administrative account. This
account must be a member of the Enterprise Admins and Domain Admins
groups.
2.
From an administrator-enabled command prompt, change to the drive and
directory that holds your Exchange Server 2013 installation media and
run the following command:
Setup /PrepareAD /OrganizationName:ORGNAME
/IAcceptExchangeServerLicenseTerms
where
ORGNAME is the organization name for your environment. In our lab, we
are using TestLab as the organization name, so the command will look
like this:
Setup /PrepareAD /OrganizationName:TestLab
/IAcceptExchangeServerLicenseTerms
3. When completed, the screen should look like the one shown in Figure 10.
Figure 10. Preparing the Active Directory and creating the organization.
4. When finished, leave your Command Prompt window open and continue with the next section.
Preparing the Domain
To prepare the domain, follow these steps:
1.
From the Exchange server, log on with your administrative account. This
account must be a member of the Enterprise Admins and Domain Admins
groups.
2. From an
administrator-enabled command prompt, change to the drive and directory
that holds your Exchange Server 2013 installation media and run the
following command:
Setup /PrepareDomain /IAcceptExchangeServerLicenseTerms
3. When finished, close the command prompt.
Note
If you have multiple domains in your forest, you can prepare all of them by specifying /PrepareAllDomains
instead of /PrepareDomain
.