Installing Exchange Server 2016 in Lab from Scratch using Windows Server 2012 R2


In this blog I will be setting up Exchange Server 2016 in my LAB environment and will show you step by step process, being a PowerShell enthusiastic I will be showing you most steps performed using windows PowerShell.

This lab will consist 2 machine

LABDC01 – Domain Controller - 1 GB RAM – 2012 R2
LABEXCH1601 – Exchange Server - 8 GB RAM – 2012 R2

I have preinstalled the OS, so let’s first prepare the Domain Controller on Windows Server 2012 R2.
Before you could setup the Domain controller, DC has certain requirement to be full filled.
  •       Rename your machine (This is not mandatory just don’t want to use the default name)
  •      Assign static IP address
You can run the below command to rename your LAB Machine
Rename-Computer -NewName LABDC01


NN  New-NetIPAddress –InterfaceAlias Ethernet0 “192.168.0.2” –PrefixLength 24 -DefaultGateway 192.168.0.1
Set-DnsClientServerAddress -InterfaceAlias Ethernet0 -ServerAddresses 192.168.0.2

Now reboot the system

Shutdown /r /t 0

Once the Server is up and running now Lets installed the Ad Domain Service

Install-WinodwsFeature AD-Domain-Services

Now we need to create a new Forest


$Domain = “LetsExchange.in
$pass = Convertto-SecureString “Passsword” –asplaintext -force
Install-ADDSForest -DomainName $domain –SafeModeAdministratorPassword $pass –DomainNetbiosName “LE”
 
Now that you a have AD installed lets install the AD tools as well.

Add-WindowsFeature RSAT-ADDS
 
Now our Domain controller is ready and we are ready to install the Exchange Server.

So Let’s go to the New server and install the Exchange server 2016 there

Install the prerequisites as below.
        

Microsoft Unified Communications Managed API 4.0, Core Runtime 64-bit (Note you need Media Component to be install before you can install this)
 
Once the above components are install then you are ready to install the required windows features.

If you wish you can skip this step and let the setup do it for you, you can select the option install required windows feature when in setup wizard.

Install-WindowsFeature AS-HTTP-Activation, Desktop-Experience, NET-Framework-45-Features, RPC-over-HTTP-proxy, RSAT-Clustering, RSAT-Clustering-CmdInterface, RSAT-Clustering-Mgmt, RSAT-Clustering-PowerShell, Web-Mgmt-Console, 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

NOTE: you need to prepare Active Directory for before you can install exchange 2016 as I am going to install the same in lab I will skip for now but if you wants to do it schema update manually then you can follow the steps here.

Now after restarting of your system you are ready to run the setup wizard.

Now locate the setup file and run the setup wizard which is straight forward enough.












Once the AD is prepared Setup will install the Exchange Server 2016.


 

Comments