On-premise Exchange 2019 Deployment.

Server Basic Setting:

  • Build a new server or Virtual machine using either Windows 2022 GUI or Windows 2022 Core version.
  • Perform the basic configuration like renaming the server, configure IP, etc.

Rename the server name.

Rename-Computer -NewName -Restart

Disable IPv6 (Change the InterfaceAlias name)

Get-Netadapter # Show All interfaces.
Disable-NetAdapterBinding –InterfaceAlias “Name” –ComponentID ms_tcpip6

Set the server IP

New-NetIPAddress –InterfaceAlias “Ethernet” -IPAddress $10.100.0.11 -PrefixLength 24 -DefaultGateway 10.100.0.11

Set the ServerDNS

Set-DnsClientServerAddress -InterfaceIndex 12 -ServerAddresses ("10.0.0.1","10.0.0.2")

Join the server to the domain

Add-computer –domainname "DomainName"  -restart

Patch the server to the latest patches.

As alternative, you can also use sconfig to configure the basic setting on the server as well as patch the server.

Exchange Pre-Requirement

Install the following pre-requirement software.

Install-WindowsFeature Server-Media-Foundation

Server GUI Version.

Install-WindowsFeature Server-Media-Foundation, NET-Framework-45-Core, NET-Framework-45-ASPNET, NET-WCF-HTTP-Activation45, NET-WCF-Pipe-Activation45, NET-WCF-TCP-Activation45, NET-WCF-TCP-PortSharing45, 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

Server Core Version.

Install-WindowsFeature Server-Media-Foundation, NET-Framework-45-Features, RPC-over-HTTP-proxy, RSAT-Clustering, RSAT-Clustering-CmdInterface, 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-Metabase, Web-Mgmt-Service, Web-Net-Ext45, Web-Request-Monitor, Web-Server, Web-Stat-Compression, Web-Static-Content, Web-Windows-Auth, Web-WMI, RSAT-ADDS
  • Install the Remote Tools Administration Pack by running the following command in Windows PowerShell:
Install-WindowsFeature Server-Media-Foundation, RSAT-ADDS

Exchange Installation.

Once all required roles and software have been installed, you can now insert the Exchange installer ISO to the server and run the following:

cd E:\
./setup.exe /IAcceptExchangeServerLicenseTerms_DiagnosticDataOFF /mode:Install /r:MB

Once installation process is completed, check all exchange services to ensure any services related to exchange is running. You should be now able to access the Exchange OWA (Outlook Web Access) as well as ECP (Exchange Control Panel).

If you are installing the Excange server on Windows Core version, you can use LaunchEMS.cmd to open the Exchange management shell on the server.