ENTERPRISE

Installing Exchange Server 2010 : Unattended setup

1/15/2011 9:33:41 AM
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.


Other  
  •  Performing a typical Exchange Server 2010 install
  •  Installing the Exchange Server 2010 prerequisites
  •  Outlining Improvements in SharePoint 2010
  •  Understanding the Capabilities of SharePoint 2010
  •  Exchange Server 2010 server roles (part 3) - Edge Transport Server role
  •  Exchange Server 2010 server roles (part 2)
  •  Exchange Server 2010 server roles (part 1) - Mailbox Server role
  •  Exchange Server 2010 and Active Directory
  •  Microsoft Enterprise Library : Non-Formatted Trace Listeners
  •  .NET Micro Framework : Execution Constraints
  •  .NET Micro Framework : Weak Delegates
  •  .NET Micro Framework : Multithreading and Synchronization
  •  Parallel Programming with Microsoft .Net : Dynamic Task Parallelism - An Example
  •  Parallel Programming with Microsoft .Net : Dynamic Task Parallelism - The Basics
  •  Parallel Programming with Microsoft .Net : Pipelines - Anti-Patterns
  •  .NET Enterprise Services Technologies : BizTalk Server
  •  .NET Enterprise Services Technologies : Application Blocks and Software Factories
  •  .NET Enterprise Services Technologies : Windows Workflow Foundation (WF)
  •  .NET Enterprise Services Technologies : SQL Server
  •  Parallel Programming with Microsoft .Net : Pipelines - Variations
  •  
    Top 10
    Has Apple Lost It? (Part 2)
    Has Apple Lost It? (Part 1)
    Sony Computer Entertainment (Part 3)
    Sony Computer Entertainment (Part 2)
    Sony Computer Entertainment (Part 1)
    Sony's 4K Ultra World - Ready For Yet Another Resolution Revolution
    Analyze This - Wi-Fi Nets Via Smartphone (Part 2)
    Analyze This - Wi-Fi Nets Via Smartphone (Part 1)
    Devolo dLAN 500 AV Wireless + Starter Kit
    The Slithery World Of Hybrid Cloud Security
    Most View
    A Case For Quality (Part 3) - StilGut – UltraSlim Case for the new iPad, Toffee – Premium Leather Folio for iPad 2/3
    BlackBerry Curve 9220 Review
    - Mobile Application Security : Bluetooth Security - Bluetooth Security Features
    Personalizing Windows 7 (part 5) - Choosing Your Mouse Pointers
    The Best iPhone Car Accessories
    Programming Excel with VBA and .NET : Variables (part 4) - User-Defined Types & Objects
    Quad Gods - The Mobile Chip Race Is Beginning
    AMD FX-8350 - The Piledriver Update (Part 1)
    Programming Windows Services with Microsoft Visual Basic 2008 : Administration of Services
    Data Storage Considerations (Part 2)
    Windows Phone 7 : Working with Controls and Themes - Adding Transition Effects
    LEPA G1000 - Surpassing 80 Plus Gold Level
    The Future Of Apple: Chip Off The Block (Part 10)
    Creative Sound BlasterAxx SBX 8
    Garmin NUVI 50LM
    The Ubuntu Server Project (Part 4)
    Kingston Hyperx Predator - The Cheapest Way To Boost Your Frame Rates
    Collaborating via Web-Based Communication Tools : Evaluating Instant Messaging Services
    Automating Blind SQL Injection Exploitation
    The State Of Mobile Gaming 2012 (Part 1)