Steps for Upgrading Exchange 2010 SP1 or SP2 to SP3 with Latest Rollup.

AmitIT Architect
CERTIFIED EXPERT
If you need my quick help, raise the ticket with highest priority.
Published:
Updated:
Steps for Upgrading Exchange 2010 SP1 or SP2 to SP3 with Latest Rollup:

My Lab Set up: 2 Hub/CAS and 2 Mailbox Servers in a DAG.

Software Location:
1) Exchange 2010 SP3             : http://www.microsoft.com/en-us/download/details.aspx?id=36768
2) Exchange 2010 SP3 Rollup's       : https://technet.microsoft.com/en-us/library/hh135098(v=exchg.150).aspx
Note: Best to install n-1 RU for production.

Upgrade the schema for Exchange 2010 SP3. If you have Enterprise and Schema Admin rights, setup will do it automatically, however if not, then AD team is required to perform this task.

 Purpose of this Schema Update:
 ===================

 In Order to have the Exchange 2010 SP3 deployed across the environment, it is a prerequisite to have the Active Directory Schema to be extended for supporting Exchange 2010 SP3. During this upgrade, the Active Directory Schema will be extended to support Exchange 2010 SP3.

 Steps to be performed for this upgrade:
 ================================

 Reference Article –
[u]http://technet.microsoft.com/en-in/library/bb629560(v=exchg.141).aspx[/u]

 Prerequisites: AD account need to be member of following groups
 Member of: Domain Admin, Enterprise Admin, Schema Admin

 Install Active Directory Management Tools (Run this Command, if Required)
 ServerManagerCmd -i RSAT-ADDS

 Software Location Exchange 2010 SP3
[u]http://www.microsoft.com/en-us/download/details.aspx?id=36768[/u]

 Download it and extracting it run below command for preparing the schema.

  setup /PrepareLegacyExchangePermissions (Optional):
  Check C:\ExchangeSetupLogs\ExchangeSetup.log for successful completion
  Setup /PrepareSchema
  Check C:\ExchangeSetupLogs\ExchangeSetup.log for successful completion
  Setup /PrepareAD /OrganizationName:"Your Org Name"
  Check C:\ExchangeSetupLogs\ExchangeSetup.log for successful completion

 How to verify schema version?
[u]http://technet.microsoft.com/en-in/library/bb125224%28v=exchg.141%29.aspx[/u]

Once you are done with above step. Follow this:

Phase 1: Upgrading the CAS Servers
A) Internet Facing CAS
B) Intranet Facing CAS

Note: Upgrade one server at a time. Don't upgrade all server at same time.

1) If you have any Exchange related AV, disable it. In my case it is Forefront.

Disable the Forefront by using below command (It might ask you to stop few EXchange services)

fscutility /disable

2) Stop the OS Antivirus services and Monitoring Agent Service for Microsoft Exchange Server.

3) Verify that Backups are completed before you start the upgrade.

4) Run the SP3 and RU setup files using GUI, If you are getting IIS component error goto run setup /mode:upgrade /installwindowscomponents

Note: If you are getting this error "A Restart from a Previous Installation is Pending"

Open regdit and delete the HKLM\SYSTEM\CurrentControlSet\Control\Session Manager\PendingFileRenameOperations key and Rerun Setup.

Ref: http://technet.microsoft.com/en-us/library/cc164360(v=exchg.80).aspx

5) Reboot the server

6) After reboot verify below logs for any error:
      
Event Logs
 
Setup Logs (C:\ExchangeSetupLogs)
 
Services - All Exchange related services are running.
      
Check IIS Settings are not changed.
      
Check Authentication settings from EMC for OWA/OMA/ESW. If you find any change revert back to old.

7) Enable Forefront Protection for Exchange. Command fscutility /enable (It might ask you to stop few EXchange services)

8) Start OS Antivirus and Exchange Monitoring Agent Services

Note: Follow same for Hub also, if they are on separate servers.
--------------------------------------------------------------------------------------------------------------------------------

Phase 2: Upgrading Database Availability Groups to Exchange 2010 SP3 with latest RU (Start with Passive)

1) Open Exchange Management Shell, browse to script folder and run below command
      
.\StartDagServerMaintenance.ps1 -serverName servername

Note: This script move all Exchange related component including database to another server.
            
2) Disable the Forefront by using below command (It might ask you to stop few EXchange services)

fscutility /disable

3) Stop the OS Antivirus services and Monitoring Agent for Microsoft Exchange Server

4) Verify Backups are completed.

5) Run the SP3 and RU setup files using GUI or goto run setup /m:upgrade

6) Reboot the server

7) After reboot verify below logs for any error:
      
Event Logs
 
Setup Logs (C:\ExchangeSetupLogs)
 
Services - All Exchange related services are running.
      
Check IIS Settings are not changed.
      
Check Authentication settings from EMC for OWA/OMA/ESW. If you find any change revert back to old.
      
8) Enable Forefront Protection for Exchange. Command fscutility /enable (It might ask you to stop few EXchange services)

9) Start OS Antivirus and Exchange Monitoring Agent Services
      
10) .\StopDagServerMaintenance.ps1 -serverName servername

11) Now use same steps on another server in DAG.

For more details:

1) Upgrade steps for DAG       : http://technet.microsoft.com/en-us/library/ee861125.aspx
2) http://blogs.technet.com/b/timmcmic/archive/2011/07/25/exchange-2010-sp1-startdagservermaintenance-ps1-fails-when-a-server-contains-databases-with-a-single-copy.aspx

--------------------------------------------------------------------------------------------------------------------------------

Phase 3: Upgrade Management Tools

If you have installed management tools in any other machine make sure to upgrade those also. Else you might get connection error.

Note: If you are getting any error check this:
http://lyncdup.com/2011/11/exchange-management-console-pointing-to-wrong-server-the-attempt-to-connect-to-httpserver-domain-compowershell-using-kerberos-authentication-failed/
-------------------------------------------------------------------------------------------------------------------------------
Finally how to verify the upgrade.

Goto Powershell and type below command. It should show you 14.02.0309.002 for RU3
GCM exsetup |%{$_.Fileversioninfo}

ProductVersion   FileVersion      FileName
--------------   -----------      --------
14.02.0309.002   14.02.0309.002   E:\Program files\Microsoft\Exchange Server\V14\bin\ExSetup.exe

Refer: http://social.technet.microsoft.com/wiki/contents/articles/240.exchange-server-and-update-rollups-build-numbers.aspx
11
13,969 Views
AmitIT Architect
CERTIFIED EXPERT
If you need my quick help, raise the ticket with highest priority.

Comments (4)

AmitIT Architect
CERTIFIED EXPERT
Distinguished Expert 2023

Author

Commented:
Thanks for your valuable comments.
CERTIFIED EXPERT

Commented:
Nice Article. Mentioned steps very clearly.

Thank you.
HariomExchange Experts

Commented:
Thanks for sharing
Albert WidjajaIT Professional
CERTIFIED EXPERT

Commented:
thank you Amit !
looking forward for the next article ;-)

Have a question about something in this article? You can receive help directly from the article author. Sign up for a free trial to get started.