This article describes the symptoms and resolution for an issue that occurs when you try to upgrade from an older version to a newer version or release of the Microsoft Azure Recovery Services (MARS) Agent.
The Microsoft Azure Recovery Service Agent update failed.
Error: Unable to start RecoveryServicesManagementAgent Service. Uninstall the patch
Problem: Update install failed with error 1612
This issue occurs because the upgrade can't find the source installer for the MARS Agent in the Windows installer cache. The source installer is required for the upgrade to complete successfully.
To fix this issue, make sure that the source installer exists in the Windows Installer cache. To do this, follow these steps:
Exit the Microsoft Azure Recovery Services Agent Upgrade Wizard.
Open the OBPatch.log file that's located in the "C:\Windows\Temp" folder.
Locate the error-description line within the OBPatch.log file be searching for "Warning: Local cached package."
- Locate a line that resembles the following:Warning: Local cached package ‘C:\Windows\Installer\Unique_ID.msi is missing.
Note the Unique_ID value for future reference.
Double-click the MARS Agent update installer (.exe) file. This copies all Setup-related binaries and installer files to a temporary location on your computer and opens the Microsoft Azure Recovery Services Agent Upgrade Wizard.
Note Leave the wizard open until step 12.
Open the OBInstaller0Curr.errlog file that's located in the "C:\Windows\Temp" folder.
- Search in the text for "Directory Path for SetupLaunchScreen," and then locate the line with the latest time stamp that resembles the following:Directory Path for SetupLaunchScreen : C:\Temp_ID
Go to the C:\Temp_ID\Installers folder.
In this folder, locate and copy the OBSAGENT.msi file to the C:\Windows\Installer folder. Rename the destination file as Unique_ID.msi.
Close the MARS Agent Upgrade Wizard
Run the upgrade installer to install the upgrade. If the issue persists, contact Microsoft Support.