
This article will guide you through the process of installing Exchange Server on a Windows Server. Before proceeding with the installation, ensure that you have completed the necessary prerequisites and prepared your Active Directory and domains. Once these tasks are completed, you are ready to begin installing Exchange Server.
Before installing Exchange Server
Before continuing with the installation of Exchange Server, make sure that the following requirements are met.
Installing Exchange Server prerequisites
- Preparing Active Directory and domains for Exchange Server.
- Once both of these tasks have been completed, you are ready to move forward with the actual installation of Exchange Server. This article will guide you through the process step by step on a Windows Server.
Important: After you install Exchange on a server, you must not change the server name. Renaming a server after you’ve installed an Exchange server role is not supported.
Download Exchange Server
Go to the Exchange Server build numbers and release dates page. The page lists all Exchange Server build numbers and release dates. Download and save the Exchange Server ISO image.
Note: We recommend downloading the latest Exchange Server build version.
In File Explorer, right-click on the Exchange Server CU ISO image file and select Mount. It will mount the ISO to a drive. For example, the F:\ drive. The F:\ drive contains the Exchange installation files.

Mount the Exchange ISO image before proceeding to the next step.
Install Exchange Server with command line
There are two options for installing Exchange server. You can choose to:
- Install Exchange Mailbox server using the setup wizard
- Install Exchange Mailbox server using unattended mode (this article)
The Exchange setup wizard will guide you to install Exchange Server with GUI. The Exchange unattended mode will install Exchange Server with the command line.
Note: The Exchange Server installation will fail if there is a pending reboot available on the system. We recommend restarting the Windows Server before you start the installation.
Run Command Prompt as administrator. Install the Mailbox Server Role and the management tools in the default folder on the local server.
C:\>F:\Setup.exe /IAcceptExchangeServerLicenseTerms_DiagnosticDataOFF /mode:Install /r:MB
Microsoft Exchange Server 2016 Cumulative Update 23 Unattended Setup
Copying Files...
File copy complete. Setup will now collect additional information needed for installation.
Languages
Management tools
Mailbox role: Transport service
Mailbox role: Client Access service
Mailbox role: Mailbox service
Mailbox role: Front End Transport service
Mailbox role: Client Access Front End service
Performing Microsoft Exchange Server Prerequisite Check
Configuring Prerequisites COMPLETED
Prerequisite Analysis COMPLETED
Configuring Microsoft Exchange Server
Preparing Setup COMPLETED
Stopping Services COMPLETED
Copying Exchange Files COMPLETED
Language Files COMPLETED
Restoring Services COMPLETED
Language Configuration COMPLETED
Exchange Management Tools COMPLETED
Mailbox role: Transport service COMPLETED
Mailbox role: Client Access service COMPLETED
Mailbox role: Mailbox service COMPLETED
Mailbox role: Front End Transport service COMPLETED
Mailbox role: Client Access Front End service COMPLETED
Finalizing Setup COMPLETED
The Exchange Server setup operation completed successfully.
Setup has made changes to operating system settings that require a reboot
to take effect. Please reboot this server prior to placing it into production.
Exchange Server Mailbox Role finished installing. Reboot the server.
Sign in to Exchange Admin Center (EAC)
Sign in to Exchange Admin Center (EAC). Start your favorite browser and go to https://hostname/ecp. Change the hostname to yours. Another way is to use https://localhost/ecp.
You will get a certificate warning in your browser. Accept the risk and continue. In our example, the Exchange Server hostname is EX01-2023. Fill in the domain and administrator credentials. Then, click sign in. The mailbox area is almost empty, except for one mailbox that shows up. That’s the account that you used for installing Exchange Server.
Conclusion
You learned how to install Exchange Server step by step on Windows Server. An excellent way to install the Mailbox Server Role is with the command line. After a reboot, verify that you can sign in to the Exchange Admin Center.