Skip to content

TechDirectArchive

Hands-on IT, Cloud, Security & DevOps Insights

  • Home
  • About
  • Advertise With US
  • Reviews
  • Contact
  • Toggle search form
Home » Backup » Unable to Remove Orphaned VHR Repository v2 from VBR v13
  • Synology NFS Share
    Add Synology NFS Storage to Proxmox VE for VMs and Backups Storage
  • Configure Synology DS923+ NAS for File Sharing
    How to Configure Synology DS923+ NAS for File Sharing [Part 2] Reviews
  • Plex DS923+ NAS
    Step-by-step guide on how to set up the Synology DS923+ NAS Reviews
  • Pluggin cable
    System check found some issues during MBAM encryption: Fail, the Power cable must be connected Windows
  • insufficientaccessright 1
    Azure AD Connect Permission issue: Error 8344 insufficient access rights to perform the operation AWS/Azure/OpenShift
  • banner 3
    How to Enable or Disable SuperFetch in Windows 11 Windows
  • Error 0x800f0823 The specified package cannot be added to this Windows Image
    Error 0x800f0823: Wizard.hta Screen stuck during WDS Deployment Windows Server
  • Featured image defaultStartPage
    Change the default start page for File Explorer on Windows 11 Windows

Unable to Remove Orphaned VHR Repository v2 from VBR v13

Posted on 31/01/202631/01/2026 Christian By Christian No Comments on Unable to Remove Orphaned VHR Repository v2 from VBR v13
Remove Orphaned VHR Repository

In this article, we shall discuss the steps to fix “Unable to Remove Orphaned VHR Repository v2 from VBR v13”. As system administrators, we believe everything is possible, provided you think it through. Therefore, I will proceed and show you the steps to fix this. Please, see How to set up Veeam Software Appliance v13, how to deploy and integrate VHR with VBR, and how to Upgrade Veeam Backup and Replication v12.3 to v13 on Windows.

Yes, this task was no longer straightforward, as the usual workflow for deleting or removing backup jobs tied to the repository, and for deleting the repository itself when it is no longer needed, before removing the managed server. This was due to the use of single-use credentials.

Please, see how to Upgrade Path and In-Place Upgrade for VBR v13 and Known Fixes, and “the Best Storage for Veeam: Comparing OOTBI by ObjectFirst to VHR.

Reproducing the Error “Root User Cannot be Accepted for Single-Use Credential”

What happens when you no longer have the VHR v2 Server due to the reinstallation of VIHR? To reproduce this error, we will launch the VBR console as shown below.

Sign-in to VBR console

Note: The root issue here is that the transport service continues to run under the context of the veeamsvc. This means that the account must remain present on the Linux server. Please, see how to deploy and integrate VHR with VBR. Veeam only requires the credentials during the initial deployment of the transport service.

This is why single-use credentials are used. But as we see, due to updates and upgrades. We have to regenerate the single-use credential as discussed here “Veeam Host Components: Unable to reinstall Deploy Service SSH“. This method was used effectively to upgrade the component. But now, I have reinstalled the Repo and we have to find a way around this issue.

When we try to remove it, we are prompted with the error below. Removing Veeam components requires credentials with root privileges. Specify credentials now.

requires singl use cred

Assume Connection to VHR

Also, because this (infrastructure) environment has been removed. You cannot also connect to it with any other root credential, as the transport service continues to run under the context of the veeamsvc (single-use credential). Here is a similar error discussed; perhaps these solutions might better suit you.

To demonstrate this, navigate to the backup infrastructure, and as you can see. When we wish to connect via SSH or a certificate-based authentication method. It will not work

connect with cert

Click Yes to trust the server. It will fail very shortly.

connect to veeam installer service

When you try to use SSH with any root credentials. We already know that this will fail.

remove Managed ser - remove joob - remove repo - remove limux repo - but i failed now

Please, see how to create a bootable USB on Mac: Proxmox VE Setup. Also, see how to generate CSR and request a Certificate from Herica CA.

Remove the deleted VHR v2 from VBR

