#1 Global Leader in Data Protection & Ransomware Recovery

Agent is managed by another Veeam server

KB ID: 4548
Product: Veeam Backup & Replication | 12 | 12.1
Veeam Agent for Microsoft Windows | 5.0 | 6.0 | 6.1
Veeam Agent for Linux | 5.0 | 6.0 | 6.1
Veeam Agent for Mac | 2.0 | 2.1
Published: 2024-02-14
Last Modified: 2024-03-27
mailbox
Get weekly article updates
By subscribing, you are agreeing to have your personal information managed in accordance with the terms of Veeam's Privacy Notice.

Cheers for trusting us with the spot in your mailbox!

Now you’re less likely to miss what’s been brewing in our knowledge base with this weekly digest

error icon

Oops! Something went wrong.

Please try again later.

Challenge

During the Rescan of a Protection Group, a machine displays the warning:

Agent is managed by another Veeam server (<other_Veeam_server>)
Warning

Cause

This occurs when configuration settings are present on the machine indicating that the Veeam Agent deployment on that machine is managed by a different Veeam Backup & Replication server.

Solution

Backup Server In Warning is Intended Owner

If the Veeam Backup Server listed in the warning is valid and is intended to manage the machine, remove the machine from the protection group on the Veeam Backup Server where the warning occurred.

Veeam Agent Management Migration

If the intent is to migrate the machine's management from the other Veeam Backup Server to this new Veeam Backup Server, first remove it from all jobs and protection groups on the other machine.

More Information

Forcefully Disassociate Veeam Agent Deployment

Perform Only if Managing Veeam Backup Server is Decommisioned

Typically, once a machine has been removed from all jobs and protection groups on a Veeam Backup Server, records tying that Veeam Agent deployment to that Veeam Backup Server should be removed.

However, if the Veeam Backup Server managing the Veeam Agent deployment is no longer available or has been decommissioned, perform the following procedure to reset the Veeam Agent configuration, forcing it into standalone operation mode.

Note: These steps should not be performed if the managing Veeam Backup Server is still active and accessible.

Standalone Reset Commands

These commands are fully documented in the links above.

For Veeam Agent for Microsoft Windows, open an Administrative PowerShell prompt and execute:

& 'C:\Program Files\Veeam\Endpoint Backup\Veeam.Agent.Configurator.exe' -removeOwner /i /force

If the Veeam Agent for Microsoft Windows deployment was operating in Managed by Server mode, the above command will exit with code 3:

Unable to set agent to self-managed mode because this backup agent is already managed by the backup server.

Use the Manual Standalone Reset Script below to forcibly untether the Veeam Agent for Microsoft Windows deployment from Veeam Backup & Replication.

Manual Standalone Reset Script

Note: When Veeam Agent for Microsoft Windows is deployed in Managed by Server mode, no shortcuts for the application are created in the start menu. The commands below to disassociate the deployment will not create those shortcuts. This procedure is only intended for migrating a Veeam Agent for Microsoft Windows deployment from being managed by a dead Veeam Backup Server to a new one. To achieve actual standalone operation, uninstall Veeam Agent for Microsoft Windows and reinstall using the standalone package.

Open an Administrative PowerShell console and run the following commands:

This process mimics the reset procedure the Veeam Agent Configurator would perform.

Remove-Item -Path $(Get-ChildItem Cert:\LocalMachine\My | Where-Object { $_.FriendlyName -eq "Veeam Agent Certificate" }).PSPath -Confirm:$false
Set-ItemProperty -Path "HKLM:\SOFTWARE\Veeam\Veeam Agent for Microsoft Windows\ManagedMode" -Name "License" -Value "" -ErrorAction Ignore
Set-ItemProperty -Path "HKLM:\SOFTWARE\Veeam\Veeam EndPoint Backup" -Name "DisableNotifications" -Value 0 -ErrorAction Ignore
Remove-ItemProperty -Path "HKLM:\SOFTWARE\Veeam\Veeam EndPoint Backup" -name "SerializedConnectionParams" -ErrorAction Ignore
Remove-ItemProperty -Path "HKLM:\SOFTWARE\Veeam\Veeam EndPoint Backup" -name "ManagedModeInstallation" -ErrorAction Ignore
Remove-ItemProperty -Path "HKLM:\SOFTWARE\Veeam\Veeam EndPoint Backup" -name "VbrServerName" -ErrorAction Ignore
Remove-ItemProperty -Path "HKLM:\SOFTWARE\Veeam\Veeam EndPoint Backup" -name "CatchAllOwnership" -ErrorAction Ignore
Remove-ItemProperty -Path "HKLM:\SOFTWARE\Veeam\Veeam EndPoint Backup" -name "VBRServerId" -ErrorAction Ignore
Remove-ItemProperty -Path "HKLM:\SOFTWARE\Veeam\Veeam EndPoint Backup" -name "JobSettings" -ErrorAction Ignore
Remove-ItemProperty -Path "HKLM:\SOFTWARE\Veeam\Veeam EndPoint Backup" -name "BackupServerIPAddress" -ErrorAction Ignore
Remove-ItemProperty -Path "HKLM:\SOFTWARE\Veeam\Veeam EndPoint Backup" -name "RMMProviderMode" -ErrorAction Ignore
Remove-ItemProperty -Path "HKLM:\SOFTWARE\Veeam\Veeam EndPoint Backup" -name "ReadonlyMode" -ErrorAction Ignore
Restart-Service "Veeam Agent for Microsoft Windows"
For Veeam Agent for Linux and Veeam Agent for Mac:
sudo veeamconfig mode reset --force
To submit feedback regarding this article, please click this link: Send Article Feedback
To report a typo on this page, highlight the typo with your mouse and press CTRL + Enter.

Spelling error in text

This site is protected by reCAPTCHA and the Google Privacy Policy and Terms of Service apply.
Thank you!

Thank you!

Your feedback has been received and will be reviewed.

Oops! Something went wrong.

Please try again later.

You have selected too large block!

Please try select less.

KB Feedback/Suggestion

This form is only for KB Feedback/Suggestions, if you need help with the software open a support case

By submitting, you are agreeing to have your personal information managed in accordance with the terms of Veeam's Privacy Notice.
This site is protected by reCAPTCHA and the Google Privacy Policy and Terms of Service apply.
Verify your email to continue your product download
We've sent a verification code to:
  • Incorrect verification code. Please try again.
An email with a verification code was just sent to
Didn't receive the code? Click to resend in sec
Didn't receive the code? Click to resend
Thank you!

Thank you!

Your feedback has been received and will be reviewed.

error icon

Oops! Something went wrong.

Please try again later.