How to install Microsoft Exchange server 2013- Exchange Management shell on the Windows 2008R2 server.

lianne143 used Ask the Experts™
I we  have Windows 2008R2 and recently we have installed Exchange 2013 on our network.
I would like to install the Microsoft Exchange server 2013- Exchange Management shell on the windows 2008R2 server.
Also, I would like the account that I use to be a member of the Exchange “Organizational Management” role group.

Please post me step by steps as how to install and set up this.
Any help would be great.
Watch Question

Do more with

Expert Office
EXPERT OFFICE® is a registered trademark of EXPERTS EXCHANGE®
MASEE Solution Guide - Technical Dept Head
Most Valuable Expert 2017

Hi lianne143,
This command will install management tools. Navigate to Exchange media/DVD.
Setup.exe /Role:ManagementTools /IAcceptExchangeServerLicenseTerms

Open in new window

please check this for more details


I copied the Exchange 2013 ISO to the Windows 2008R2 server I have extracted to a folder E:\EXC
Please see the attached snapshot and I am getting this error.setup.exe cannot accept command
"setup.exe cannot accept command line parameters. please use instead"

Please let me know if I am missing anything

Qlemo"Batchelor", Developer and EE Topic Advisor
Top Expert 2015

Please use the command line as shown in the first link, it is different from what MAS posted:
setup /m:install /r:t /InstallWindowsComponents /IAcceptExchangeServerLicenseTerm

Open in new window

Ensure you’re charging the right price for your IT

Do you wonder if your IT business is truly profitable or if you should raise your prices? Learn how to calculate your overhead burden using our free interactive tool and use it to determine the right price for your IT services. Start calculating Now!


Please see the error below
Windows PowerShell
Copyright (C) 2012 Microsoft Corporation. All rights reserved.

PS H:\> cd C:\
PS C:\> cd E:\EXC
PS E:\EXC> setup /m:install /r:t /InstallWindowsComponents /IAcceptExchangeServerLicenseTerm

</installwindowscomponents> is not a valid command line option. To list the available command line parameters, type Setu
p /?
Technical Consultant
Good Question, and Good Answer ^^^

There are some pre-reqs though

Run this first;
Enable-WindowsOptionalFeature -Online -FeatureName IIS-ManagementScriptingTools,IIS-ManagementScriptingTools,IIS-IIS6ManagementCompatibility,IIS-LegacySnapIn,IIS-ManagementConsole,IIS-Metabase,IIS-WebServerManagementTools,IIS-WebServerRole

and remember DOT SLASH first!!!!
./Setup.exe /Role:ManagementTools /IAcceptExchangeServerLicenseTerms

(I can feel a blog post coming on....)

MGMT tools
Michael B. SmithManaging Consultant

If you are going to use PowerShell, you must use ".\setup" instead of just "setup".

I recommend you use cmd.exe.

The error is actually complaining about the last parameter, which should be /IAcceptExchangeServerLicenseTerms - note the terminal 's'. If all you want is ManagementTools, then the command from @MAS is correct - except you used PS instead of cmd.exe.

So, for PowerShell

.\Setup.exe /Role:ManagementTools /IAcceptExchangeServerLicenseTerms

Open in new window

and for cmd.exe

Setup.exe /Role:ManagementTools /IAcceptExchangeServerLicenseTerms

Open in new window

Pavel MarinovCommercial Technical Support

Please make sure you have installed all the prerequisites:
Pete LongTechnical Consultant

Took me a couple of days, but I got round to it

Exchange 2016 / 2013 Manage Remotely via PowerShell


Do more with

Expert Office
Submit tech questions to Ask the Experts™ at any time to receive solutions, advice, and new ideas from leading industry professionals.

Start 7-Day Free Trial