Install Exchange 2019 on Windows Server 2019 Core
1.Install Windows Server 2019 Core
Run sconfig.cmd to configure the server (in this order):
2) Change Computer Name and restart. You must do this first if you're recovering an existing Exchange 2019 server.8) Configure Network Settings (it's currently using DHCP). Set static IP, netmask, and default gateway. Then configure the DNS Servers.7) Enable Remote Desktop (optional) 5) Configure Windows Update Settings (Automatic, DownloadOnly, or Manual) 6) Download and Install Updates10) Configure Telemetry settings (optional) 1) Change Domain/Workgroup to join a domain. Restart.
Install on win2019 Server Core:
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
Setup will tell you to download UCMA 4.0 from a URL, but that setup won't work on Server Core. Instead, install the version included in the Exchange Server 2019 ISO in the UCMARedist folder.
1) extend AD
.\ Setup.exe / PrepareSchema / IAcceptExchangeServerLicenseTerms
The reason for the failure is that forest level needs win 2012 R2 or above:
Let's raise the level of forests and domains:
Rerun the extension:
The AD schema extension is complete.
.\ Setup.exe / PrepareAD / OrganizationName: "NOS" / IAcceptExchangeServerLicenseTerms
When the organization is ready, you can install:
D:\ Setup.exe / m:install / roles:m / IAcceptExchangeServerLicenseTerms / InstallWindowsComponents / CustomerFeedbackEnabled:false
Visual C++ 2013: https://www.microsoft.com/download/details.aspx?id=40784 is not installed
Start-BitsTransfer-Source https://download.microsoft.com/download/2/E/6/2E61CFA4-993B-4DD4-91DA-3737CD5CD6E3/vcredist_x64.exe-Destination c:\ vcredist_x64.exe
C:\ vcredist_x64.exe
Rerun the installation of Exchange 2019
Restart the server:
Shutdown-r-t 0
Rerun the installation: d:\ Setup.exe / m:install / roles:m / IAcceptExchangeServerLicenseTerms / InstallWindowsComponents / CustomerFeedbackEnabled:false
After a long wait, the installation is complete. Restart as required.
Before you can run Exchange Powershell commands from a regular Powershell console, you need to do the following:
Install the Exchange Management Tools (if not already installed) from the Exchange installation mediaImport the Exchange module into your Powershell session
The command to import the Exchange modules is different for each version-use the appropriate command below:
Exchange 2007
Add-PSSnapin Microsoft.Exchange.Management.PowerShell.Admin
Exchange 2010
Add-PSSnapin Microsoft.Exchange.Management.PowerShell.E2010
Exchange 2013 & 2016 / 2019
Add-PSSnapin Microsoft.Exchange.Management.PowerShell.SnapIn
. Post-Installation Tasks:
Add-PSSnapin Microsoft.Exchange.Management.PowerShell.SnapIn
Set-ExchangeServer veeam-ex19-ProductKey G3FMN-FGW6B-MQ9VW-YVFV8-292KP
Restart-Service MSExchangeIS