How to Install Exchange 2013 (MBX+CAS roles) on Windows Server 2012 -------------------------------------------------------------------- 1. Active Directory prerequisites ---------------------------------- • Domain Controller: In each AD site where you plan to install Exchange 2013, you must have a writable DC running at least Windows Server 2003 SP2 or later. • Global catalog: In each AD site where you plan to install Exchange 2013, you must have GC running at least Windows Server 2003 SP2 or later. • Schema master: Windows Server 2003 SP2 or later. • Active Directory Forest: Forest functional level must be Windows Server 2003 or higher. • Make sure that the name of the domain, where you are installing Exchange 2013, does not contain characters other than 'A'-'Z', 'a'-'z', '0'-'9', '.' and '-'. 2. Active Directory Health Check Commands: ------------------------------------------ #Check FSMO roles distribution: netdom query fsmo #Run DCDiag DNS test - separately, in verbose mode: dcdiag /test:DNS /v /e /f:dcdiag-DNS.log #(Optional) Run DNSLINT utility with /ad for AD replication tests: #Available at http://support.microsoft.com/kb/321045 #Note: Replace the IP with actual DC IP address dnslint /ad /s 192.168.1.10 /v #Run DCDIAG without DNS test(we add the debug switch /d for more details): dcdiag /v /d /skip:DNS /f:dcdiag.log 3. Prepare Active Directory and domains --------------------------------------- 3.1 Install RSAT-ADDS on the E-13 member server (Exchange 2013 prep. machine) ----------------------------------------------------------------------------- # Note: # - AD preparation will be performed on this machine, not on Schema Master DC # - You must restart the server after installing RSAT-ADDS, or "setup /PrepareSchema" will fail Install-WindowsFeature RSAT-ADDS 3.2 Prepare the Schema: ----------------------- setup /IacceptExchangeServerLicenseTerms /PrepareSchema 3.3 Check the Schema Version (ms-Exch-Schema-Version-Pt): ---------------------------------------------------------- #Exch.2013 RTM-15137/ CU1-15254/ CU2-15281 #Note: Replace "Your_Domain" and "Your_Domain_Suffix" with the relevant data repadmin /showattr * "CN=ms-Exch-Schema-Version-Pt,cn=schema,cn=configuration,dc=Neto_Meter,dc=local" /atts:rangeUpper 3.4 Introduce Exchange Org and prepare Root Domain: --------------------------------------------------- #Note: In a single-domain forest, this command will prepare the domain too setup /IacceptExchangeServerLicenseTerms /PrepareAD /OrganizationName: 3.5 ONLY!!! in a multi-domain forest - prepare the rest of the domains: ----------------------------------------------------------------------- (which will contain Exchange servers or users) setup /IacceptExchangeServerLicenseTerms /PrepareDomain #or you can prepare all domains simultaneously (must be Enterprise Admin): setup /IacceptExchangeServerLicenseTerms /PrepareAllDomains 3.3 Check the msExchProductId value for the created Exchange organization object -------------------------------------------------------------------------------- #Exch.2013 RTM - 15.00.0516.032 #Exch.2013 CU1 - 15.00.0620.029 #Exch.2013 CU2 - 15.00.0712.022 (this release contains PF perm. bug. STOP, and download a later release or CU. Then repeat the AD preparation process) #Exch.2013 CU2v2 - 15.00.0712.024 (version 2 of Exchange 2013 CU2) #Note: Replace "Your_Org", "Your_Domain" and "Your_Domain_Suffix" with the relevant data repadmin /showattr * "CN=NetoMeter,CN=Microsoft Exchange,CN=Services,CN=Configuration,DC=Neto_Meter,DC=local" /atts:msExchProductId 4. Prepare the Exchange 2013 server: ------------------------------------ 4.1 Install required Windows components for MBX+CAS roles on Server 2012: ------------------------------------------------------------------------- # http://technet.microsoft.com/en-us/library/bb691354(v=exchg.150).aspx#WS2012MBX 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 4.2 Install Microsoft Unified Communications Managed API 4.0, Core Runtime 64-bit: ---------------------------------------------------------------------------------- # http://www.microsoft.com/en-us/download/details.aspx?id=34992 4.3 Install Microsoft Office 2010 Filter Pack 64 bit: # http://www.microsoft.com/en-us/download/details.aspx?id=17062 4.4 Install Microsoft Office 2010 Filter Pack SP1 64 bit: # http://www.microsoft.com/en-us/download/details.aspx?id=26604 #NOTE: Restart Exchange 2013 server after installing required components and packages 5. Install Exchange 2013 ------------------------- 6. Validate installation ------------------------- Get-ExchangeServer | FL Name,ServerRole,AdminDisplayVersion Test-ServiceHealth | FL Role,RequiredServicesRunning $admin="administrator@netometer.local" Send-MailMessage -to $admin -from $admin -SmtpServer localhost Note: • The account which you use for Exchange 2013 Setup wizard must be a member of Schema Admins Domain Admins and Enterprise Admins (to be able to prepare AD and the domain) ::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::: :: http://www.netometer.com :: :::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::