Applications Server
 

Installing Exchange Server 2010 : Unattended setup

12/6/2011 5:25:14 PM
It is also possible to install Exchange Server 2010 fully unattended. This may be useful when installing multiple servers, since unattended setup is actually less prone to errors. This process assumes that all the prerequisite software has been installed, including Internet Information Server and the LDIFDE program (HTTP://TINYURL.COM/LDIFDE) to prepare the Schema.

1 PrepareSchema

The first step in an unattended setup is to prepare the schema. This basically means upgrading the schema to an Exchange Server 2010 level. Several Exchange-related objects and attributes are added to the Active Directory Schema, which can take a considerable amount of time. You'll need to be patient, again.

To prepare the Schema, log on to the server as an administrator who is a member of both the Schema Admins and Enterprise Admins Security Groups. Open a command prompt, navigate to the Exchange Server 2010 installation media and type the following command:



The command line setup program will start and upgrade the Active Directory schema to an Exchange Server 2010 level. If you have multiple Domain Controllers, wait until the Schema changes have been replicated to all Domain Controllers in the forest before continuing with the next step.

2 PrepareAD

After preparing the Schema, Active Directory now has to be prepared for Exchange Server 2010 because, the Exchange Server 2010 organization is installed in the Configuration Partition of Active Directory. This is why the account used for the installation needs to be a member of the Enterprise Admins Security Group (Domain Administrators cannot write in the Configuration Partition).

Log on to the server, open a command prompt and navigate to the Exchange Server 2010 installation media, and type this command:



The Active Directory Configuration Partition will now be prepared for Exchange Server 2010 using the previously-mentioned "E14" Organization name.

Figure 1. Preparing the Active Directory Configuration Partition for Exchange Server 2010.

Please note the warning during setup; if you create an Exchange Server 2010 organization, you are not able to add any Exchange Server 2007 server roles to it!

If you want to check the creation of the Exchange Server 2010 organization you can use ADSIEdit (see Figure 8) and navigate to the Configuration container. Open CN=Configuration > CN=Services > CN=Microsoft Exchange. Right here, a new entry CN=E14 holding the Exchange Server 2010 configuration should be created.

If you have multiple Domain Controllers, wait until the Schema changes have been replicated to all Domain Controllers in the forest before continuing with the next step.

3 PrepareDomain

The last step in preparing the Active Directory environment is to prepare the domain that is going to host Exchange Server 2010.

Log on to the server using an administrator account, open a command prompt and navigate to the Exchange Server 2010 installation media. Type the following command:



Figure 2. Check the creation of the Exchange organization in Active Directory using ADSIEdit.

The current domain will now be prepared for the introduction of Exchange Server 2010. If you want to prepare all domains in the forest for Exchange Server 2010, you can also use the /PrepareAllDomains switch.

During the preparation of the domain, a container is created in the root of the domain called "Microsoft Exchange Security Groups." This container holds the following Security Groups:

  • Exchange all hosted organizations

  • Exchange organization administrators

  • Exchange Public Folder administrators

  • Exchange Recipient Administrators

  • Exchange Self-Service users

  • Exchange Servers

  • Exchange Trusted Subsystem

  • Exchange view-only administrators.

  • Exchange Windows permissions.

  • ExchangeLegacyInterop.

Figure 3. The Security Groups created after preparing the domain for Exchange Server 2010.

When the preparation of the domain (or indeed domains) is finished, just make sure you wait until replication to all the Domain Controllers is finished.

4 Install Server roles

The very last step is to install the actual server roles. This can be done using the setup.com program with the /mode and /roles switches. The /mode switch is used to select the "install" option, the /roles switch is used to select which server roles are installed.

For an unattended typical server setup, log on to the server and open a command prompt. Navigate to the Exchange Server 2010 installation media (one last time) and enter the following command:



The Exchange Server 2010 Hub Transport Server, Client Access Server and Mailbox Server role will now be installed in the default location, which is C:\Program Files\Microsoft\Exchange\v14.

When entered, the following will be shown on the screen:

Figure 4. Unattended setup of a typical Exchange Server 2010 server.
 
Others
 
- Microsoft Dynamic GP 2010 : Harnessing the Power of SmartLists - Renaming Fields for clarity
- Microsoft Dynamic GP 2010 : Controlling access by sharing or restricting SmartList Favorites
- Sharepoint 2007 : Determine Whether a Site Is WSS or MOSS
- Sharepoint 2007 : Navigate Through a SharePoint Site - Navigate Through a SharePoint Site
- Sharepoint 2007 : Change My Regional Settings
- Designing Active Directory for Exchange Server 2007 & Determining Hardware and Software Components
- Configuring Exchange Server 2007 for Maximum Performance and Reliability
- Microsoft Dynamic CRM 4.0 : Authentication (part 4)
- Microsoft Dynamic CRM 4.0 : Authentication (part 3)
- Microsoft Dynamic CRM 4.0 : Authentication (part 2)
- Microsoft Dynamic CRM 4.0 : Authentication (part 1)
- Implementing with Microsoft Dynamics Sure Step 2010 : Setting up a program for solution rollout
- Implementing with Microsoft Dynamics Sure Step 2010 : Waterfall-based implementation project types
- Microsoft Dynamics AX 2009 : Design and Implementation Patterns (part 2) - Table-Level Patterns
- Microsoft Dynamics AX 2009 : Design and Implementation Patterns (part 1) - Class-Level Patterns
- BizTalk 2009 : Creating More Complex Pipeline Components (part 4) - Custom Disassemblers
- BizTalk 2009 : Creating More Complex Pipeline Components (part 3) - Validating and Storing Properties in the Designer
- BizTalk 2009 : Creating More Complex Pipeline Components (part 2) - Schema Selection in VS .NET Designer
- BizTalk 2009 : Creating More Complex Pipeline Components (part 1) - Dynamically Promoting Properties and Manipulating the Message Context
- Microsoft Dynamics GP 2010 : Tailoring SmartLists by adding Fields
 
 
Most View
 
- Adobe Flash Professional CS5 : Manipulating Symbols in 3D Space (part 1) - Controlling the camera view: Perspective and vanishing point
- Adobe Flash Professional CS5 : Manipulating Symbols in 3D Space (part 2) - Transforming symbols with the 3D Rotation tool
- Mobile Web Apps : Loading Pages (part 3) - Going Backwards
- Microsoft Dynamics AX 2009 : Design and Implementation Patterns (part 1) - Class-Level Patterns
- Introducing the iPhone SDK (part 5) - Programming Paradigms
- Beginning Android 3 : Set Up the Emulator
- Microsoft Excel 2010 : Analyzing Worksheet Data - Adding Data Validation to a Worksheet
- Microsoft Dynamic CRM 2011 : Resolving a Service Request Case
- Accessing PowerPoint on the Web and Mobile Devices (part 1) - Setting Up SkyDrive
- Microsoft Excel 2010 : Using Print Preview