<

How to install Exchange Server 2013 from Command Prompt

Published on
12,707 Points
6,407 Views
3 Endorsements
Last Modified:
Approved
In this post, we will have a look on how to install Exchange Server 2013 from command prompt, instead of using the graphical user interface.

Below are the steps that are to be performed to install Exchange Server 2013.

1. Domain Controller and Global Catalog server requirement
2. Operating System requirement
3. Coexistence of Legacy version of Exchange
4. Prerequisites installation
5. Installing Exchange Server
6. Preparing Schema
7. Preparing Active Directory
8. Installing Exchange Server 2013 in Command Prompt

Domain Controller and Global Catalog server requirement

Schema Master - Windows Server 2003 SP2
Global Catalog server and Domain Controller - Windows Server 2008
Domain and Forest Function Level has to be Windows 2003 or later

Operating System requirement

Exchange Server 2013 can be installed only on Windows Server 2008 R2 Sp1 and Windows Server 2012

Coexistence of Legacy version of Exchange

Exchange server 2007 and Exchange Server 2010 can co exist with Exchange Server 2013 (You need a Rollup for Exchange 2007 and Exchange 2010 has to be ungraded to Service Pack 3. Both the rollup and Exchange 2010 Sp3 will be released on First quarter of Year 2013). Exchange Server 2003 needs to be uninstalled before installing Exchange Server 2013.

Prerequisites installation

These prerequisites are to be installed using Windows Server 2008 R2 ( http://technet.microsoft.com/en-us/library/bb691354(v=exchg.150))

Microsoft .NET Framework 4.5 RC
Windows Management Framework 3.0
Microsoft Unified Communications Managed API 4.0, Core Runtime 64-bit
Microsoft Office 2010 Filter Pack 64 bit
Microsoft Office 2010 Filter Pack SP1 64 bit
Microsoft Knowledge Base article KB974405 (Windows Identity Foundation)
Knowledge Base article KB2619234 (Enable the Association Cookie/GUID that is used by RPC over HTTP to also be used at the RPC layer in Windows 7 and in Windows Server 2008 R2)
Knowledge Base article KB2533623 (Insecure library loading could allow remote code execution)

Note: Once you have installed the "Microsoft Unified Communications Managed API 4.0, Core Runtime 64-bit ", you have to uninstall the component "Microsoft Visual C++ 11 Beta Redistributable (x64)"

Register ASP.NET with .NET Framework 4.5 in Internet Information Services (IIS) using the command below. This needs to be done from the command prompt and once the registration is completed, reset IIS using IISRESET command.
%SystemDrive%\Windows\Microsoft.NET\Framework64\v4.0.30319\aspnet_regiis.exe -ir -enable

Open in new window

Preparing Schema

Schema Preparation can be done from the command prompt as shown below

Navigate to the Exchange 2013 installation file path and execute the setup.exe file with the following switch:
D:\Exchange-2013>Setup.exe /PrepareSchema /IAcceptExchangeServerLicenseTerms

Open in new window


Prepare Schema
Prepare Active Directory

Navigate to the Exchange 2013 installation file path and execute the setup.exe file with the following switch:
D:\Exchange-2013>Setup.exe /PrepareAD /OrganizationName:OrganizationName /IAcceptExchangeServerLicenseTerms

Open in new window


Prepare AD
Once the Active Directory Preparation is completed, default set of below Security Groups related to Exchange Server 2013 will be created automatically

Security Groups
Installing Exchange Server

For this demo, we assume the following details:
1. I am going to install Exchange Server 2013 with Client Access, Mailbox and Management Tools.
2. I am assuming that this server is an external internet-facing Client Access Server
3. I am changing the installation Directory to a different drive
D:\Exchange-2013>Setup.exe /Mode:Install /Roles:ClientAccess, Mailbox, ManagementTools /t E:\Exchange-Installation /ExchangeCASServerDomain:Chennai-Exchange /IAcceptExchangeServerLicenseTerms

Open in new window


Installation
Once the Exchange installation is completed, you can user the URL https:\\CASServerName\ECP to login to the Exchange Admin Center
3
Comment
1 Comment
 

Administrative Comment

by:Eric AKA Netminder
Rajkumar-MCITP,

Congratulations! Your article has now been published.

ericpete
Page Editor
0

Featured Post

Cloud Class® Course: Python 3 Fundamentals

This course will teach participants about installing and configuring Python, syntax, importing, statements, types, strings, booleans, files, lists, tuples, comprehensions, functions, and classes.

Join & Write a Comment

Sending a Secure fax is easy with eFax Corporate (http://www.enterprise.efax.com). First, just open a new email message. In the To field, type your recipient's fax number @efaxsend.com. You can even send a secure international fax — just include t…
This is Part-2 of Learning to use the Power of Mailwasher Pro so if you haven't watched Part-1 yet, I urge you to do so before watching this video. Click this link to watch Part-1 (https://www.experts-exchange.com/videos/56638/Learn-to-use-the-POWER…

Keep in touch with Experts Exchange

Tech news and trends delivered to your inbox every month