An Azure backup service that provides built-in management at scale.
Hi Lewies Thomas
It looks like you’re running into the classic MSI 1603 fatal-error when installing the Microsoft Azure Recovery Services (MARS) agent. Here’s a checklist of things to try that usually clear this up:
- Run as local administrator
- Right-click the installer and choose “Run as administrator.”
- Make sure the account is in the Local Administrators group.
- Validate prerequisites
- .NET Framework 4.5.2 or later (you’ve got 4.8—good!)
- Windows PowerShell installed and up-to-date.
- Supported OS with latest Windows Updates applied (see supported OS list).
- Clean up temp/cache folders
- Delete any .tmp files under C:\Windows\Temp (especially if there are tens of thousands).
- Make sure your scratch folder (cache folder) isn’t compressed, hidden, encrypted or system-attributed.
- Check install directory permissions
- Ensure the target install folder (by default C:\Program Files\Microsoft Azure Recovery Services Agent) doesn’t have weird attributes and that your user can write to it.
- Disable antivirus/endpoint protection temporarily
- Some AVs lock files during MSI install and throw a 1603.
- Exclude the scratch folder and the install path from real-time scanning.
- Review MSI install logs
- Run the MSI with verbose logging: msiexec /i “AzureRecoveryServicesAgent.msi” /l*v install.log
- Inspect install.log (or post relevant error lines here).
- If re-installing/remediating:
- Uninstall any previous MARS agent from Programs & Features.
- Delete the “Microsoft Azure Recovery Services Agent” folder under Program Files and under ProgramData.
- Reboot before attempting a fresh install.
- Check system clock & proxy settings
- Ensure the server’s time/timezone is correct.
- If you’re behind a proxy, verify system-account proxy settings via PsExec (so the MSI can reach Microsoft URLs).
If none of that helps, please share a bit more info:
• What OS and build (e.g. Windows Server 2019, Windows 10 21H2)?
• Have you installed a MARS agent here before or is this a first-time install?
• Any error details in the MSI log (install.log)?
• Is there a proxy or firewall that might be blocking the installer?
• Which MARS agent version are you trying to install?
• Are there any Azure vault credentials already on the machine?
Hope this gets you unstuck—let me know the answers above and we’ll dive deeper!
References
- Azure Recovery Services Agent install/registration issues https://docs.microsoft.com/azure/backup/backup-azure-mars-troubleshoot#installation-or-registration-issues
- MARS agent prerequisites & supported OS https://docs.microsoft.com/azure/backup/backup-support-matrix-mars-agent
- Uninstall and reinstall the MARS agent https://docs.microsoft.com/en-us/azure/backup/install-mars-agent
- Cleaning up .tmp files and cache folder tips https://docs.microsoft.com/azure/backup/backup-azure-mars-troubleshoot#common-mars-configuration-errors