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

Unable to Remove Orphaned VHR Repository v2 from VBR v13

Posted on 31/01/202601/04/2026 IT Expert By IT Expert 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 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:cannot delete VHR repository Veeam, clean up orphaned Veeam repositories, failed to remove VHR repository v2, fix orphaned VHR repository VBR, Linux Repo, orphaned VHR repository Veeam, Remove Managed Server, remove orphaned repository VBR 13, Remove Orphaned VHR, Remove the deleted VHR v2 from VBR, resolve orphaned VHR repository, Single Use Credential for VHR, Unable to remove orphaned VHR repository v2 from VBR v13, VBR 13 orphaned repository fix, VBR v13, VBR v13 repository management issue, Veeam Backup and Replication v13 orphaned repository, Veeam backup repository deletion issue, Veeam infrastructure repository error, Veeam orphaned repository troubleshooting, Veeam repository configuration problem, Veeam repository removal error, Veeam VHR repository cleanup, Veeam VHR repository v2 issue, Veeam VHR v2 removal problem, VHR, VHR Repository, VHR Repository v2, VHR v2 repository stuck Veeam

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

  • Active Directory migration
    Migrate Active Directory Domain and Forest with Veeam Replica Backup
  • veeam
    Error 1064: An exception occurred in the service when handling the control request Backup
  • banner
    How to Import Data from a GitHub Repository to Postman Backup
  • VHR upgrade
    Upgrade legacy VHR to Veeam Infrastructure Hardened Repository Backup
  • veeaamAgent1
    Veeam Agent Vulnerability: Fix Veeam Agent vulnerability for Microsoft Windows  Backup
  • Protect OOTBI
    Best Storage for Veeam: Comparing OOTBI by ObjectFirst to VHR Backup

More Related Articles

Active Directory migration Migrate Active Directory Domain and Forest with Veeam Replica Backup
veeam Error 1064: An exception occurred in the service when handling the control request Backup
banner How to Import Data from a GitHub Repository to Postman Backup
VHR upgrade Upgrade legacy VHR to Veeam Infrastructure Hardened Repository Backup
veeaamAgent1 Veeam Agent Vulnerability: Fix Veeam Agent vulnerability for Microsoft Windows  Backup
Protect OOTBI Best Storage for Veeam: Comparing OOTBI by ObjectFirst to VHR 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

Veeam Vanguard

  • Screenshot 2020 05 14 at 17.46.59
    Linux System Update: Upgrade vs. Dist-upgrade Differences Linux
  • Generate SSH Keys
    Associate SSH Public key with Azure Linux VM AWS/Azure/OpenShift
  • banner 2
    Why is Google moving from Universal Analytics (UA) property to GA4 property JIRA|Confluence|Apps
  • HyperV and vSwitch creation
    Install HyperV and Configure vSwitch on Windows Server with PowerShell Virtualization
  • Encrypt Email Sent In Microsoft Outlook
    How To Encrypt Email Sent In Microsoft Outlook Microsoft Exchange/Office/365
  • FileNotFoundError Errno 2 No such file or directory
    Fix FileNotFoundError: [Errno 2] No such file or directory Scripts
  • fixzoomaudioissue
    How to fix unable to access microphone on Zoom JIRA|Confluence|Apps
  • PrintNightMare 1
    PrintNightmare security update for Windows Server and Windows 10 Security | Vulnerability Scans and Assessment

Subscribe to Blog via Email

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

Join 1,803 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.