Upgrading to Exchange Server 2010 Service Pack 2

Microsoft has released Exchange Server 2010 Service Pack 2. Here is how you can deploy it to your existing organization.

Service Pack 2 deployment follows the same installation sequence as the initial Exchange install or any other update.

  1. Client Access servers, starting with the internet-facing ones
  2. Hub Transport and Edge Transport servers
  3. Mailbox servers
  4. Unified Messaging servers

Note: if you are installing to multi-role servers just prioritize based on the same order above.

Upgrading Client Access Servers to Exchange 2010 SP2

When you install Service Pack 2 on Client Access servers you may receive an error message for a missing IIS component. This issue and the solution are described in the following article:

If you’re updating a CAS array of servers in a Windows Network Load Balancing cluster then refer to the following article to learn how to perform the update without disrupting clients:

Upgrading Database Availability Groups to Exchange 2010 SP2

If you are updating the members of a DAG to Service Pack 2 then refer to the following article for instructions on how to perform the upgrade without requiring an outage for mailbox users:

Exchange MVP Andy Grogan has already released an updated version of his RUPS Tool for installing Service Pack 2.

Upgrading Management Tools to Exchange 2010 SP2

Any management servers or workstations that have the Exchange 2010 Management Tools installed on them will also need to be upgraded to be able to manage some of the new features of Exchange 2010 SP2 and to avoid the initialization error that can occur due to mismatched versions. Simply run the setup wizard to upgrade those computers.

About Paul Cunningham

Paul is a Microsoft Exchange Server MVP and publisher of Exchange Server Pro. He also holds several Microsoft certifications including for Exchange Server 2007, 2010 and 2013. Connect with Paul on Twitter and Google+.

