IMPORTANT ANNOUNCEMENT: On May 6, 2024, Carbon Black User eXchange (UeX) and Case Management will move to a new platform!
The Community will be in read-only mode starting April 19th, 7:00 AM PDT. Check out the blog post!
You will still be able to use the case portal to create and interact with your support cases until the transition, view more information here!

App Control: Agent Upgrades Fail Due to Presence Of Reg Keys From Previous Versions

App Control: Agent Upgrades Fail Due to Presence Of Reg Keys From Previous Versions

Environment

  • App Control Windows Agent: 8.7.x and higher
  • App Control Console: All Supported Versions

Symptoms

  • Upgrade Error returned to Console similar to:
    Agent upgrade: Failed executing Installer[C:\ProgramData\Bit9\Parity Agent\ParityHostAgent.msi] 
    Cmdline[/qN /i "C:\ProgramData\Bit9\Parity Agent\ParityHostAgent.msi" /l*v+ "\\?\globalroot\device\harddiskvolume3\programdata\bit9\parity agent\logs\ParityHostAgentInstall_TIMESTAMP.log"]. Fatal error during installation.
  • The ParityHostAgentInstall_TIMESTAMP.log logs the B9_UPGRADING_BLOCKED reason with the GUID:
    B9_UPGRADING_BLOCKED = {DA971CA3-73AA-4A57-AFB4-8155E72CEB96}
    

Cause

The upgrade is failing due to leftover registry keys from previous Agent versions.

When applications are installed, Windows Installer caches the required MSI files locally. These files are required for various future tasks associated with this application, such as upgrades. If the Installer Cache is cleaned up, or if SCCM does not persist the files on the endpoint, at the next upgrade not all registry keys (or sometimes files) will be removed properly.

Typically these files are cached using name randomization in C:\Windows\Installer\ (SCCM typically uses C:\Windows\ccmcache\).

Resolution

Step One: Verify the Presence of Leftover Registry Keys 

  1. Confirm the file version of the Agent that is installed via CMD: 
    "C:\Program Files (x86)\Bit9\Parity Agent\DasCLI.exe" status
    
    Example output:
    Version Information
        CLI:        8.7.8.787 6/17/2022 5:00:17 PM
        Agent:      8.7.8.787 6/17/2022 5:00:17 PM
        Kernel:     8.7.8.787 6/17/2022 5:00:17 PM
  2. Navigate to the following Registry Key, or run the following in CMD:
    reg query HKEY_CLASSES_ROOT\Installer\UpgradeCodes\BE699B28D1B16A04D9F1AA3A0C28A1C9
  3. The Registry Key should contain a single Package Code, matching the Agent version installed on the system. Example:
    • GOOD registry shows only the Package Code for the currently installed Agent 8.7.8: C56DE352F399D2544A140184D1CFDFA9
      This is a article attached imageThis is a article attached image
    • BAD registry shows multiple Package Codes for the current, and older, Agent versions.
      This is a article attached imageThis is a article attached image
  4. Note: If none of the Package Codes in this registry path match the current Agent version listed in "dascli status" then the Agent's registry has been corrupted
  • Although the Agent is otherwise fully operational, it will not be possible to upgrade until it has been cleaned up using the Agent Uninstall Tool only
  • The actions in Step Two will not fix Agents in this state.


Step Two: Cleanup the Registry Keys

