Veeam: "Failed to acquire agent managed by..." error

veeam-failed-to-acquire-agent-managed-by-01

If you try to configure agent-based VM backups with agents managed by a different Veeam Veeam Backup & Replication server, you may experience the "Failed to acquire agent managed by..." error.

This error occurs when you perform the Rescan operation of Protection Groups containing Windows or Linux machines managed by agents centrally deployed from the Veeam Backup & Replication server.

veeam-failed-to-acquire-agent-managed-by-02

If the processed machines were previously managed by a different Veeam Backup & Replication server, you may face the error:

Failed to acquire agent managed by VBR server.

veeam-failed-to-acquire-agent-managed-by-03

 

Fix "Failed to acquire agent managed by..." error

There are two ways to fix the "Failed to acquire agent managed by..." error:

  • Remove the Veeam's agent
  • Add a new key in the VBR registry

The deletion of installed agents can be time consuming if the number of machines to process is quite high and generally is not the ideal solution.

 

Modify the Windows Registry

An easy and quick way to prevent this error is the creation of a new registry key.

From your Veeam Backup & Replication server, open the Registry Editor and go to HKEY_LOCAL_MACHINE\SOFTWARE\Veeam\Veeam Backup and Replication.

Right click Veeam Backup and Replication and select New > DWORD (32-bit) Value option.

veeam-failed-to-acquire-agent-managed-by-04

Name the create new key as AgentDiscoveryIgnoreOwnership and enter 1 as Value data. Click OK to confirm.

veeam-failed-to-acquire-agent-managed-by-05

The new AgentDiscoveryIgnoreOwnership registry key has been created successfully.

veeam-failed-to-acquire-agent-managed-by-06

Now go to the Inventory area and select Physical Infrastructure section. Right click the Protection Group to process and select Rescan.

The rescan operation for Windows machines is now completed successfully.

veeam-failed-to-acquire-agent-managed-by-07

Also the rescan operation for Linux machines completes successfully.

veeam-failed-to-acquire-agent-managed-by-08

With this simple configuration it is now possible to complete the rescan procedure without problems.

signature