Hello Everyone

Here is my First blog about Exchange 2010 Unattended Installation Mode.

Let’s discuss about the deployment Scenario for Exchange 2010 in Unattended Mode,

Types of Setup

We have Following Types of Setup which we can perform for Exchange server

1) Exchange Setup GUI:  We can run the Exchange 2010 Setup wizard GUI Mode

2) Exchange Unattended Setup: Setup.com is an unattended which we need to perform using Command prompt or through a script

Before we start our setup we need to install the prerequisites


  • We need to make sure that our Forest Functional Level is windows 2003 Active Directory
  • Minimum OS should be Windows Server 2008 with SP2 64bit or Windows Server 2008 R2 must be installed for Exchange 2010 server
  • Configure Raid as per your requirement.
  • Make Sure to  install Windows Updates
  • Permissions for deploying Exchange 2010
    • Schema Admins
    • Domain Admins
    • Enterprise Admins
    • Local administration rights on the server
  • Imp Note: If we you are planning for DAG (Database Availability Group) We Must install Windows Enterprise 2008 Sp2 or R2 because The Standard Edition doesn’t support the features needed for DAG.
  • Make Sure the IP Settings are proper
  • Microsoft Office Filter Packs http://www.microsoft.com/download/en/details.aspx?displaylang=en&id=17062
  • Adding  Import-Module ServerManager from Power Shell
  • Add-WindowsFeature cmdlet to install the component

We are deploying the following roles in Exchange 2010 

Client Access, Hub Transport, and Mailbox server for this we need the following features: 

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


After the restart launch another elevated Windows PowerShell console and run the following command

Set-Service NetTcpPortSharing -StartupType Automatic


Just a quick Note:

Before Exchange 2010 SP1 released we need to install this components manually

Now Exchange SP1 has new deployment Functionality were it will install all the components automatically


More information


We can now select the /InstallWindowsComponents parameter during an unattended install of Exchange 2010 SP1

Also we need to install some of the Hotfixes if we are deploying

Exchange 2010 SP1 and SP2 Hotfixes for Windows Server 2008 R2

List of Hotfixes





For more information you can use this link


Before we install Exchange Server in our Organization we need to prepare schema and AD

Setup.com /Prepareschema or Setup.com /PS

To run this command you should have schema admin rights and Enterprise Admin.

Setup /PrepareAD /OrganizationName:organization name

Once we are done with Prepare schema same as we need to run prepare AD.

Lets begin the Setup

setup.com /mode:install /role:CA,MB,HT,MT /organizationName:MyExchangeserver

This command we need to run to install the following roles Client Access Server,Mailbox & Hub-Transport

Now we need to restart the server

Verifying Our Exchange server setup.

Here is very important thing which we need to check to verify our setup.

Microsoft Recommends to verify the setup by using Get-ExchangeServer Cmdlet or by reviewing the Setup logs file.

We can use this CMD to check Full information about our Exchange Server

Get-ExchangeServer |FL


You can find the setup log at <system drive>\ExchangeSetupLogs\ExchangeSetup.log. The <system drive> variable represents the root directory of the drive where the operating system is installed.

For more info you can refer


Thanks for Viewing.

Exchange 2010 Setup in Unattended Mode


Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out /  Change )

Google photo

You are commenting using your Google account. Log Out /  Change )

Twitter picture

You are commenting using your Twitter account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )

Connecting to %s