Sunday, December 30, 2012

Exchange Server 2013 unattended installation

I will install Exchange 2013 from the command prompt on Windows Server 2012.

Computer FQDN: DC01.fabrikam.com
IP address /network: 192.168.2.10/24
Roles: Domain Controller, DNS server, Global Catalog server
OS: Windows Server 2012 Datacenter

Computer FQDN: EX01.fabrikam.com
IP address /network: 192.168.2.11/24
Roles: Exchange Server 2013 (Mailbox and Client Access server roles)
OSWindows Server 2012 Datacenter (Full installation)

To install Exchange Server 2013, the forest functional level of Active Directory must be Windows Server 2003 or higher.

You cannot install Exchange Server 2013 in Windows Server 2012 core version, minimal server interface.

Prerequisites tools for Exchange Server 2013 on Windows Server 2012
The following components must be installed in Windows Server 2012 before installing Exchange Server 2013 (Mailbox and Client Access server roles).

1. On Ex01, log in as Domain Administrator.
2. Launch "PowerShell".
3. Perform "Install-WindowsFeature RSAT-ADDS, AS-HTTP-Activation, Desktop-Experience, NET-Framework-45-Features, RPC-over-HTTP-proxy, RSAT-Clustering, RSAT-Clustering-CmdInterface, 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" to install required roles and features of Exchange 2013.


4. After the above roles and features have been installed, install the following software in EX01.

Installing Exchange Server 2013
Assuming that D drive is the DVD-Rom.

1. On Ex01, log in as Domain Administrator.
2. Insert Exchange Server 2013 DVD.
3. Launch "Command Prompt" as administrator.
4. Navigate to D:\, perform "Setup.exe /IAcceptExchangeServerLicenseTerms /ps" to extend Active Directory schema for supporting Exchange 2013.


5. Perform "Setup.exe /IAcceptExchangeServerLicenseTerms /p /on:Fabrikam" to prepare Exchange Organization.


6. Perform "Setup.Exe /IAcceptExchangeServerLicenseTerms /pd" to prepare the domain.


7. Perform "Setup.Exe /IAcceptExchangeServerLicenseTerms /mode:install /r:mb, ca /MdbName:fabrikam_db01" to install Exchange 2013 with Mailbox and Client Access server role.



Remark: Using Exchange 2013 Unattended Setup, we can customize the mailbox database name, database file path, log file path...

As a result, Exchange 2013 was installed successfully.

Reference:

This posting is provided “AS IS” with no warranties, and confers no rights!

Thursday, December 27, 2012

Typical Installation of Exchange Server 2013 RTM on Windows Server 2008 R2

I will install Exchange 2013 with Mailbox and Client Access server roles in the following lab environment.

Computer FQDN: DC01.contoso.com
IP address /network: 192.168.1.10/24
Roles: Domain Controller, DNS server, Global Catalog server
OS: Windows Server 2008 R2 Enterprise

Computer FQDN: EX01.contoso.com
IP address /network: 192.168.1.11/24
Roles: Exchange Server 2013 (Mailbox and Client Access server roles)
OS: Windows Server 2008 R2 Enterprise (Full installation)

To install Exchange Server 2013, the forest functional level of Active Directory must be Windows Server 2003 or higher.


You cannot install Exchange Server 2013 in Windows Server 2008 R2 core version.


Prerequisites tools for Exchange Server 2013 on Windows Server 2008 R2

The following components must be installed in the Window Server 2008 R2 before installing Exchange Server 2013 (Mailbox and Client Access server roles).

1. On EX01, log in as Domain Administrator.

2. Launch "PowerShell".
3. Perform "Import-Module ServerManager".
4. Perform "Add-WindowsFeature RSAT-ADDS, Desktop-Experience, NET-Framework, NET-HTTP-Activation, RPC-over-HTTP-proxy, RSAT-Clustering, RSAT-Web-Server, WAS-Process-Model, Web-Asp-Net, 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-Ext, Web-Request-Monitor, Web-Server, Web-Stat-Compression, Web-Static-Content, Web-Windows-Auth, Web-WMI -Restart" to install required roles and featires of Exchange 2013.

 
5. After the above roles and features have been installed, install the following software in EX01.


