After installing all pre-requisites, the next step is to prepare our Active Directory forest for Exchange Server 2019 installation.

Check out the first part of this blog series on How to Install Pre-requisites on Windows Server 2019 to install Exchange 2019.

Exchange 2019 setup will complete these tasks for us automatically, but we want to prepare AD Forest manually by using setup.exe command.

We need to make sure that we have sufficient permission to perform these tasks.

Understanding the Test Lab:

  • WS2K19-DC01: Domain Controller and DNS (mylab.local domain).
  • WS2K19-EX19MBX01: Member Server for mylab.local domain.

Prepare Active Directory Forest for Exchange 2019 Installation:

On the WS2K19-EX19MBX01 member server. Right-click on the Exchange ISO image file that we have downloaded, and then select Mount. Note the virtual DVD drive letter that’s assigned.

1. mount exchange 2019 setup

Open Windows PowerShell (admin).

12. open windows powershell admin

Step 1: Extend the Active Directory schema:

To extend the AD schema for Exchange 2019, run the below command in a Windows PowerShell.

D:\Setup.exe /IAcceptExchangeServerLicenseTerms /PrepareSchema

2. prepare ad forest schema

Notes:

  • Your account needs to be a member of the Schema Admins and Enterprise Admins security groups to run the above command.
  • After Setup finishes extending the schema, you’ll need to wait while Active Directory replicates the changes to all of your domain controllers before you proceed.
3. AD schema upgraded successfully

Step 2: Prepare Active Directory

After the Active Directory schema has been extended, you can prepare other parts of Active Directory for Exchange. During this step, Exchange will create containers, objects, and other items in Active Directory to store information. Run below cmdlet in Windows PowerShell.

D:\Setup.exe /IAcceptExchangeServerLicenseTerms /PrepareAD /OrganizationName:”MSFTWEBCAST”

4. prepare ad organization
5. ad organization msftwebcast
5. ad organization msftwebcast

Step 3: Prepare Active Directory domains:

This step creates additional containers and security groups in Active Directory and sets the permissions so Exchange can access them. Run below cmdlet in PowerShell.

D:\Setup.exe /IAcceptExchangeServerLicenseTerms /PrepareAllDomains

6. prepare domain
7. domain preparation completed

Install MS Exchange 2019 on Windows Server 2019:

At this point, we are ready to install our first Exchange 2019 server on Windows Server 2019 (with desktop experience) VM created in the virtual test lab.

Go to Exchange 2019 Setup folder.

Double-click on the Setup.exe. It will start the installation procedure.

8. run setup.exe

Select Connect to the Internet and check for the updates option to download the latest Exchange 2019 updates and install it during the setup. Click Next.

9. click next

The setup will copy the Exchange setup files to the local drive.

10. copying setup files

After copying the files, the setup will be initialized.

11. Initializing setup

On the Information page, click Next after reading the brief overview of Exchange Server.

12. click next on introduction page

Choose I accept the terms in the license agreement. Then click Next.

13. accept terms

Choose Use recommended settings for the deployment. Click Next.

14. select recommended settings

In Server Role Selection, Choose Mailbox Role.

15. choose mailbox role

Note: Verify the second option of the automatic installation of required roles and features. This feature is helpful in case the required roles and features are not installed.

Browse the location where Exchange 2019 will install. We will go with the default location. Then click Next.

16. specify installation location

Choose Malware Protection Settings and click Next.

17. enable malware protection

Click on Install once Setup passed all readiness checks.

18. click on install exchange 2019 setup

Now the installation will start, note that this will take some time to finish the setup based on the environment.

19. copying exchange files

Once the setup completes the installation, on the Completion page, click Finish.

20. click on finish after setup completes

It’s recommended to restart the server after installing Exchange Server.

21. restart the server 2019 after installing exchange 2019

Verify Exchange 2019 Installation:

Open the web browser.

Access Exchange Admin Center by navigating to the URL https://localhost/ecp. Provide the user credentials and then click sign in.

22. access exchange admin center
23. choose timezone

Verify the Administrator user Mailbox under the recipient section.

24. verify administrator mailbox

That’s all for this guide on How to Install Exchange 2019 on Windows Server 2019. Hope this will be helpful.