MS EXCHANGE SERVER

STEP BY STEP EXCHANGE 2019 INSTALLATION GUIDE

If we are going to install Exchange need Pre-requisites.

NET Framework 4.7.2

or later

Visual C++ Redistributable Package for Visual Studio 2012

Start Windows Server Power Shell

Install-WindowsFeature RSAT-ADDS

.Net Framework Installation If you are installing Exchange Server 2019 on Windows Server 2019 then no action is required as Windows Server 2019 comes with .Net Framework 4.7.2. For Windows Server 2016, you need to install .Net Framework 4.7.1 or higher.

.NET Framework 4.7.1 or above (Windows Server 2016)

.NET Framework 4.7.2 (comes default with Windows Server 2019 preview)

Install Visual C++ Redistributable Packages for Visual Studio 2013 Download Visual C++ Redistributable package for VS 2013 and install on Exchange server. Visual C++ Redistributable Packages for Visual Studio 2013 can be downloaded from Microsoft website.

Visual C++ Redistributable Packages for Visual Studio 2013

https://www.microsoft.com/en-us/download/details.aspx?id=40784

Microsoft Unified Communications Managed API 4.0 Download and install Unified Communications Managed API (UCMA) 4.0 package from Microsoft website

Unified Communications Managed API (UCMA) 4.0

https://www.microsoft.com/en-us/download/details.aspx?id=34992

Windows Server 2019 prerequisites for Exchange Server 2019 Run the following powershell cmdlet to install Windows Server 2019 prerequisites for Exchange server 2019.

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-DirBrowsing, Web-Dyn-Compression, Web-Http-Errors, Web-Http-Logging, Web-Http-Redirect, Web-HttpTracing, Web-ISAPI-Ext, Web-ISAPI-Filter, Web-Lgcy-Mgmt-Console, Web-Metabase, Web-MgmtConsole, Web-Mgmt-Service, Web-Net-Ext45, Web-Request-Monitor, Web-Server, Web-StatCompression, Web-Static-Content, Web-Windows-Auth, Web-WMI, Windows-Identity-Foundation, RSAT-ADDS

Once installation is completed, you will see a following message in your PowerShell window

Check Windows Updates Before Installing Exchange Server 2019 or any version of Exchange server, it’s highly recommended to ensure you have all windows patches installed on your windows server.

Step 1: Extend the Active Directory schema

When you extend the Active Directory schema for Exchange, the following requirements apply:

  • Your account needs to be a member of the Schema Admins and Enterprise Admins security groups. If you have multiple Active Directory forests, make sure you’re logged into the right one.
  • The computer needs to be a member of the same Active Directory domain and site as the schema master.
  • If you use the /DomainController: switch, you need to specify the domain controller that’s the schema master.
  • The only supported way to extend the schema for Exchange is to use Setup.exe with /PrepareSchema, /PrepareAD, or the Exchange Setup wizard. Other ways of extending the schema aren’t supported.

Run the following cmdlet from PowerShell to extend AD Schema for Exchange Server 2019.

.\Setup.exe /IAcceptExchangeServerLicenseTerms /PrepareSchema

I have Exchange Server 2019 setup mounted in E Drive.

After Active Directory schema has been extended, you can prepare other parts of Active Directory for Exchange. During this step, Exchange will create containers, objects, and other items in Active Directory to store information. The collection of the Exchange containers, objects, attributes, and so on, is called the Exchange organization.

  • Your account needs to be a member of the Enterprise Admins security group. If you skipped Step 1 because you want the /PrepareAD command to extend the schema, the account also needs to be a member of the Schema Admins security group.
  • The computer needs to be needs to be a member of the same Active Directory domain and site as the schema master and must be able to contact all of the domains in the forest on TCP port 389.
  • Wait until Active Directory has finished replicating the schema changes from Step 1 to all domain controllers before you try to prepare Active Directory.
  •  You need to select a name for the Exchange organization. The organization name is used internally by Exchange and isn’t typically seen by users, doesn’t affect the functionality of Exchange, and doesn’t determine what you can use for email addresses.
  • The organization name can’t contain more than 64 characters and can’t be blank.
  •  Valid characters are A to Z, a to z, 0 to 9, hyphen or dash (-), and space, but leading or trailing spaces aren’t allowed.
  •  You can’t change the organization name after it’s set.

To prepare Active Directory for Exchange, run the following command in a Windows Command Prompt window:

 .\Setup.exe /IAcceptExchangeServerLicenseTerms /PrepareAD /OrganizationName: “MS Expert Talk”

I’m using the Exchange installation files on drive E: and names the Exchange organization “MS Expert Talk”.

As in Step 1, you’ll need to wait while Active Directory replicates the changes from this step to all your domain controllers before you proceed, and you can use the repadmin tool to check the progress of the replication.

Step 3: Prepare Active Directory Domains The final step is to prepare the Active Directory domain where Exchange servers will be installed or where mail-enabled users will be located. This step creates additional containers and security groups and sets the permission, so Exchange can access them. If you have multiple domains in your Active Directory forest, you have the following choices in how to prepare them:

• Prepare all domains in the Active Directory forest

• Choose the Active Directory domains to prepare

Regardless of the method you choose, wait until Active Directory has finished replicating the changes from Step 2 to all domain controllers before you proceed. Otherwise, you might get an error when you try to prepare the domains.