WARNING: Do not delete the Registry Keys for the currently installed Agent version, as this will corrupt it, and the Uninstall Tool will be required.
  1. The relevant Registry Keys to cleanup are as follows:
    HKEY_LOCAL_MACHINE\SOFTWARE\Classes\Installer\Features\<Relevant Package Code>
    HKEY_LOCAL_MACHINE\SOFTWARE\Classes\Installer\Products\<Relevant Package Code>
    HKEY_LOCAL_MACHINE\SOFTWARE\Classes\Installer\UpgradeCodes\BE699B28D1B16A04D9F1AA3A0C28A1C9\<Relevant Package Code>
    HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Installer\Managed\S-1-5-18\Installer\Features\<Relevant Package Code>
    HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Installer\Managed\S-1-5-18\Installer\Products\<Relevant Package Code>
    HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Installer\Managed\S-1-5-18\Installer\UpgradeCodes\BE699B28D1B16A04D9F1AA3A0C28A1C9\<Relevant Package Code>
    HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Installer\UserData\S-1-5-18\Products\<Relevant Package Code>
    HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Installer\UpgradeCodes\BE699B28D1B16A04D9F1AA3A0C28A1C9\<Relevant Package Code>
    HKEY_CLASSES_ROOT\Installer\Features\<Relevant Package Code>
    HKEY_CLASSES_ROOT\Installer\Products\<Relevant Package Code>
    HKEY_CLASSES_ROOT\Installer\UpgradeCodes\BE699B28D1B16A04D9F1AA3A0C28A1C9\<Relevant Package Code>
    HKEY_USERS\.DEFAULT\Software\Microsoft\Installer\Features\<Relevant Package Code>
    HKEY_USERS\.DEFAULT\Software\Microsoft\Installer\Products\<Relevant Package Code>
    HKEY_USERS\.DEFAULT\Software\Microsoft\Installer\UpgradeCodes\BE699B28D1B16A04D9F1AA3A0C28A1C9\<Relevant Package Code>
    HKEY_USERS\S-1-5-18\Software\Microsoft\Installer\Features\<Relevant Package Code>
    HKEY_USERS\S-1-5-18\Software\Microsoft\Installer\Products\<Relevant Package Code>
    HKEY_USERS\S-1-5-18\Software\Microsoft\Installer\UpgradeCodes\BE699B28D1B16A04D9F1AA3A0C28A1C9\<Relevant Package Code>
  2. The following example batch scripts could be created and deployed to simplify the removal:
    Note: When a Registry Key is missing, the command will skip it with an error, and continue to the next line.
    • To cleanup old 8.8.0-8.8.2 keys if the product code is present - 1F341E9416B89A546A2CC701C68C3E52
      REM For 8.8.0 - 8.8.2
      
      reg delete HKEY_LOCAL_MACHINE\SOFTWARE\Classes\Installer\Features\1F341E9416B89A546A2CC701C68C3E52 /f &
      reg delete HKEY_LOCAL_MACHINE\SOFTWARE\Classes\Installer\Products\1F341E9416B89A546A2CC701C68C3E52 /f &
      reg delete HKEY_LOCAL_MACHINE\SOFTWARE\Classes\Installer\UpgradeCodes\BE699B28D1B16A04D9F1AA3A0C28A1C9 /v 1F341E9416B89A546A2CC701C68C3E52 /f &
      reg delete HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Installer\Managed\S-1-5-18\Installer\Features\1F341E9416B89A546A2CC701C68C3E52 /f &
      reg delete HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Installer\Managed\S-1-5-18\Installer\Products\1F341E9416B89A546A2CC701C68C3E52 /f &
      reg delete HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Installer\Managed\S-1-5-18\Installer\UpgradeCodes\BE699B28D1B16A04D9F1AA3A0C28A1C9 /v 1F341E9416B89A546A2CC701C68C3E52 /f &
      reg delete HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Installer\UserData\S-1-5-18\Products\1F341E9416B89A546A2CC701C68C3E52 /f &
      reg delete HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Installer\UpgradeCodes\BE699B28D1B16A04D9F1AA3A0C28A1C9 /v 1F341E9416B89A546A2CC701C68C3E52 /f &
      reg delete HKEY_CLASSES_ROOT\Installer\Features\1F341E9416B89A546A2CC701C68C3E52 /f &
      reg delete HKEY_CLASSES_ROOT\Installer\Products\1F341E9416B89A546A2CC701C68C3E52 /f &
      reg delete HKEY_CLASSES_ROOT\Installer\UpgradeCodes\BE699B28D1B16A04D9F1AA3A0C28A1C9 /v 1F341E9416B89A546A2CC701C68C3E52 /f &
      reg delete HKEY_USERS\.DEFAULT\Software\Microsoft\Installer\Features\1F341E9416B89A546A2CC701C68C3E52 /f &
      reg delete HKEY_USERS\.DEFAULT\Software\Microsoft\Installer\Products\1F341E9416B89A546A2CC701C68C3E52 /f &
      reg delete HKEY_USERS\.DEFAULT\Software\Microsoft\Installer\UpgradeCodes\BE699B28D1B16A04D9F1AA3A0C28A1C9 /v 1F341E9416B89A546A2CC701C68C3E52 /f &
      reg delete HKEY_USERS\S-1-5-18\Software\Microsoft\Installer\Features\1F341E9416B89A546A2CC701C68C3E52 /f &
      reg delete HKEY_USERS\S-1-5-18\Software\Microsoft\Installer\Products\1F341E9416B89A546A2CC701C68C3E52 /f &
      reg delete HKEY_USERS\S-1-5-18\Software\Microsoft\Installer\UpgradeCodes\BE699B28D1B16A04D9F1AA3A0C28A1C9 /v 1F341E9416B89A546A2CC701C68C3E52 /f &
    • To cleanup old 8.7.8 keys if the product code is present - C56DE352F399D2544A140184D1CFDFA9
      REM For 8.7.8:
      
      reg delete HKEY_LOCAL_MACHINE\SOFTWARE\Classes\Installer\Features\C56DE352F399D2544A140184D1CFDFA9 /f &
      reg delete HKEY_LOCAL_MACHINE\SOFTWARE\Classes\Installer\Products\C56DE352F399D2544A140184D1CFDFA9 /f &
      reg delete HKEY_LOCAL_MACHINE\SOFTWARE\Classes\Installer\UpgradeCodes\BE699B28D1B16A04D9F1AA3A0C28A1C9 /v C56DE352F399D2544A140184D1CFDFA9 /f &
      reg delete HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Installer\Managed\S-1-5-18\Installer\Features\C56DE352F399D2544A140184D1CFDFA9 /f &
      reg delete HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Installer\Managed\S-1-5-18\Installer\Products\C56DE352F399D2544A140184D1CFDFA9 /f &
      reg delete HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Installer\Managed\S-1-5-18\Installer\UpgradeCodes\BE699B28D1B16A04D9F1AA3A0C28A1C9 /v C56DE352F399D2544A140184D1CFDFA9 /f &
      reg delete HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Installer\UserData\S-1-5-18\Products\C56DE352F399D2544A140184D1CFDFA9 /f &
      reg delete HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Installer\UpgradeCodes\BE699B28D1B16A04D9F1AA3A0C28A1C9 /v C56DE352F399D2544A140184D1CFDFA9 /f &
      reg delete HKEY_CLASSES_ROOT\Installer\Features\C56DE352F399D2544A140184D1CFDFA9 /f &
      reg delete HKEY_CLASSES_ROOT\Installer\Products\C56DE352F399D2544A140184D1CFDFA9 /f &
      reg delete HKEY_CLASSES_ROOT\Installer\UpgradeCodes\BE699B28D1B16A04D9F1AA3A0C28A1C9 /v C56DE352F399D2544A140184D1CFDFA9 /f &
      reg delete HKEY_USERS\.DEFAULT\Software\Microsoft\Installer\Features\C56DE352F399D2544A140184D1CFDFA9 /f &
      reg delete HKEY_USERS\.DEFAULT\Software\Microsoft\Installer\Products\C56DE352F399D2544A140184D1CFDFA9 /f &
      reg delete HKEY_USERS\.DEFAULT\Software\Microsoft\Installer\UpgradeCodes\BE699B28D1B16A04D9F1AA3A0C28A1C9 /v C56DE352F399D2544A140184D1CFDFA9 /f &
      reg delete HKEY_USERS\S-1-5-18\Software\Microsoft\Installer\Features\C56DE352F399D2544A140184D1CFDFA9 /f &
      reg delete HKEY_USERS\S-1-5-18\Software\Microsoft\Installer\Products\C56DE352F399D2544A140184D1CFDFA9 /f &
      reg delete HKEY_USERS\S-1-5-18\Software\Microsoft\Installer\UpgradeCodes\BE699B28D1B16A04D9F1AA3A0C28A1C9 /v C56DE352F399D2544A140184D1CFDFA9 /f &
    • To cleanup old 8.7.4 - 8.7.6 keys if the product code is present - 18633383D60BA99428F49BE443CC1879
      reg delete HKEY_LOCAL_MACHINE\SOFTWARE\Classes\Installer\Features\18633383D60BA99428F49BE443CC1879 /f &
      reg delete HKEY_LOCAL_MACHINE\SOFTWARE\Classes\Installer\Products\18633383D60BA99428F49BE443CC1879 /f &
      reg delete HKEY_LOCAL_MACHINE\SOFTWARE\Classes\Installer\UpgradeCodes\BE699B28D1B16A04D9F1AA3A0C28A1C9 /v 18633383D60BA99428F49BE443CC1879 /f &
      reg delete HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Installer\Managed\S-1-5-18\Installer\Features\18633383D60BA99428F49BE443CC1879 /f &
      reg delete HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Installer\Managed\S-1-5-18\Installer\Products\18633383D60BA99428F49BE443CC1879 /f &
      reg delete HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Installer\Managed\S-1-5-18\Installer\UpgradeCodes\BE699B28D1B16A04D9F1AA3A0C28A1C9 /v 18633383D60BA99428F49BE443CC1879 /f &
      reg delete HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Installer\UserData\S-1-5-18\Products\18633383D60BA99428F49BE443CC1879 /f &
      reg delete HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Installer\UpgradeCodes\BE699B28D1B16A04D9F1AA3A0C28A1C9 /v 18633383D60BA99428F49BE443CC1879 /f &
      reg delete HKEY_CLASSES_ROOT\Installer\Features\18633383D60BA99428F49BE443CC1879 /f &
      reg delete HKEY_CLASSES_ROOT\Installer\Products\18633383D60BA99428F49BE443CC1879 /f &
      reg delete HKEY_CLASSES_ROOT\Installer\UpgradeCodes\BE699B28D1B16A04D9F1AA3A0C28A1C9 /v 18633383D60BA99428F49BE443CC1879 /f &
      reg delete HKEY_USERS\.DEFAULT\Software\Microsoft\Installer\Features\18633383D60BA99428F49BE443CC1879 /f &
      reg delete HKEY_USERS\.DEFAULT\Software\Microsoft\Installer\Products\18633383D60BA99428F49BE443CC1879 /f &
      reg delete HKEY_USERS\.DEFAULT\Software\Microsoft\Installer\UpgradeCodes\BE699B28D1B16A04D9F1AA3A0C28A1C9 /v 18633383D60BA99428F49BE443CC1879 /f &
      reg delete HKEY_USERS\S-1-5-18\Software\Microsoft\Installer\Features\18633383D60BA99428F49BE443CC1879 /f &
      reg delete HKEY_USERS\S-1-5-18\Software\Microsoft\Installer\Products\18633383D60BA99428F49BE443CC1879 /f &
      reg delete HKEY_USERS\S-1-5-18\Software\Microsoft\Installer\UpgradeCodes\BE699B28D1B16A04D9F1AA3A0C28A1C9 /v 18633383D60BA99428F49BE443CC1879 /f
    • To cleanup old 8.7.2 keys if the product code is present - 16C74908109DF684982E92D6C6EFA8CA
      reg delete HKEY_LOCAL_MACHINE\SOFTWARE\Classes\Installer\Features\16C74908109DF684982E92D6C6EFA8CA /f &
      reg delete HKEY_LOCAL_MACHINE\SOFTWARE\Classes\Installer\Products\16C74908109DF684982E92D6C6EFA8CA /f &
      reg delete HKEY_LOCAL_MACHINE\SOFTWARE\Classes\Installer\UpgradeCodes\BE699B28D1B16A04D9F1AA3A0C28A1C9 /v 16C74908109DF684982E92D6C6EFA8CA /f &
      reg delete HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Installer\Managed\S-1-5-18\Installer\Features\16C74908109DF684982E92D6C6EFA8CA /f &
      reg delete HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Installer\Managed\S-1-5-18\Installer\Products\16C74908109DF684982E92D6C6EFA8CA /f &
      reg delete HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Installer\Managed\S-1-5-18\Installer\UpgradeCodes\BE699B28D1B16A04D9F1AA3A0C28A1C9 /v 16C74908109DF684982E92D6C6EFA8CA /f &
      reg delete HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Installer\UserData\S-1-5-18\Products\16C74908109DF684982E92D6C6EFA8CA /f &
      reg delete HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Installer\UpgradeCodes\BE699B28D1B16A04D9F1AA3A0C28A1C9 /v 16C74908109DF684982E92D6C6EFA8CA /f &
      reg delete HKEY_CLASSES_ROOT\Installer\Features\16C74908109DF684982E92D6C6EFA8CA /f &
      reg delete HKEY_CLASSES_ROOT\Installer\Products\16C74908109DF684982E92D6C6EFA8CA /f &
      reg delete HKEY_CLASSES_ROOT\Installer\UpgradeCodes\BE699B28D1B16A04D9F1AA3A0C28A1C9 /v 16C74908109DF684982E92D6C6EFA8CA /f &
      reg delete HKEY_USERS\.DEFAULT\Software\Microsoft\Installer\Features\16C74908109DF684982E92D6C6EFA8CA /f &
      reg delete HKEY_USERS\.DEFAULT\Software\Microsoft\Installer\Products\16C74908109DF684982E92D6C6EFA8CA /f &
      reg delete HKEY_USERS\.DEFAULT\Software\Microsoft\Installer\UpgradeCodes\BE699B28D1B16A04D9F1AA3A0C28A1C9 /v 16C74908109DF684982E92D6C6EFA8CA /f &
      reg delete HKEY_USERS\S-1-5-18\Software\Microsoft\Installer\Features\16C74908109DF684982E92D6C6EFA8CA /f &
      reg delete HKEY_USERS\S-1-5-18\Software\Microsoft\Installer\Products\16C74908109DF684982E92D6C6EFA8CA /f &
      reg delete HKEY_USERS\S-1-5-18\Software\Microsoft\Installer\UpgradeCodes\BE699B28D1B16A04D9F1AA3A0C28A1C9 /v 16C74908109DF684982E92D6C6EFA8CA /f
    • To cleanup old 8.7.0 keys if the product code is present - 752723C1D0E4CEA42903E4A1A2D7405A
      reg delete HKEY_LOCAL_MACHINE\SOFTWARE\Classes\Installer\Features\752723C1D0E4CEA42903E4A1A2D7405A /f &
      reg delete HKEY_LOCAL_MACHINE\SOFTWARE\Classes\Installer\Products\752723C1D0E4CEA42903E4A1A2D7405A /f &
      reg delete HKEY_LOCAL_MACHINE\SOFTWARE\Classes\Installer\UpgradeCodes\BE699B28D1B16A04D9F1AA3A0C28A1C9 /v 752723C1D0E4CEA42903E4A1A2D7405A /f &
      reg delete HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Installer\Managed\S-1-5-18\Installer\Features\752723C1D0E4CEA42903E4A1A2D7405A /f &
      reg delete HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Installer\Managed\S-1-5-18\Installer\Products\752723C1D0E4CEA42903E4A1A2D7405A /f &
      reg delete HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Installer\Managed\S-1-5-18\Installer\UpgradeCodes\BE699B28D1B16A04D9F1AA3A0C28A1C9 /v 752723C1D0E4CEA42903E4A1A2D7405A /f &
      reg delete HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Installer\UserData\S-1-5-18\Products\752723C1D0E4CEA42903E4A1A2D7405A /f &
      reg delete HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Installer\UpgradeCodes\BE699B28D1B16A04D9F1AA3A0C28A1C9 /v 752723C1D0E4CEA42903E4A1A2D7405A /f &
      reg delete HKEY_CLASSES_ROOT\Installer\Features\752723C1D0E4CEA42903E4A1A2D7405A /f &
      reg delete HKEY_CLASSES_ROOT\Installer\Products\752723C1D0E4CEA42903E4A1A2D7405A /f &
      reg delete HKEY_CLASSES_ROOT\Installer\UpgradeCodes\BE699B28D1B16A04D9F1AA3A0C28A1C9 /v 752723C1D0E4CEA42903E4A1A2D7405A /f &
      reg delete HKEY_USERS\.DEFAULT\Software\Microsoft\Installer\Features\752723C1D0E4CEA42903E4A1A2D7405A /f &
      reg delete HKEY_USERS\.DEFAULT\Software\Microsoft\Installer\Products\752723C1D0E4CEA42903E4A1A2D7405A /f &
      reg delete HKEY_USERS\.DEFAULT\Software\Microsoft\Installer\UpgradeCodes\BE699B28D1B16A04D9F1AA3A0C28A1C9 /v 752723C1D0E4CEA42903E4A1A2D7405A /f &
      reg delete HKEY_USERS\S-1-5-18\Software\Microsoft\Installer\Features\752723C1D0E4CEA42903E4A1A2D7405A /f &
      reg delete HKEY_USERS\S-1-5-18\Software\Microsoft\Installer\Products\752723C1D0E4CEA42903E4A1A2D7405A /f &
      reg delete HKEY_USERS\S-1-5-18\Software\Microsoft\Installer\UpgradeCodes\BE699B28D1B16A04D9F1AA3A0C28A1C9 /v 752723C1D0E4CEA42903E4A1A2D7405A /f
    • To cleanup old 8.1.x - 8.6.x keys if the product code is present - 95E4D2F9825022B46B466A0B8B4B28EE:
      reg delete HKEY_LOCAL_MACHINE\SOFTWARE\Classes\Installer\Features\95E4D2F9825022B46B466A0B8B4B28EE /f &
      reg delete HKEY_LOCAL_MACHINE\SOFTWARE\Classes\Installer\Products\95E4D2F9825022B46B466A0B8B4B28EE /f &
      reg delete HKEY_LOCAL_MACHINE\SOFTWARE\Classes\Installer\UpgradeCodes\BE699B28D1B16A04D9F1AA3A0C28A1C9 /v 95E4D2F9825022B46B466A0B8B4B28EE /f &
      reg delete HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Installer\Managed\S-1-5-18\Installer\Features\95E4D2F9825022B46B466A0B8B4B28EE /f &
      reg delete HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Installer\Managed\S-1-5-18\Installer\Products\95E4D2F9825022B46B466A0B8B4B28EE /f &
      reg delete HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Installer\Managed\S-1-5-18\Installer\UpgradeCodes\BE699B28D1B16A04D9F1AA3A0C28A1C9 /v 95E4D2F9825022B46B466A0B8B4B28EE /f &
      reg delete HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Installer\UserData\S-1-5-18\Products\95E4D2F9825022B46B466A0B8B4B28EE /f &
      reg delete HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Installer\UpgradeCodes\BE699B28D1B16A04D9F1AA3A0C28A1C9 /v 95E4D2F9825022B46B466A0B8B4B28EE /f &
      reg delete HKEY_CLASSES_ROOT\Installer\Features\95E4D2F9825022B46B466A0B8B4B28EE /f &
      reg delete HKEY_CLASSES_ROOT\Installer\Products\95E4D2F9825022B46B466A0B8B4B28EE /f &
      reg delete HKEY_CLASSES_ROOT\Installer\UpgradeCodes\BE699B28D1B16A04D9F1AA3A0C28A1C9 /v 95E4D2F9825022B46B466A0B8B4B28EE /f &
      reg delete HKEY_USERS\.DEFAULT\Software\Microsoft\Installer\Features\95E4D2F9825022B46B466A0B8B4B28EE /f &
      reg delete HKEY_USERS\.DEFAULT\Software\Microsoft\Installer\Products\95E4D2F9825022B46B466A0B8B4B28EE /f &
      reg delete HKEY_USERS\.DEFAULT\Software\Microsoft\Installer\UpgradeCodes\BE699B28D1B16A04D9F1AA3A0C28A1C9 /v 95E4D2F9825022B46B466A0B8B4B28EE /f &
      reg delete HKEY_USERS\S-1-5-18\Software\Microsoft\Installer\Features\95E4D2F9825022B46B466A0B8B4B28EE /f &
      reg delete HKEY_USERS\S-1-5-18\Software\Microsoft\Installer\Products\95E4D2F9825022B46B466A0B8B4B28EE /f &
      reg delete HKEY_USERS\S-1-5-18\Software\Microsoft\Installer\UpgradeCodes\BE699B28D1B16A04D9F1AA3A0C28A1C9 /v 95E4D2F9825022B46B466A0B8B4B28EE /f
    • To cleanup old 8.0.x keys if the product code is present - 3AC179ADAA3775A4FA4B18557EC2BE69:
      reg delete HKEY_LOCAL_MACHINE\SOFTWARE\Classes\Installer\Features\3AC179ADAA3775A4FA4B18557EC2BE69 /f &
      reg delete HKEY_LOCAL_MACHINE\SOFTWARE\Classes\Installer\Products\3AC179ADAA3775A4FA4B18557EC2BE69 /f &
      reg delete HKEY_LOCAL_MACHINE\SOFTWARE\Classes\Installer\UpgradeCodes\BE699B28D1B16A04D9F1AA3A0C28A1C9 /v 3AC179ADAA3775A4FA4B18557EC2BE69 /f &
      reg delete HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Installer\Managed\S-1-5-18\Installer\Features\3AC179ADAA3775A4FA4B18557EC2BE69 /f &
      reg delete HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Installer\Managed\S-1-5-18\Installer\Products\3AC179ADAA3775A4FA4B18557EC2BE69 /f &
      reg delete HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Installer\Managed\S-1-5-18\Installer\UpgradeCodes\BE699B28D1B16A04D9F1AA3A0C28A1C9 /v 3AC179ADAA3775A4FA4B18557EC2BE69 /f &
      reg delete HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Installer\UserData\S-1-5-18\Products\3AC179ADAA3775A4FA4B18557EC2BE69 /f &
      reg delete HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Installer\UpgradeCodes\BE699B28D1B16A04D9F1AA3A0C28A1C9 /v 3AC179ADAA3775A4FA4B18557EC2BE69 /f &
      reg delete HKEY_CLASSES_ROOT\Installer\Features\3AC179ADAA3775A4FA4B18557EC2BE69 /f &
      reg delete HKEY_CLASSES_ROOT\Installer\Products\3AC179ADAA3775A4FA4B18557EC2BE69 /f &
      reg delete HKEY_CLASSES_ROOT\Installer\UpgradeCodes\BE699B28D1B16A04D9F1AA3A0C28A1C9 /v 3AC179ADAA3775A4FA4B18557EC2BE69 /f &
      reg delete HKEY_USERS\.DEFAULT\Software\Microsoft\Installer\Features\3AC179ADAA3775A4FA4B18557EC2BE69 /f &
      reg delete HKEY_USERS\.DEFAULT\Software\Microsoft\Installer\Products\3AC179ADAA3775A4FA4B18557EC2BE69 /f &
      reg delete HKEY_USERS\.DEFAULT\Software\Microsoft\Installer\UpgradeCodes\BE699B28D1B16A04D9F1AA3A0C28A1C9 /v 3AC179ADAA3775A4FA4B18557EC2BE69 /f &
      reg delete HKEY_USERS\S-1-5-18\Software\Microsoft\Installer\Features\3AC179ADAA3775A4FA4B18557EC2BE69 /f &
      reg delete HKEY_USERS\S-1-5-18\Software\Microsoft\Installer\Products\3AC179ADAA3775A4FA4B18557EC2BE69 /f &
      reg delete HKEY_USERS\S-1-5-18\Software\Microsoft\Installer\UpgradeCodes\BE699B28D1B16A04D9F1AA3A0C28A1C9 /v 3AC179ADAA3775A4FA4B18557EC2BE69 /f
      
  3. Attempt the Agent upgrade again

Additional Notes


Related Content


Labels (1)
Was this article helpful? Yes No
No ratings
Article Information
Author:
Creation Date:
‎01-19-2023
Views:
4910