Comments

  1. George Caba says:

    Hi,

    I just want to say … THANK YOU … for your articles regarding upgrading MS Exchange Server 2010 to SP2, saved me lots of time. I had some issues at the beginning when I started installing SP2 on CAS/HT servers, setup failed requesting to have some hotfixes previously installed . See messages bellow:

    Setup cannot continue with the upgrade because the ‘beremote’ () process (I
    D: 3120) has open files. Close the process and restart Setup.

    Client Access Role Checks FAILED
    Install hotfix Microsoft Knowledge Base article 982867 from http://code.msd
    n.microsoft.com/KB982867.

    This computer requires the update described in Microsoft Knowledge Base art
    icle 979744 (http://go.microsoft.com/fwlink/?linkid=3052&kbid=979744). Please in
    stall the required update to proceed.

    Install hotfix Microsoft Knowledge Base article 983440 from http://code.msd
    n.microsoft.com/KB983440.

    This computer requires the update described in Microsoft Knowledge Base art
    icle 977020 (http://support.microsoft.com/kb/977020). Please install the require
    d update to proceed.

    Setup cannot continue with the upgrade because the ‘beremote’ () process (I
    D: 3120) has open files. Close the process and restart Setup.

    The Exchange Server setup operation didn’t complete. More details can be found
    in ExchangeSetup.log located in the :\ExchangeSetupLogs folder.

    Exchange Server setup encountered an error.

    I’ve downloaded all four of them, stopped BackupExec agent and installed two of them for the other I got a message saying that they are not for that OS, KB’s were .net 2.0 related which wasn’t installed. I’ve ended installing all Windows updates, including SP1 then re-ran setup and everything went smoothly.

    • I take it you were upgrading from Exchange 2010 RTM?

      If that is the case then yes, its a good idea to update the server OS to latest service pack before installing Exchange 2010 SP1 or SP2.

    • Yes windows update is required .. Even i faced the same kind of issue, but installed the updates manually…

  2. while Upgrading to the Exchange 2010 Sp2 from SP1 . Setup encountered a problem while validating the state of Active Directory: Exchange organization-level objects have not been created, and setup cannot create them because the local computer is not in the same domain and site as the schema master. I tried with Registry chnages of sitename =Schema master site name Not succeed to upgrade.

    • Yes, the service pack includes some schema changes so you need to run that portion of it in the same domain and site as your schema master. If you don’t have an Exchange server matching those criteria then run the schema update from a non-Exchange server (on the Schema master itself for example) and then go and upgrade your Exchange servers after that.

  3. Paul
    Is there any reason I couldn’t do a phased approach to the installation of this Service Pack 2 (and I am planning rollup 3 as well). My concern is I don’t think I will have enough time over night to get through all the servers in one evening. I have 2 locations with 1 CAS/Hub, 1 Mailbox, and 1 UM each and 2 locations with multiple CAB/HUB and Mailbox servers with DAG between the 2 of them(or corporate office).

    My thought is to do all the CAS/HUB servers on night 1(including the rollup3). Then on night 2 do all the Mailbox Servers(including the rollup3). Then on night 3 do the UM servers (including rollup3).

    Is this doable? Will this cause any problems that I need to be aware of?

    Last question. As I am reading through the release notes and your websites too. I am seeing reference to that all mailbox databases at some point will need to be dismounted and SP2 is making changes to each mailbox. How long do these changes take (on average of course)? all my databases average about 60GB in size and I have 48 of them.
    Thanks
    Cory B.

  4. Hi Paul

    Hope you can assist with the below error. I was busy upgrading from Exchange 2010 SP1 to SP2 on my CAS/HUB servers, during my change the firewall guys did some changes on the firewall wall which cause my upgrade to fail when I try to re-run the upgrade i get the below error.

    Summary: 14 item(s). 0 succeeded, 1 failed.
    Elapsed time: 00:00:10

    Organization Preparation
    Failed

    Error:
    The following error was generated when “$error.Clear();
    buildToBuildUpgrade-ExsetDataAtom -AtomName OrgCtChildren -DomainController $RoleDomainController

    ” was run: “An error occurred with error code ’3238230758′ and message ‘Extending the schema in Active Directory failed. Consult the error log LDIF.ERR in your Temp directory.’.”.

    An error occurred with error code ’3238230758′ and message ‘Extending the schema in Active Directory failed. Consult the error log LDIF.ERR in your Temp directory.’.
    Click here for help… http://technet.microsoft.com/en-US/library/ms.exch.err.default(EXCHG.141).aspx?v=14.2.247.1&e=ms.exch.err.Ex88D115&l=0&cl=cp

    • Below ExchangeSetup.log

      08/18/2012 23:40:32.0909] [2] Entering ScInstallLDIFScript
      [08/18/2012 23:40:33.0143] [2] ScRunLDIFScript (f:\14.02.0247\sources\dev\admin\src\libs\exsetup\exmisc.cxx:891)
      Error code 0XC1037AE6 (31462): Extending the schema in Active Directory failed. Consult the error log LDIF.ERR in your Temp directory.
      [08/18/2012 23:40:33.0143] [2] ScInstallLDIFScript (f:\14.02.0247\sources\dev\admin\src\libs\exsetup\server.cxx:152)
      Error code 0XC1037AE6 (31462): Extending the schema in Active Directory failed. Consult the error log LDIF.ERR in your Temp directory.

    • LDIF.ERR

      Entry DN: CN=ms-Exch-SMTP-Submit,CN=Extended-Rights,cn=Configuration,dc=***,dc=**,dc=**
      Add error on entry starting on line 974: Unavailable

      An error has occurred in the program

  5. MarioTunes says:

    Thank you for article.
    I have Exchange 2010 SP1 Rollup 3 installed on my CAS servers, should I uninstall rollup before install SP2?
    Thank you

    • All updates are cumulative, so you don’t need to install any previous SPs or URs to be able to install the latest SP.

      • Dave Doeppel says:

        What are they referring to when they say you have to Uninstall interim updates? I also have Rollups installed under SP1. So do those count as interim updates or is that something completely different????

        • Interim updates are specific hotfixes released to address specific issues. Usually you can only get them by contacting Support. They need to be uninstalled because they are often not as thoroughly tested as the final version of that specific hotfix that gets included with the rollup, and so may not be the final code.

          Rollups themselves aren’t interim updates. You do not need to uninstall other rollups before installing the latest one.

      • MarioTunes says:

        Hello Paul,

        My concern is about should I uninstall installed roll-ups before install SP2 ?

        Thank you

  6. Dave Doeppel says:

    Excellent. Thank you. Any advice for updating a CAS Array that is behind a hardware load balancer. I don’t have the ability to make changes on the LB so is it possible to just stop the Exchange services on one server, even though some users will get disconnected and have a reconnect? Then run my updates and turn them back on.

    • The least disruptive way would be to use your LB control traffic so you’re not disconnecting users by simply running the update. It really depends on your LB how it will handle the server/services going down during the update process, and how clients will see the impact.

      If you absolutely cannot do anything with the LB then you should at least reduce the impact by performing the updates out of hours.

  7. Robert Jacobs says:

    While upggrading Exchange 2010 SP1 (RU8) to SP2, the following errors occur in step Client Access Role after a couple of minutes (all previous steps completed fine):

    Summary: 8 item(s). 4 succeeded, 1 failed.
    Elapsed time: 00:29:11

    Language Files
    Completed
    Elapsed Time: 00:10:31

    Restoring services
    Completed
    Elapsed Time: 00:00:01

    Languages
    Completed
    Elapsed Time: 00:05:01

    Hub Transport Role
    Completed
    Elapsed Time: 00:08:42

    Client Access Role
    Failed

    Error:
    The following error was generated when “$error.Clear();
    $CommandAppCmd = join-path $env:SystemRoot System32\inetsrv\appcmd.exe;
    $imagePath = [System.IO.Path]::Combine($RoleInstallPath, “ClientAccess\Owa\auth\exppw.dll”);
    Start-SetupProcess -Name “$CommandAppCmd” -args “install module /name:exppw /image:`”$imagePath`” /add:false” -IgnoreExitCode @(183);
    Start-SetupProcess -Name “$CommandAppCmd” -args “add module /name:exppw /app.name:`”Default Web Site/owa`”” -IgnoreExitCode @(183);
    ” was run: “Process execution failed with exit code 50.”.

    Process execution failed with exit code 50.
    Click here for help… http://technet.microsoft.com/en-US/library/ms.exch.err.default(EXCHG.141).aspx?v=14.2.247.1&e=ms.exch.err.Ex88D115&l=0&cl=cp
    Elapsed Time: 00:04:55

    Mailbox Role
    Cancelled

    Management Tools
    Cancelled

    Finalizing Setup
    Cancelled

    Background info:
    After installation of Rollup 8 on SP1 nobody was able to send / receive email on their iPhones anymoreIt. It was also not possible to use Outlook Web Access. The strangest thing is that everything works fine when connected to the LAN (same subnet as Exchange and IIS). On RDP (Terminal Server) everything works fine too, includig OWA.
    While trying to recover my netwerk in SBS Console I also receive an errormessage referring to Unable to connect to Exchange Management Shell. EMS works fine when connected manually.

    Can somebody help me solve these problems?

    Regards, Robert.

  8. paul..I have a 2 member dag environment…

    can i install service pack 2 without putting the Dag i maintance mode…

    I understand users will lose connection to their mailbox..but i plan on doing this after hours so worst comes to worst they will just not have access during the upgrade period..

    or

    will running the sp2 update break something if I don’t put the Dag in maintance mode…

    thanks

    Dave

  9. Elton Dias says:

    Paul, here is the one of best websites of ways to manage exchange server…really thanks for your articles. Congratulations!

  10. Pieter Page says:

    Hi Paul,

    I’ve got an Exchange 2010 server version 14.00.0722.000. No updates or rollups were installed since the installation was done. Meaning it is a clean installaion.

    I need to start installing the Service Packs and rollups.

    My question: I am not sure where to start. Do I fist install SP1 and the rollups and then continue to SP2 or can I start with SP2 and the the rollups?

    • Service packs and update rollups are always cumulative.

      So from RTM you can go straight to SP2 if you want to. You can then also apply SP2 UR6 without having to first deploy UR1, 2, 3 etc.

  11. Jose Antonio Urbaneja says:

    Hello. I have upgraded exchange 2010 SP1 to SP3. When I finished all was right, but the version that I could see in de Exchange Console is “Version 14.1 (Build 218.15)” and the SP3 versión is 14.3. I Have searched in registry and the version is 14.3. How and where I can change the versión that I can see in the console?

    Thank you so much

    • Is that server an Edge Transport server?

      • Jose Antonio Urbaneja says:

        No. My server is a Typical Exchange Server Installation (Hub Transport, Client Access, Mailbox and Exchange Management Tools) over a Windows Server 2008 R2 domain controller with all roles FSMO.

        Thank you Paul.

        • And the registry location you’re looking in is HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\ExchangeServer\v14\Setup

          Correct?

        • Hi Paul,
          I encountered the same problem, it’s all in one server.
          It says 14.1.218.15 and I can’t do co-ex with 2013 since it thinks the old one is SP1
          any ideas?
          Thanks!

        • Look in the Exchange setup log for more info about why the pre-req check is failing. Maybe there is an orphaned Exchange server object in your AD.

  12. Jose Antonio Urbaneja says:

    Hi Paul. It is correct. The version in the registry is correct in all folders but is wrong in the ECP.

    Thank you so mach!

  13. Rod Nkepu says:

    Hi Paul, i was trying to upgrade to MS Exchange 2010 sp2 because i have issues with transport service, but i ended with an error that transport service has not started. can you assist

  14. Paul

    Just lokking for confirmation that I am heading the correct direction to do an upgrade …
    environment: 1 CAS/HUB, 2MBX in DAG … all running Windows Server 2008 R2 …
    I should upgrade the CAS/HUB server first and then follow the DAG maintentance that is outlined in the following: http://blogs.technet.com/b/timmcmic/archive/2011/09/26/exchange-2010-sp1-startdagservermaintenance-ps1-fails-on-databases-that-have-only-two-database-copies.aspx

    Does this same process apply if you are installing RUs versus SPs?

    There was a question before that I am not sure I saw the answer to … can you upgrade in stages? or do all servers have to have the same SP/RU level?

    thanks again for any advice to have and for a great site.

    • Yes you can upgrade in stages. Always start with the internet-facing site, because if a CAS is proxying to other CAS in other sites, the internet-facing CAS needs to be at the same or higher level as the ones in other sites.

      Within a DAG you can upgrade the servers over a period of time but it is generally recommended to not allow that period of time to go for long. I tend to do it over a few days/nights.

  15. Navneet Maharaj says:

    Hi Paul,

    I am thinking adding new exchange server to may exchange organization however my current exchange organization is SP2 RU6. Will it be okay to install exchange 2010 SP1 initially and then apply the SP6 and Ru6. My colleague was saying that if a install a lower version of exchange then i might corrupt our exchange 2010 environment.

    • There’s no good reason for installing a lower version. All you’re doing is creating work for yourself upgrading it afterwards. Just install to the latest Service Pack level, then apply the latest Rollup Update on that.

      • Navneet Maharaj says:

        HI Paul,

        I only have exchange 2010 enterprise with SP1. Can we also slipstream exchange 2010 with SP2 like we do for offices and windows, if so how would i do that.

        • SP3 is the latest. Any Exchange 2010 Service Pack is a full build of the product. You don’t need to do any slipstreaming, just download the Service Pack that you want and use it to install.

  16. The EMC says build version 15.3.x.x, but the server configuration page says 15.1.x.x
    is there any way to change the build number manually?
    it’s just 1 all in one server, and exchange 2013 refused to install because the AD says it’s 2010 SP1

    Thanks

Leave a Comment

*

We are an Authorized DigiCert™ SSL Partner.