To remove the deleted VHR server (likely “VHR”) from Veeam Backup & Replication (VBR) v13 managed servers after the job and repo are gone. Please, use PowerShell as shown below since the Web UI cannot be used in this case.

Kindly run the command on the VBR server. This unassigns the repo role only. The VHR server stays in managed servers if added separately; data on the Linux host remains untouched. But, this is not what I want as the server stays and repo vanishes which I have done before.

Get-VBRBackupRepository -Name "192.168.2.78" | Remove-VBRBackupRepository -Confirm:$false

To completely remove the VHR repo (“192.168.2.78”) from VBR v13. Unassigning it, and clearing all references, and handling the deleted host. Run the below PowerShell command.

Get-VBRServer -Name "VHR IP address or FQDN" | Remove-VBRServer -Confirm:$false
unassign role - check if deletion is possible and remove server

Ignore the final unreachable host warning that the server throws from the managed servers

server removed

Why was the error “Failed to open deployer service management port”

The “Failed to deploy management agent port” error was prompted because. The VBR server was unable to conenct the deleted VHR host (192.168.2.78) on port 6160 for the Veeam Installer Service. I will show you in a different blogpost how a similar error was fixed.

Now, lets now force the server removal despite the agent deploy failure. Run the below command.

Get-VBRServer | Where-Object {$_.Name -like "*192.168.2.78*"} | Remove-VBRServer
force server removal despite agent failure

Then run the commands below to verify. Both should return nothing as shown below.

Get-VBRBackupRepository | Where-Object {$_.Name -like "*192.168.2.78*"}
Get-VBRServer | Where-Object {$_.Name -like "*192.168.2.78*"}
verify clean

You can also use the commands below to confirm that the repo and server were correctly removed.

Get-VBRBackupRepository -Name "192.168.2.78"
Get-VBRServer | ? Name -like "*192.168.2.78*"
clearned

Please, see What Ransomware Recovery looks like when the clock is ticking, and how to set up Devolusion Remote Desktop Manager on Windows. Also, see Hardening Your Infrastructure: A Guide to VMware VBS and MS GPO Credential Guard in VBR v13.

Add a Managed Server to VBR v13

To add a new server, navigate to the Backup Infrastructure and select Managed Server. You can right-click on the working area or the ribbon to select “Add Server”.

Add managed server linux

Click on Linux

linux

Note: FQDN works reliably in VBR/VSA v13 due to strict reverse DNS requirements for certificate authentication, SSH, and agent deployment on Linux. IPs skip PTR lookups and often fail validation.

Because of this, launch DNS Manager and create an A Record as shown below for the new VIHR server.

Create a record

In the new Linux Server window, enter the FQDN and click Next

FQDN needed

Select the Connect using Certificate-Based Authentication method

connect with cert based

As you can see, it is connecting to the installer service

connecting

Shortly, you are prompted to trust this server. Click on Yes to do so.

connect to veeam installer service

Note: You can also do all these via the Web UI, as shown below. This is the game changer introduced in v13. The ability to manage VBR over the web.

Add manage server via the web UI

As you can see below. The following will be installed on the target host.

review

Here is a summary of the new VHR we have added.

Linux server setup

That is all you needed to do to remove and add a new Linux Hardened Server to VBR.

server added

I hope you found this article on how to fix “Unable to Remove Orphaned VHR Repository v2 from VBR v13” very useful. Please, feel free to leave a comment below.

5/5 - (1 vote)

Thank you for reading this post. Kindly share it with others.

  • Share on X (Opens in new window) X
  • Share on Reddit (Opens in new window) Reddit
  • Share on LinkedIn (Opens in new window) LinkedIn
  • Share on Facebook (Opens in new window) Facebook
  • Share on Pinterest (Opens in new window) Pinterest
  • Share on Tumblr (Opens in new window) Tumblr
  • Share on Telegram (Opens in new window) Telegram
  • Share on WhatsApp (Opens in new window) WhatsApp
  • Share on Pocket (Opens in new window) Pocket
  • Share on Mastodon (Opens in new window) Mastodon
  • Share on Bluesky (Opens in new window) Bluesky
  • Share on Threads (Opens in new window) Threads
  • Share on Nextdoor (Opens in new window) Nextdoor
