Install Microsoft Exchange Server on a Virtual Machine

Guide  to install Microsoft Exchange Server on a Virtual Machine. This guide assumes you have already set up your virtual machine and installed Windows Server.

Recommended hardware specifications for Microsoft Exchange Server 2019

  •  Processor: 64-bit processors from Intel or AMD2.
  •  Memory: Up to 256 GB (an increase from 192 GB in Exchange 2016). 128 GB for installation, 200 MB free space on the system drive and 500 MB free space on the Message Queue Database drive.
  •  Hard Disk Space: 20 GB for installation, 200 MB free space on the system drive and 500 MB free space on the Message Queue Database drive.
  •  Server: 2U, dual socket servers with up to 48 physical processor cores (an increase from 24 cores in Exchange 2016).
  •  Other: A battery-backed write cache controller, 12 or more drive bays within the server chassis.

Storage recommendations for Exchange Server  

Supported Storage Architectures:

  •  Direct-attached storage (DAS): A digital storage system directly attached to a server or workstation, without a storage network in between.
  •  Storage area network (SAN): An architecture to attach remote computer storage devices (such as disk arrays and tape libraries) to servers in such a way that the devices appear as locally attached to the operating system.
  •  Network-attached storage (NAS): A self-contained computer connected to a network, with the sole purpose of supplying file-based data storage services to other devices on the network.

Best Practices:

  •  Don’t share physical disks backing up Exchange data with other applications.
  •  Use dedicated storage networks.
  •  Use multiple network paths for stand-alone configurations.
  •  All storage used by Exchange for storage of Exchange data must be block-level storage.
  •  Using storage tiers isn’t recommended, as it could adversely affect system performance.
  •  Two mirrored hard drives for the operating system, Exchange Server installation, and Transport databases.
  •  Depending on the storage needs, several hard drives in a RAID to store the mailbox databases, with BitLocker encryption.
  •  SSDs to hold the Meta Cache Databases (MCDB) of Exchange Server 2019 formatted with ReFS with BitLocker encryption3.

Database Size Recommendations:

  •  Exchange High Availability (replicated): a maximum of 2000 GB (2 TB) per database4.
  •  Exchange Standalone (non-replicated): a maximum of 200 GB per database4.

Step 1: Prepare the Windows Server

  • I nstall the latest Windows updates on your server.
  •  Install the necessary roles and features such as .NET Framework, Unified Communications Managed API, and others required by Exchange Server.

Step 2: Prepare Active Directory

  •  Run the following command in PowerShell to prepare the Active Directory:
.\Setup.exe /PrepareSchema /IAcceptExchangeServerLicenseTerms
.\Setup.exe /PrepareAD /OrganizationName:"<organization name>" /IAcceptExchangeServerLicenseTerms
.\Setup.exe /PrepareAllDomains /IAcceptExchangeServerLicenseTerms
  •  Replace <organization name> with the name of your organization.

Step 3: Install Exchange Server

  •  Download the latest version of Exchange Server from the official Microsoft website.
  •  Extract the downloaded file and run Setup.exe.
  •  Follow the prompts in the Exchange Server Setup wizard. Choose the appropriate options for your organization.

Step 4: Post-installation Configuration

  •  After installation, open the Exchange Admin Center (EAC) by browsing to https://localhost/ecp.
  •  Configure your mailboxes, policies, and other settings as per your organization’s requirements.

Step 5: Test the Installation

  •  Send a test email to ensure the Exchange Server is working correctly.  

Best practices for backup and recovery of Exchange Server data:

rsw1280 Install Microsoft Exchange Server on a Virtual Machine

1. Utilize Volume Shadow Copy Service (VSS)-Based Backup:

  •  VSS-based backups allow you to make and restore backups of Exchange data.
  •  Exchange includes a plug-in for Windows Server Backup that allows you to make and restore VSS-based backups.

2. Disaster Recovery:

  •  In the event of a hardware or software failure, multiple database copies in a DAG (Database Availability Group) enable high availability with fast failover and little or no data loss.
  •  This eliminates downtime and the resulting lost productivity that’s a significant cost of recovering from a past point-in-time backup to disk or tape.

