Easiest Way to Install Exchange 2010 on Windows 2008 SP2

To Install all Exchange 2010 prerequisites automatically. Download the batch files available as an ISO image file or a ZIP file.

Two variations of the batch files are provided:

a).  ex2010.bat – this one will present you with menu options and allow you to select individually for which Exchange roles you would like prerequisites to be installed (for example just for mailbox role).

b).  ex2010turbo.bat – this one is a “full auto” script which installs all the prerequisites for all Exchange roles without any input required from the user. Start it, go for a coffee, and by the time you are back your server is restarted with everything installed on it, ready for Exchange 2010 to be deployed.

Video Tutorial:

Note: Prerequisites are different for Windows 2008 SP2  and Windows 2008 R2, so please make sure you use correct version of the scripts and update.

To  manually install and configure all required hotfixes, server components and services which is inefficient and time consuming follow the steps bellow. Exchange Server 2010 needs a number of pre-requisites for windows 2008 SP2 before you can run the setup.You need to install the following components:

  1. Net Framework 3.5, from here
  2. WinRM & Powershell v2, from here
  3. Update for .Net Framework 3.5 sp1, from here
  4. 2007 Office System Converter – Microsoft Filter Pack, from here

After the system has restarted, log on as an administrator, open an elevated Windows PowerShell console, and configure the Net.Tcp Port Sharing Service for Automatic startup by running the following command:

Set-Service NetTcpPortSharing -StartupType Automatic

Install IIS 7.0 on Windows Server 2008 with the proper Role services for installing Exchange server 2010

Ensure that you have administrative user rights on the computer on which you plan to install IISTo start Server Manager, click Start Menu -> All Programs -> Administrative Tools -> Server Manager. The Server Manager window opens.

  1. In the Server Manager window, select Roles. The Role Summary View is displayed.
  2. Click Add Roles. The Add Roles Wizard opens. Click Next to select roles to install.
  3. Select Web Server (IIS).
  4. The Add Roles Wizard notifies you of any required dependencies; since IIS depends on the Windows Process Activation Service (WAS) feature, the following informational dialog box appears. Click Add Required Role Services to continue.
  5. The Web Server is now selected for install. The Select Server Roles dialog box opens. Click Next to continue.
  6. The Introduction to Web Server dialog box and information appears. Click Next to continue.
  7. In the Select Role Services pane, scroll down to IIS 6 Management Compatibility.
  8. Click to select the IIS 6 Metabase Compatibility and IIS 6 Management Console check boxes.
  9. In the Select Role Services pane, click Next, and then click Install at the Confirm Installations Selections pane.
  10. Click Close to exit the Add Role Services wizard.
IIS 7 .NET Extensibility component is required
Install the IIS 7 .NET Extensibility component in Windows Server 2008 or in Windows Server 2008 R2 by using the Server Manager tool
  1. Click Start, click Administrative Tools and then Server Manager.
  2. In the left navigation pane, expand Roles, and then right-click Web Server (IIS) and select Add Role Services.
  3. On the Select Role Services pane, scroll down to Application Development.
  4. Select the check box under .NET Extensibility.
  5. Click Next from the Select Role Services pane, and then click Install at the Confirm Installations Selections pane.
  6. Click Close to exit the Add Role Services wizard.
Install the IIS 7 Components for the CAS server role by using the Windows Server 2008 Server Manager
  1. Click Start, click Administrative Tools, and then click Server Manager.
  2. In the navigation pane, expand Roles, right-click Web Server (IIS), and then click Add Role Services.
  3. In the Select Role Services pane, scroll down to IIS.
  4. In the Security area, click to select the following check boxes:
  • Basic Authentication
  • Digest Authentication
  • Windows Authentication
5. In the Performance area, click to select the following check boxes:
  • Static Compression
  • Dynamic Compression

6. In the Select Role Services pane, click Next, and then click Install in the Confirm Installations Selections pane.

7. Click Close to exit the Add Role Services wizard.
8. Restart the server
Install the World Wide Web Publishing Service
  1. On the Start menu, select Settings, Control Panel, and then click Add or Remove Programs.
  2. Click Add/Remove Windows Components.
  3. In the Components list, select the Application Server check box, and then click Details.
  4. Select Internet Information Services Manager, and then click Details.
  5. Select World Wide Web Service, and then select the check box.
  6. Click OK two times to return to the Components list, and then click Next.
  7. Click Finish when the IIS service is installed.
  8. Restart the server

Install .NET 3.0 HTTP Activation

  1. Click Start. Point to Administrative Tools, and then click Server Manager. In the Features section of the Server Manager home page, click Add features.
  2. On the Select Features page of the Add Features Wizard, expand .NET Framework 3.0 features.
  3. Expand WCF Activation and then select HTTP Activation.
  4. Click Next, and then click Install.
  5. When installation is complete, close the wizard.

Raise the domain function Level:

  1. Open Active Directory Users and Computers by clicking Start > All Programs > Administrative Tools, and then click Active Directory Users and Computers (you can also perform this action from the Active Directory Domains and Trusts snap-in).
  2. In the console tree, right-click the domain node and then click Raise Domain Functional Level.
  3. Under Select an available domain functional level, do one of the following:
Click Windows Server 2003, and then click Raise to raise the domain functional level to Windows Server 2003.
or
Click Windows Server 2008, and then click Raise to raise the domain functional level to Windows Server 2008.
  1. Read the warning message, and if you wish to perform the action, click Ok.
  2. You will receive an acknowledgement message telling you that the operation was completed successfully. Click Ok.

Raise the forest functional level:

  1. Log on to the PDC Emulator of the forest root domain with a user account that is a member of the Enterprise Administrators group.
  2. Open Active Directory Domains and Trusts by clicking Start > All Programs > Administrative Tools, and then click Active Directory Domains and Trusts.
  3. In the console tree, right-click Active Directory Domains and Trusts, and then click Raise Forest Functional Level.
  4. Under Select an available forest functional level, do one of the following:
Click Windows Server 2003, and then click Raise to raise the forest functional level to Windows Server 2003.
or
Click Windows Server 2008, and then click Raise to raise the forest functional level to Windows Server 2008.
  1. Read the warning message, and if you wish to perform the action, click Ok.
  2. You will receive an acknowledgement message telling you that the operation was completed successfully. Click Ok.
Finally Prepare active Directory and the forest root domain for exchange server 2010 and set the organization name of our exchange organization witch exists one time per active directory forest and prepares the forest root domain.
  1. Verify that you have the exchange 2010 DVD in your rom drive.
  2. Then click on Start >> Run and type d:setup /preparead /organizationname:[organization name] and click ok
  3. The command prompt will open with the setup do not press any or it will cancel the setup.
  4. Once the command prompt closes automatically it means that our command has completed succesfully

Note: setup /prearead is run on the Forrest root domain in active Directory. all other domain that are going to contain exchange server or exchange recipients need to run the setup/ preparedomain switch

Now we are ready to run the disk and active directory would be installed without errors. just follow the video tutorial for installation of exchange server 2010.

Leave a Reply