Azure backup not working after doing in-place upgrade from Windows 2012 to Windows 2016

Henrik Flodén 20 Reputation points
2023-08-23T19:39:37.9033333+00:00

We have done in-place upgrade of a few servers in Azure from Windows Server 2012 to Windows Server 2016 (following these instructions https://learn.microsoft.com/en-us/azure/virtual-machines/windows-in-place-upgrade). It all worked surprisingly well but unfortunately now the daily backups are failing with Error Code GuestAgentPluginProcessingError. I have followed all the trouble shooting suggestions and have re-installed the Azure VM-agent without any luck.

Digging deep I have found errors being logged under C:\Packages\Plugins\Microsoft.Azure.RecoveryServices.VMSnapshot\1.0.82.0\Status. I here see the error code FailedBackupComponentInit.

I am guessing that a re-installation of the VMSnapshot agent is needed. Does anyone have suggestions on how to do that?

Azure Backup
Azure Backup
An Azure backup service that provides built-in management at scale.
1,496 questions
Windows for business | Windows Server | User experience | Other
{count} votes

Accepted answer
  1. William Fulks 85 Reputation points
    2023-09-12T15:00:36.4433333+00:00

    We got this resolved this morning with the help of an MS tech. Here's what we did:

    1. Stop the Windows Azure Guest Agent service
    2. Rename the folder C:\Packages\Plugins\Microsoft.Azure.RecoveryServices.VMSnapshot
    3. Export (to backup) then delete the following registry folder - HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows Azure\HandlerState\Microsoft.Azure.RecoveryServices.VMSnapshot_XXXX
    4. Start the Windows Azure Guest Agent service back
    5. Trigger a manual backup and it completed after less than 10 minutes

    After restarting the service you can watch it recreate the folder under C:\Packages\Plugins\

    2 people found this answer helpful.

0 additional answers

Sort by: Most helpful

Your answer

Answers can be marked as Accepted Answers by the question author, which helps users to know the answer solved the author's problem.