Exchange Server 2019- Installation on Windows Server 2019 Core Edition

In this article we will walk through the installation of Microsoft Exchange Server 2019 with Desktop Experience on Windows Server 2019 Core Edition.

Exchange 2019 Lab Setup

This is a fully virtualized LAB on ESX 6.5 Server. You can deploy the same on VMware workstation or Hyper-V. We are also using Windows Server 2019 Preview edition with Desktop Experience in this LAB as Domain Controller. Following table shows the LAB environment

LAB Virtual Resources

You can specify the hardware resources as per your environment. This configuration will work for your lab setup and testing purpose.

Installation of Domain Controller on Server 2019 GUI

As Microsoft has release new Windows Server 2019 with more enhanced features and security related stuff. We have preview editions available to take a look and drive it to look more in depth. Domain Controller has been installed on Windows Server 2019, you can download a separate HowTo from TechNet Gallery with below URL.

Prepare Windows Server 2019 Core for Exchange

For installation Exchange 2019 on Windows Server 2019 Core edition, we have to prepare the Core OS such as Server Name, Static IP, GW, DNS, time zone and Domain Joining etc.

After installing Windows Server 2019 Core, you will see this screen where you have to set the password. I am using VMWare VSphere for this Lab. Press on OK to reset the password.

At this point we have successfully changed the administrator password. Let’s move to make other settings.

Start the Server Configuration Tool

1. Type Sconfig.cmd, and then press ENTER. The Server Configuration tool interface opens:

You will see the blue screen from where you can modify different system settings. Let’s do the necessary changes for Exchange Server 2019 installation. Press 2 to change the computer name.

This will change your Server Name. Press enter to continue.

Core Server IP Configuration

Press 8 for networking configurations.

We will select option 1 and option 2 for IP Address, GW and DNS configurations.

We will choose S option for static IP addressing.

Now choose option 2 for DNS Configurations.

At this point we have change the IP from DHCP to Static and DNS configurations

Now we have changed the setting as per our Lab. Give a reboot to your Core Server and now we will join the domain to this Core Server. Choose option 1 from the main configurator screen.

Type D for domain and type your domain name and press enter.

Provide your administrator credentials with domain and give the password.

We have to reboot the core server after joining the domain. When server come up, login with domain/administrator so that we can prepare the server for Exchange Installation. You can also enable Remote Desktop and access the Core Server from RDP.

From option Number 7 we have enabled the Remote Desktop so that we can copy paste command to this Core Server.

We have successfully enable the RDP and access the Core Server from Desktop utility.

We need to copy some software to Core Server C:\ drive so Let’s disable the Core Server Firewall to access its C:\ drive remotely. This is lab environment but in production environment you need to enable file & print sharing from option or necessary ports to access Core Server C:\ drive. By default, the Firewall is enabled on all profiles. Let’s check the status of the firewall.

We will disable it with this command.

We have disabled the Firewall on all profiles.

Download necessary software

From an admin workstation, download the following software and copy it over to the Server Core we are preparing for the Exchange installation (let’s say you copy the files into a C:\Software folder):

Visual C++ Redistributable Packages for Visual Studio 2013 (vcredist_x64.exe)

Then login to Server Core and do the following: Install VC++ 2013 Redistributable

We have access the Core Server C:\ Drive from Domain Controller Server and create one folder named software’s where we have copied the software to be install on Core Server.

From Core Server go to C:\ drive and go to softwares-prerequisites folder. Run the vcredist_x64.exe

As .Net is already installed so no need to run this. We have to install UCM from Exchange Server 2019 ISO image. So mount the Exchange 2019 ISO image to this Core Server VM and go to UCMAR folder.

We are not covering the starting steps where you have to select agreement etc.

AT this point we have installed all prerequisites software’s on Core Server. Now we will go to CMD and prepare Active Directory for the Exchange Installation. Exit from this and go to cmd.exe

Prepare Active Directory for Exchange 2019

Before you install Microsoft Exchange Server 2019, you need to prepare your Active Directory forest and domains. Here you need to mount Exchange Server 2019 ISO image and move to ISO image location. D:\

This preparation will be done through the following 3 steps:

Extend the Active Directory schema

The first step in getting your organization ready for Exchange 2019 is to extend the Active Directory schema by running the following command:

“Setup.exe /PrepareSchema /IAcceptExchangeServerLicenseTerms”

Prepare Active Directory

The second step that Exchange will create containers, objects, and other items in Active Directory that Exchange Server will use to store information by running the following command:

“Setup.exe /PrepareAD /OrganizationName:”MSTechGuru” /IAcceptExchangeServerLicenseTerms”

Prepare Active Directory domains

The final step is to prepare the Active Directory domains where Exchange will be installed or where mail-enabled users will be located by running the following command:

“Setup.exe /PrepareAllDomains /IAcceptExchangeServerLicenseTerms”

At the end of these three steps, your Active Directory 2019 environment will be ready for Exchange Server 2019 installation on Windows Server 2019 Core.

As you can see the Active Directory is extended with Exchange Server security groups

A reboot is required here.

Installation of Exchange Server 2019

After rebooting the server mount the Exchange Server 2019 ISO image in your VM. Use the following command to start Exchange Server installation. The PowerShell command will also install the required OS components for Exchange:

.\Setup.exe /m:install /roles:m /IAcceptExchangeServerLicenseTerms /InstallWindowsComponents

Let’s have a coffee break here, it will take approximately 30 to 45 minutes depends on the VM resources you have given.

At this point we have successfully installed Microsoft Exchange Server 2019 on Windows Server 2019 Core Edition. Give a reboot to Core Server and we will remotely access Exchange 2019 ECP and OWA.

Great! we have access the ECP of Exchange 2019 remote which is running Windows Server Core Edition.

You can explore different option available in ECP.

Accessing Exchange 2019 PowerShell on Core Server

We have seen that the installation has been done successfully on Core Server. Exchange PowerShell is one of the most key component for Exchange Administrators to access and perform day to day jobs and troubleshooting’s. Let’s access Exchange 2019 PowerShell from Windows 2019 Core Server.

You just need to type LaunchEMS you will see a new Exchange Server 2019 PowerShell comes up and you can perform different task with health status and troubleshooting’s.

I hope you will enjoy this article.

Leave a Reply