Using Setup.exe command line to install Exchange Server 2013 RTM

Share this:

Hi guys,

If you want to install Exchange Server 2013 through command-line the process changed a little bit from the previous version, first is most likely that you are going to use PowerShell instead of command prompt, and for that you need to use .Setup.exe.

The second thing is the Setup.exe instead of the If you want to install the mailbox role on an existent Exchange Server 2013 organization you just need to run the following command:

.Setup.exe /mode:install /Role:MB /InstallWindowsComponents /IacceptExchangeServerLicenseTerms


We have also a new switch called /DisableAMFiltering which allows to turn on or off the anti-malware feature!

Anderson Patricio (Portuguese)
Twitter: @apatricio

Written by Anderson Patricio

Anderson Patricio

Anderson Patricio is a Canadian MVP in Cloud and Datacenter Management, and Office Server and Services, besides the Microsoft Award he also holds a Solutions Master (MCSM) in Exchange and several other certifications. Anderson has been contributing to the Microsoft Community with articles, tutorials, blog posts, twitter, forums and book reviews. He is a regular contributor here at,, and Anderson (Portuguese).