Wednesday, June 1, 2016

How To Install Exchange Server 2016 on Windows Server 2012 R2-Part-2

In Previous post we have installed Microsoft Exchange Server 2016 on Windows Server 2012 R2.

In this How-TO we have to complete post Installation Tasks for Exchange Server 2016.

Use the EAC to enter the product key

  • Open the EAC by Browsing the URL of Mailbox server and Enter you username and password. https://mymail.mydomain.local/ECP
  • Go to Servers > Servers. Select the server you want to license, and then click Enter Product Key.

    • Enter You Product Key and Click Save

    Configure Mail Flow and Client Access

    Create a Send connector
    • Open the EAC by Browsing the URL of Mailbox server and Enter you username and password. https://mymail.mydomain.local/ECP

    • Go to Mail flow > Send connectors. On the Send connectors page, click New Add icon

    • In the New send connector wizard, specify a name for the Send connector and then select Internet. Click Next.

    • Verify that MX record associated with recipient domain is selected. Click Next.

    • Under Address space, click Add Add icon. In the Add domain window, make sure SMTP is selected in the Type field. In the Fully Qualified Domain Name (FQDN) field, enter *. Click Save.

    • Make sure Scoped send connector isn't selected and then click Next.
    • Under Source server, click Add Add icon. In the Select a Server window, select a Mailbox server. After you've selected the server, click Add and then click OK.

    • Click Finish.

    Add additional accepted domains
    • Go to Mail flow > Accepted domains. On the Accepted domains page, You will some thing like  

    • If you want to add more domain click New Add icon.
    • In the New accepted domain wizard, specify a name for the accepted domain.
    • In the Accepted domain field, specify the SMTP recipient domain you want to add. For example,
    • Select Authoritative domain and then click Save.

    Offline Address Book

    • Go to Server > Database and Click Edit

    • Click Client Settings > Click Browse >  Click OK 

    • Click Save

    Testing Your Server

    As we are using Exchange server 2016 in a LAB environment. We are not going check email Send/Receive for external Organization users. Lets Create Two new users in our Domain and create their email addresses for testing. I have Created Two users in Active Directory As Test1 and Test2

    Create Mailbox for users

    • Open the EAC by Browsing the URL of Mailbox server and Enter you username and password. https://mymail.mydomain.local/ECP
    • In recipients Click + button and Click User mailbox

    • Set The Alias for New User i.e test1 and Click Browse for existing Users Select Test Click Ok and Click Save

    • Add Test2 user as we did for Test1
    • You will see like Following. You can see Outlook Web is Enabled

    • Open Web Browser on Client Machine and Open https://mymail.mydomain.local/owa and login with MYDOMAIN\Test1

    • Click on New and Create a New Email. Send a Test Email to Test 2

    • Open https://mymail.mydomain.local/owa for Test2 User and check email You will see a New email from Test1

    • Reply this email back to Test1. 
    • Check Test1 mailbox and you will see replied email by Test2

    You see Our email server is working fine. Testing is complete. You can configure more for production environment as required. 

    Cheers -:) 

    How To Install Exchange Server 2016 on Windows Server 2012 R2-Part-1

    We are going to install Microsoft Exchange Server 2016 on Windows Server 2012 R2 Standard in Lab Environment. Before Installing MS-Exchange we need to install some prerequisite.

    1. Make Sure your Domain Controller's functional level of forest is at least Windows Server 2008 and the schema master running is Windows Server 2008 or later.  
    2. The full installation option of Windows Server 2012 and Windows Server 2012 R2 must be used for all servers running Exchange 2016 server roles or management tools.
    3. You must first join the computer to the appropriate internal Active Directory forest and domain.
    4. Install the latest Windows updates on your computer.

    After Joining the Exchange Server 2016 Computer to the Domain we have to do the following.

    Install Pre-Req for Exchange Server 2016
    • login as Domain Admin Open PowerShell as Administrator
    • Run Following Command
    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

    • Restart the Server after setup completes 
    Active Directory Preparation 

    The computer you want to use to prepare Active Directory for Exchange 2016 has specific prerequisites that must be met.
    1. Logon with Domain Administrator account, Open PowerShell and Install the Remote Tools Administration Pack using the following command
    Install-WindowsFeature RSAT-ADDS

    A schema Update is required before installing Exchange Server 2016

    In PowerShell run the following to check the schema version

    "Exchange Schema Version = " + ([ADSI]("LDAP://CN=ms-Exch-Schema-Version-Pt," + ([ADSI]"LDAP://RootDSE").schemaNamingContext)).rangeUpper

    Now Copy Exchange server 2016 Setup files on your Exhchange Server PC and Run the following command from elevated Command prompt. This will only update the schema.

    Setup.exe /PrepareSchema /IAcceptExchangeServerLicenseTerms

    Run the Version Check Command Again and you will see following

    To prepare Active Directory run one of the following commands. Note this will also apply the schema update if you did not perform that step already. You cannnot change the Organization name later so chose wisely. 
    Setup.exe /PrepareAD /OrganizationName:"Mylab" /IAcceptExchangeServerLicenseTerms
    Installing Exchange server 2016 Mailbox Server Role

    Navigate to the location of Exchange Server 2016 Installation Files
    Right Click setup.exe and select Run As Administrator

    Click Next to Continue

    Accept the License agreement and click Next

    Use Recommended settings on Next screen and click next

    Select Mailbox Role and Automatically install Windows Server Roles and features that are required to install Exchange Server, Click Next

    Click Next

    Leave the Malware Protections settings Enabled and Click Next

    Click Install

    After Setup Completes Restart the Server to configure Exchange Server 2016

    In next post we will complete post installation tasks for configuring Exchange Server 2016.