1 300 737 205

Preparing the Active Directory and Domain for installing the Exchange server

This is the first chapter from the guide How to setup and configure Exchange server 2010 behind Microsoft Forefront Threat Management Gateway In Figure 1, you can review the scenario that we are about to implement.

Figure_1

Figure 1

To implement this scenario, we utilise VMware Hypervisor and have installed and updated 3 Windows 2008 R2 machines.
Attention: It is very important to update all Windows 2008 R2 machines with the latest patches released by Microsoft before starting the installation process.
Install and configure Active Directory on your first server and assign it private IP address. We are going to assign 10.10.1.1 to our Domain Controller. Join 2 other servers to the domain and make them member servers. The Exchange server has been assigned 10.1.1.2 and the TMG server has been given 10.10.1.3. Add another virtual network adapter to the TMG server and assign a public IP address to it. This adapter will have direct interaction to the Internet and listens to incoming connections and passes them to your internal network.

Figure.2

Figure 2

As a prerequisite, you need to copy the Exchange setup files to your Domain Controller.  You can find how to perform this process hereWhen the Exchange setup files have been copied, open command prompt on your Domain Controller and run the following commands:

Prepare Schema

setup /PrepareSchema 

Or

setup /ps

Figure.3 Prepare Schema

Figure 3

 Prepare Active Directory

setup /PrepareAD [/OrganizationName: <organization name> ] 

Or

setup /p [/on:<organization name>]

Exchange-Prepare-Active-Directory

Figure 4

Prepare all domains in your organization

setup /PrepareAllDomains 

Or

setup /pad 

Exchange-Prepare-Domains-Organization

Figure.5

Our Active Directory and Domain are ready for the Exchange server 2010 to be installed. If you have multiple Domain Controllers, we recommend to wait 30 minutes for updates to replicate to other Domain Controllers. Alternatively you can force replication manually through the Active Directory Site and Services Snap in.

 

Before we launch ourselves into the installation process, we have one final step. We just need to quickly jump onto our Exchange 2010 server machine and prep it for installation.

Open PowerShell and run these commands

Import-Module ServerManager

Because we are going to install Client Access, Hub Transport, and Mailbox server roles on this server we must run this command on the server:

Add-WindowsFeature NET-Framework,RSAT-ADDS,Web-Server,Web-Basic-Auth,Web-Windows-Auth,Web-Metabase,Web-Net-Ext,Web-Lgcy-Mgmt-Console,WAS-Process-Model,RSAT-Web-Server,Web-ISAPI-Ext,Web-Digest-Auth,Web-Dyn-Compression,NET-HTTP-Activation,Web-Asp-Net,Web-Client-Auth,Web-Dir-Browsing,Web-Http-Errors,Web-Http-Logging,Web-Http-Redirect,Web-Http-Tracing,Web-ISAPI-Filter,Web-Request-Monitor,Web-Static-Content,Web-WMI,RPC-Over-HTTP-Proxy –Restart

Exchange-Prepare-For-Exchange-Installation-Powershell

Figure.6

Your computer will restart after installing the prerequisites.

Once rebooted, set Net TCP Sharing Service startup mode to Automatic.

Exchange-Set-Net-TCP-Sharing-Service-Automatic-Start

Figure.7

Download the Microsoft filter pack from here and install it on your Exchange server machine.

 

The Domain and Active Directory are now prepped and ready for the Exchange server to be installed. Now let’s install the Exchange Server 2010.

 

— By Soheil Esmaeili

Request Your Free Consultation Today

We’ll come to your place of business, and give you a full diagnostic snapshot of your IT systems.