Site icon Franky's Web

Installation of Exchange 2019 CU12 on Windows Server 2022

It's been quite a while since I wrote an article about the Exchange 2019 installation. The original article dealt with the installation on Windows Server 2019, but since Windows Server 2022 is now also supported by Exchange and a few small things have changed, here is a fresh article.

Disable Defender

To speed up the Exchange installation process, Windows Defender should be switched off during the installation. After the Exchange installation, Windows Defender is switched on again. If another virus scanner is in use on the server, this should also be deactivated.

Windows Defender is included in the standard installation of Windows Server 2022 and can be deactivated via the Windows Security Center:

In this case, it is sufficient to switch off "Real-time protection":

At the end of the article you will find the corresponding configuration with the exceptions for Windows Defender required for Exchange.

Install prerequisites

Before Exchange Server can be installed, some prerequisites must be installed. First of all, these are Windows features that can be easily installed using PowerShell:

Install-WindowsFeature Server-Media-Foundation, NET-Framework-45-Features, RPC-over-HTTP-proxy, RSAT-Clustering, RSAT-Clustering-CmdInterface, RSAT-Clustering-Mgmt, RSAT-Clustering-PowerShell, WAS-Process-Model, Web-Asp-Net45, Web-Basic-Auth, Web-Client-Auth, Web-Digest-Auth, Web-Dir-Browsing, Web-Dyn-Compression, Web-Http-Errors, Web-Http-Logging, Web-Http-Redirect, Web-Http-Tracing, Web-ISAPI-Ext, Web-ISAPI-Filter, Web-Lgcy-Mgmt-Console, Web-Metabase, Web-Mgmt-Console, Web-Mgmt-Service, Web-Net-Ext45, Web-Request-Monitor, Web-Server, Web-Stat-Compression, Web-Static-Content, Web-Windows-Auth, Web-WMI, Windows-Identity-Foundation, RSAT-ADDS

After the Windows features have been installed, the required C++ runtimes must be installed. The two packages can be downloaded here:

In addition, the IIS URL Rewrite Module in the 64 bit version is required. Here is the corresponding download link:

UCMA 4.0 must now be installed from the Exchange ISO. UCMA can be found in the ISO in the "UCMARedist" directory:

If the UCMA is installed, all prerequisites are installed. The server should now be restarted once.

Exchange Setup

All the prerequisites for Exchange are now installed and the installation of Exchange Server can begin. To do this, the setup is started from the Exchange CU12 ISO:

I have only taken screenshots of the relevant dialogs. You can specify quite early on whether diagnostic data may be sent to Microsoft:

The recommended settings can be deselected here, giving you more control over the other setup settings:

Only the mailbox role is required for an Exchange 2019 Standard installation:

The next dialog asks for the installation path. I still recommend that you do not install the Exchange installation on C: but use a separate drive. In practice, C: for the system, D: for Exchange and other volumes for the databases have proven to be the best choice. As Exchange creates quite a lot of logs, the volume for Exchange should be at least 200 GB in size. A 100 GB C: drive is usually sufficient:

If it is a new Exchange organization, you will be asked for the name of the organization:

The installation can now be started. For a new Exchange organization, the two warnings are normal; they indicate that the Active Directory schema is being adapted by the setup for Exchange:

The setup has now been running for quite a while:

Tip: Estimate the time required for the installation. Each Exchange CU basically performs a new installation of Exchange, so it can be an advantage if you know the time you need to allow for the installation of CUs. Just doing it during your lunch break could be tight.

Install updates

At the time of this article, there was already a security update for Exchange Server 2019 CU12. After installing Exchange, you should therefore check whether there are any further updates. In this case, the security update from May 2022 can be installed:

Here, too, it can't hurt to note the duration of the update. Exchange security updates can take different lengths of time, but it is always good as a rough indicator

Activate and customize Defender

Since the Defender was deactivated at the beginning of the installation, it is now time to configure and reactivate the Defender.

The script "Get-Exchange2016AVExclusions.ps1" by Paul Cunningham can be downloaded and saved on the Exchange server:

The script generates 3 lists with the necessary exceptions for virus scanners. These exceptions can also be used for other AV products. The script can also configure Windows Defender directly:

Finally, don't forget to switch Windows Defender back on:

Exchange Health Checker

The installation is now complete, to avoid future problems, the Exchange Server Health Checker should be run. If warnings or errors occur, the Exchange Health Checker also provides a corresponding article on how to resolve the problem.

Exchange Health Checker can be downloaded here:

Exit mobile version