Kevin Holman provides a great article on how to upgrade OpsMgr to CU4 which is available at: http://blogs.technet.com/b/kevinholman/archive/2011/02/01/opsmgr-2007-r2-cu4-rollup-hotfix-ships-and-my-experience-installing-it.aspx 

One item that his article does not cover however is details about how to upgrade agents which were manually installed. Manually installed agents will not appear in the pending view after CU4 has been deployed, and require manual intervention to upgrade them to CU4. This is not a big deal with a few agents but if you get into large numbers of agents this would take a lot of time to log in and manually upgrade them. To address this we can use Configuration Manager to package the CU4 upgrade and deploy it to the clients which require the CU4 upgrade. To accomplish this we:

  • Created two different packages (one for the x86 agent, one for the x64 agent) from the content in the “c:\Program Files\System Center Operations Manager 2007\AgentManagement” folder (using the AMD64 and X86 folders)
  • For each package, created a commandline for the installation of CU4 as follows:
    • msiexec /update KB2449679-x64-Agent.msp;KB2449679-x64-ENU-Agent.msp /quiet /norestart
    • msiexec /update KB2449679-x86-Agent.msp;KB2449679-x86-ENU-Agent.msp /quiet /norestart
  • Create an x86 advertisement to a collection hard-coded with the x86 agents which need to be upgraded (these could be automated by creating a collection which identified servers which have the OpsMgr agent installed but not CU4)
  • Create an x64 advertisement to a collection hard-coded with the x64 agents which need to be upgraded (these could be automated by creating a collection which identified servers which have the OpsMgr agent installed but not CU4)
  • Phased out the deployment of these agents during time windows which were allowed based upon the change control policies of the organization

To validate this deployment we checked the Operations Manager console after the upgrade was completed using Kevin Holman’s agent patch list view.