Step 3.1: Prepare all domains in the Active Directory forest When you prepare all domains in the Active Directory forest for Exchange, your account needs to be a member of the Enterprise Admins security group.

To prepare all domains in your Active Directory forest, run the following command in a Windows Command Prompt window:

.\Setup.exe /IAcceptExchangeServerLicenseTerms /PrepareAllDomains

You don’t need to do this step in the domain where you ran the /PrepareAD command in

 Step 2,

because the /PrepareAD command has automatically prepared that domain for you.

When you prepare specific domains in your Active Directory forest, the following requirements apply:

When you prepare specific domains in your Active Directory forest, the following requirements apply:

• You need to prepare every domain where an Exchange server will be installed.

• You need to prepare any domain that will contain mail-enabled users, even if the domain won’t contain any Exchange servers.

• Your account needs to be a member of the Domain Admins group in the domain that you want to prepare.

 • If the domain that you want to prepare was created after you ran /PrepareAD in Step 2, your account also needs to be a member of the Organization Management role group in Exchange. To a prepare a specific domain in your Active Directory forest, run the following command in a Windows Command Prompt window:

.\Setup.exe /IAcceptExchangeServerLicenseTerms /PrepareDomain: <DomainName>

.\Setup.exe /IAcceptExchangeServerLicenseTerms /PrepareDomain:querypanel.com

The tables in the following sections contain the Exchange objects in Active Directory that are updated each time you install a new version of Exchange (a new installation or a CU). You can compare the object versions you see with the values in the tables to verify that Exchange successfully updated Active Directory during the installation.

Exchange Server 2019 Installation Before you install an Exchange Server 2019, verify the following prerequisites:

• The target server must be a member of an Active Directory domain.

• The account that you use to install Exchange requires the following permissions:

o Enterprise Admins group membership: Required if this is the first Exchange server in the organization. o Schema Admins group membership: Required if you haven’t previously extended the Active Directory schema or prepared Active Directory for Exchange 2019.

o Exchange Organization Management role group membership: Required if you’ve already prepared the Active Directory domain that will contain the Exchange server, or if other Exchange servers already exist in the organization. At this point, you are ready to install your first Exchange 2019 server. As mentioned previously in the document, this lab is focused on installation of Exchange server 2019 on Windows Server 2019 with Desktop Experience. I’ll upload a separate documentation for installing Exchange Server 2019 on Windows Server Core. To install Exchange Server 2019, follow the following steps:

• Run Setup.exe as administrator

It’s recommended to always check for updates before you start the installation, Click Next to proceed. In next step, setup will start the copy process to copy Exchange files.

The Copying Files page shows the progress of copying files to the local hard drive. Typically, the files are copied to %WinDir%\Temp\ExchangeSetup, but you can confirm the location in the Exchange Setup log at C:\ExchangeSetupLogs\ExchangeSetup.log

On the Recommended Settings page, choose one of the following settings:

• Use recommended settings: Exchange automatically sends error reports and information about your computer hardware and how you use Exchange to Microsoft. For information about what’s sent to Microsoft and how it’s used, click ? or the help links on the page.

• Don’t use recommended settings: These settings are disabled, but you can enable them at any time after Setup completes. I highly recommend to us “Recommended Settings”. Click Next to continue.

On the Server Role Selection page, configure the following options:

 • Mailbox role: Select this option, which also automatically installs the Management Tools.

• Automatically install Windows Server roles and features that are required to install Exchange: Select this option to have the Setup wizard install the required Windows prerequisites. You might need to reboot the computer to complete the installation of some Windows features. If you don’t select this option, you need to install the Windows features manually.

Selecting this option installs only the Windows features that are required by Exchange. You need to install other prerequisites manually.

Click Next to continue.

 

On the Installation Space and Location page, either accept the default installation location (C:\Program Files\Microsoft\Exchange Server\V15) or click Browse to choose a new location. Make sure that you have enough disk space available in the location where you want to install Exchange. It’s highly recommended not to install Exchange Server on OS drive. As I’m doing an installation in lab environment, we’re good to do the installation on C/OS drive. For production implementation, I highly recommend leveraging a separate drive for Exchange installation. Click Next to continue.

On the Malware Protection Settings page, choose whether you want disable malware scanning. Malware scanning is enabled by default (the value No is selected). If you disable malware scanning, you can enable it in the future. Click Next to continue

On the Readiness Checks page, verify that the organization and server role prerequisite checks completed successfully. If they haven’t, the only option on the page is Retry, so you need to resolve the errors before you can continue.

On the Setup Completed page, click Finish, and then restart the computer.

Verify Exchange Server 2019 Installation

After you install Exchange Server 2019, Microsoft recommend that you verify the installation by running the Get-ExchangeServer cmdlet and by reviewing the Exchange Setup log. If the setup process fails or errors occur during installation, you can use the Setup log to find the source of the problem.

Get-ExchangeServer Cmdlet

To verify that Exchange installed successfully, run the following commands in the Exchange Management Shell.

Get-ExchangeServer

Exchange Setup Logs

 Cdrive or your installation drive

C\ExchangeSetupLogs\ExchangeSetup.log

 

 

 

Leave a Reply

Your email address will not be published. Required fields are marked *