3. Recovery of Accidentally Deleted Items:

  •  With the Recoverable Items folder in Exchange 2016 and Exchange 2019, and the Hold Policy that can be applied to it, it’s possible to retain all deleted and modified data for a specified period of time.
  •  This reduces the burden on Exchange administrators and the IT help desk by enabling end users to recover accidentally deleted items themselves.

4. Long-Term Data Storage:

  •  Backups have also been used as an archive, and typically tape is used to preserve point-in-time snapshots of data for extended periods of time as governed by compliance requirements.
  •  The new archiving, multiple-mailbox search, and message retention features in Exchange Server provide a mechanism to efficiently preserve data in an end-user accessible manner for extended periods of time.

5. Backup Exec Agent for Microsoft Exchange Server:

  •  Circular logging must be disabled if you want to run incremental and differential backups.
  •  Put transaction log files on a separate physical disk from the database.
  •  Set the retention period for deleted items and mailboxes to a length of time that is appropriate for the available disk space.
  •  Make Write Cache unavailable on the SCSI controller.

rsw1280-7cf4d185-ee61-483d-aac0-ceeb49a8be37 Install Microsoft Exchange Server on a Virtual Machine

Settings and tools that you should install and configure:

1. Enter Product Key:

  •  You need to input the Exchange Product Key.

2. Rename and Move Exchange Database:

  •  You may need to rename the Exchange database and move it to a suitable location.

3. Create Send Connector:

  •  You should create a send connector for the Exchange Server.

4. Exchange Namespace Design and Planning:

  •  You need to design and plan the Exchange namespace.

5. Configure DNS:

  •  You should configure the internal DNS.

6. Configure Internal and External URL:

  •  You need to configure both the internal and external URLs.

7. Install the Exchange Management Tools:

  •  The management tools in Exchange Server include the Exchange Management Shell and the Exchange Toolbox.
  •  You can install the management tools on other client computers or servers in the Active Directory domain to help you manage your Exchange organization.

8. Integrate Instant Messaging with Outlook on the Web:

  •  You can integrate instant messaging with Outlook on the Web.

9. Configure Security Certificates for Authentication:

  •  You should configure the security certificates for authentication.

10. Configure Edge Subscriptions:

  •  If you have an Edge Transport server in your perimeter network, you should configure Edge subscriptions .

Always refer to the official Microsoft documentation for detailed instructions and best practices.

Welcome to my blog! I'm Praveen, a seasoned Software Engineer with over 20 years of experience in various Technologies in the IT Sector. What I Offer Through this blog, I aim to share valuable insights, practical tips, and thought-provoking content on software engineering and technology. Fun Facts When I'm not immersed in code, you can find me cycling, hiking trails, experimenting with culinary creations. I'm also passionate about current technologies, which often finds its way into my writing and conversations. Let's Connect I love connecting with like-minded individuals and exchanging ideas. Feel free to reach out to me at any of the social media links.

Related Posts

How to Install Windows 11 by Bypassing TPM: A Step-by-Step Guide

Windows 11 has brought a host of new features and a sleek design, but it also introduced stricter hardware requirements, including the need for a Trusted Platform…

SSD Hard Disks

Top SSDs in the Market and Their Costs

Solid State Drives (SSDs) have revolutionized the storage industry with their speed, reliability, and efficiency. Whether you’re a gamer, a professional, or just someone looking to upgrade…

iPhone 16e

Introducing iPhone 16e Features & Pricing

The Apple iPhone 16e is the latest addition to Apple’s iPhone 16 series, offering a blend of advanced features and affordability. Here’s a detailed look at what…

What to expect in iOS 18.4? Details & Features Explained

Apple’s upcoming iOS 18.4 update is set to introduce a range of enhancements designed to refine and personalize your iPhone experience. From smarter notifications and expanded language…

Apple’s 2025 Lineup: A Year of Innovation and Excitement

Apple has always been at the forefront of technological innovation, and 2025 is shaping up to be a landmark year for the tech giant. With a slew…

iPhone SE 4 features coming 2025

The iPhone SE 4, also known as the iPhone 16E, is set to be a significant upgrade in Apple’s lineup of budget-friendly smartphones. Here are some of…

Leave a Reply

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

Share via
Copy link