Running Exchange 2019 on Windows Server 2019 Core, is the “new” preferred way to run Excahnge, because of the better performance with core, fewer updates and the smaller attack surface!
So let’s get a Windows Server 2019 Core up and running, choose to installed it without Desktop Experience!
After installation, you will be asked to change password, then after that, you will get the command prompt, go and launch SCONFIG:
Setup the following:
- Computer name
- Enable remote Desktop
- Set static IP, gateway and DNS
- Join the domain
- Activate Windows
- Download and install updates
- Reboot for the last time
After reboot, we need to do a few things before running the install:
1. Enable File Sharing
To get the Exchange ISO transferred to the core server
“netsh advfirewall firewall set rule group=”File and Printer Sharing” new enable=Yes”
Then access the Exchange server share from remote server with the Exchange ISO:
Start –> Run –> \\EXCH01\c$
- Create folder !INSTALL
- Copy Exchange 2019 ISO to that folder
- Rename ISO from the long name to ex. EXCH2019.iso
2. Mounting the Exchange Server 2019 ISO
Now to mount the Exchange Server 2019 ISO, run the following commands:
Start powershell with “powershell” at the prompt, wait for [PS C:\Users…] prompt, then:
Mount-DiskImage -ImagePath “C:\!INSTALL\EXCH2019.iso”
3. Installing UCMA runtime 4.0
To install UCMA runtime 4.0 as required by the setup of Exchange you can navigate to the UCMARedist folder in the ISO and run the setup.exe file, then run the graphical installer.
4. Installing Visual C++ 2013 Redistributable Package
This package is not on the ISO, so go and download it and run afterwards (Download from remote server and copy to core server as the ISO, is easiest”
5. Install the Server media Foundation Feature
6. Install Exchange Server 2019
Now go to the drive of the mounted ISO it could be D: or E:, then run the following to run in unattended mode
Setup.EXE /Mode:Install /InstallWindowsComponents /IAcceptExchangeServerLicenseTerms /Roles:MB
This will install Exchange 2019 with all prerequisites automatically!
Then you should see the installation move on it’s way:
After completion, reboot the server, and try to connect to OWA and ECP like usual.