Backup Tags:Linux Repo, Remove Managed Server, Remove Orphaned VHR, Remove the deleted VHR v2 from VBR, Single Use Credential for VHR, VBR v13, VHR, VHR Repository, VHR Repository v2

Post navigation

Previous Post: What Ransomware Recovery looks like when the clock is ticking
Next Post: Upgrade legacy VHR to Veeam Infrastructure Hardened Repository

Related Posts

  • Integrate OOTBI with VBR
    How to integrate ObjectFirst OOTBI Appliance with VBR Backup
  • Veeam
    Failed to connect to Veeam Backup and Replication server: Remote Channel Sink UriNotPublished, remote connection refused, and failed to start the service Backup
  • Screenshot 2022 04 02 at 23.18.48
    CVE-2022-26503 Veeam Agent for Microsoft Windows Vulnerability Backup
  • Protect OOTBI
    Best Storage for Veeam: Comparing OOTBI by ObjectFirst to VHR Backup
  • Feature image   Hiren's boot
    Recover your data after system failure with Hiren’s boot Backup
  • Featured image
    How to Disable or Uninstall OneDrive on Windows 10 and 11 Backup

More Related Articles

Integrate OOTBI with VBR How to integrate ObjectFirst OOTBI Appliance with VBR Backup
Veeam Failed to connect to Veeam Backup and Replication server: Remote Channel Sink UriNotPublished, remote connection refused, and failed to start the service Backup
Screenshot 2022 04 02 at 23.18.48 CVE-2022-26503 Veeam Agent for Microsoft Windows Vulnerability Backup
Protect OOTBI Best Storage for Veeam: Comparing OOTBI by ObjectFirst to VHR Backup
Feature image   Hiren's boot Recover your data after system failure with Hiren’s boot Backup
Featured image How to Disable or Uninstall OneDrive on Windows 10 and 11 Backup

Leave a Reply Cancel reply

You must be logged in to post a comment.

Microsoft MVP

VEEAMLEGEND

vexpert-badge-stars-5

Virtual Background

GoogleNews

Categories

veeaam100

sysadmin top30a

  • Synology NFS Share
    Add Synology NFS Storage to Proxmox VE for VMs and Backups Storage
  • Configure Synology DS923+ NAS for File Sharing
    How to Configure Synology DS923+ NAS for File Sharing [Part 2] Reviews
  • Plex DS923+ NAS
    Step-by-step guide on how to set up the Synology DS923+ NAS Reviews
  • Pluggin cable
    System check found some issues during MBAM encryption: Fail, the Power cable must be connected Windows
  • insufficientaccessright 1
    Azure AD Connect Permission issue: Error 8344 insufficient access rights to perform the operation AWS/Azure/OpenShift
  • banner 3
    How to Enable or Disable SuperFetch in Windows 11 Windows
  • Error 0x800f0823 The specified package cannot be added to this Windows Image
    Error 0x800f0823: Wizard.hta Screen stuck during WDS Deployment Windows Server
  • Featured image defaultStartPage
    Change the default start page for File Explorer on Windows 11 Windows

Subscribe to Blog via Email

Enter your email address to subscribe to this blog and receive notifications of new posts by email.

Join 1,825 other subscribers
  • RSS - Posts
  • RSS - Comments
  • About
  • Authors
  • Write for us
  • Advertise with us
  • General Terms and Conditions
  • Privacy policy
  • Feedly
  • Telegram
  • Youtube
  • Facebook
  • Instagram
  • LinkedIn
  • Tumblr
  • Pinterest
  • Twitter
  • mastodon

Tags

AWS Azure Bitlocker Microsoft Windows PowerShell WDS Windows 10 Windows 11 Windows Deployment Services Windows Server 2016

Copyright © 2025 TechDirectArchive

 

Loading Comments...
 

You must be logged in to post a comment.