An Azure backup service that provides built-in management at scale.
**
The issue is resolved.**
After spending two days and reading through several solutions, none of them worked. I tried blocking the Guest Agent update through the registry, but that didn’t work. I also tried changing the permissions of the WindowsAzure folder, but that didn’t work either. Finally, I fixed the issue and tested both an on-demand backup and one backup through policy—both worked well.
Solution that worked for me:
I hope this helps others too. I uninstalled the current Windows Azure Guest Agent, as I was sure the existing agent was caching incorrectly.
Stop the RDagent and Azure Guest Agent services.
In the service properties, go to the Recovery tab. For all three failure options, change them to Take No Action and set the reset failure counter to 1 day, with a reset count of 9 hours.
Rename the WindowsAzure folder to WindowsAzure.backup (or any name you prefer).
Install the Guest Agent version GuestAgent_2.7.41491.1183_x-xx.
After installation, both services will start again. Stop them immediately and go back to the Recovery tab. Set all three failure options back to Take No Action, reset the failure counter, and set the reset count to 9999. Make sure both services are stopped.
After installing the Azure Guest Agent, go to the WindowsAzure folder again. You will see a new folder named Package_XX_XX (with a timestamp). Copy this folder to another location—don’t cut and paste, just copy it.
Ensure both services are stopped and running from the Package_XX_XX folder. Afterward, start both services. Within two minutes, both services will be pointing to and running from the new location.
You will now see a new folder in the WindowsAzure directory with the name GuestAgent_2.7.41491.1193_xxx_xxx.
Stop both services again, change the recovery settings back to Take No Action, and reset the failure counters to 999. The Package_XX_XX folder will disappear after the update. Make sure both RDagent and Guest Agent services are stopped.
Rename the folder WindowsAzure\GuestAgent_2.7.41491.1193_xxx_xxx to WindowsAzure\GuestAgent_2.7.41491.1193_xxx_xxx.Backup.
Create a new empty folder in the WindowsAzure\GuestAgent_2.7.41491.1193_xxx_xxx directory with the exact same name as the original folder (just an empty folder).
- Copy all the files from the saved Package_XX_XX folder to the new folder.WindowsAzure\GuestAgent_2.7.41491.1193_xxx_xxx
- Once all the files are copied, start both services again. Your backup should now work fine.
Here’s a concise summary of the steps:
Uninstall the current Azure Guest Agent.
Stop the RDagent and Azure Guest Agent services.
In the Recovery tab, set failure actions to No Action, reset the failure counter to 1 day, and the reset count to 9 hours.
Rename the WindowsAzure folder to WindowsAzure.backup.
Install the version GuestAgent_2.7.41491.1183_x-xx.
Stop both services immediately after installation, and set the failure actions to No Action, with the reset count set to 9999.
Copy the Package_XX_XX folder (from WindowsAzure) to another location (don't cut, just copy).
Stop both services and ensure they are running from the copied Package_XX_XX folder.
Rename the old GuestAgent folder to Backup and create a new, empty folder with the same name.
- Copy all files from the saved Package_XX_XX folder to the new folder WindowsAzure\GuestAgent_2.7.41491.1193_xxx_xxx
Start both services and verify that the backup works fine