Preparing Active Directory and Domains
Before installing Exchange Server 2013 in the Active Directory, we need to update the Active Directory Schema first. To update Active Directory Schema, we need to log in as a user which is a member of Schema Admins, Domain Admins and Enterprise Admins. 

In my lab environment, there is 1 domain which is the forest root domain. Domain Administrator also a member of Schema Admins, Domain Admins and Enterprise Admins.

Remark: If the setup command is performed in DC01, DC01 must be installed .NET Framework v4 or later and Windows Management Framework 3.0.


Assuming that D drive is the DVD-Rom.

1. On EX01, log in as Domain Administrator.
2. Insert Exchange Server 2013 DVD.
3. Launch "Command Prompt" as administrator.
4. Navigate to D:\, perform "Setup.Exe /IAcceptExchangeServerLicenseTerms /ps" to prepare the Schema for Exchange 2013.
 


5. Perform "Setup.Exe /IAcceptExchangeServerLicenseTerms /p /on:Contoso" to create Exchange and Exchange organization container in Active Directory.


6. Perform "Setup.Exe /IAcceptExchangeServerLicenseTerms /pd" to prepare the domain.


Installing Exchange Server 2013
1. On EX01, log in as Domain Administrator.
2. Insert Exchange Server 2013 DVD.
3. Click "Run Setup.EXE".


4. On "Check for Updates?" window, select "Don't check for updates right now"


5. Click "next".
6. On "Introduction' window, click "next".


7. On "License Agreement" window, select "I accept the terms in the license agreement", click "next".


8. On "Recommended Settings" window, select "Use recommended settings", click "next".


9. On "Server Role Selection" window, check "Mailbox role" and "Client Access role".


10. Click "next".
11. On "Installation Space and Location" window, click "next".


12. On "Malware Protection Settings" window, select "Yes" to disable malware scanning.


13. Click "next".
14. On "Readiness Checks" window, click "install".


15. On "Setup Completed" window, click "finish".


16. Restart EX01.

As a result, Exchange 2013 was installed in EX01 successfully.
 
Reference:




This posting is provided “AS IS” with no warranties, and confers no rights!

Tuesday, December 4, 2012

Event ID 4625 and 6037 in SharePoint 2010 front-end servers

When I try to log in the web application in a SharePoint 2010 front-end server, I cannot log in and I get the following warning in Security and System Event log.




Cause
The "loopback security check" feature is enabled in the IIS server. It prevents to access to a web application using a fully qualified domain name (FQDN).

Resolution
There are 2 methods to solve this issue.

1. Specify host names (Preferred method if NTLM authentication is desired)

1. On the front-end server, log in as a local or domain administrator.
2. Launch "Registry Editor".
3. Navigate to "HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\LSA\MSV1_0".
4. Right-click "MSV1_0", create a new "Multi-String Value" named "BackConnectionHostNames".
5. Double-click "BackConnectionHostNames".
6. Type host names which are hosted in the local computer.


7. Click "OK".


8. Restart the server.

2. Disable the loopback check

1. On the front-end server, log in as a local or domain administrator.
2. Launch "Registry Editor".
3. Navigate to "HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\LSA".
4. Right-click "LSA", create a new "DWORD Value" named "DisableLoopbackCheck".
5. Double-click "DisableLoopbackCheck".
6. Under "Value data", type "1".


7. Click "OK".


8. Restart the server.

Reference:
You receive error 401.1 when you browse a Web site that uses Integrated Authentication and is hosted on IIS 5.1 or a later version

DisableLoopbackCheck. Lets do it the right way

This posting is provided “AS IS” with no warranties, and confers no rights!