Removing Hyper-V Host from Recovery Service Vault that is deleted

Alf Kato Brandal 21 Reputation points
2020-10-03T18:12:44.98+00:00

Hi! I was a bit careless, and managed to delete my Recovery Service Vault without unregistering my Hyper-V hosts first. Now, when I try to register the Hyper-V host to a new vault, I get an error saying that the server is already registered to a vault (but, I know the vault is deleted, so how can they say it is already registered?)

I found a PowerShell script here https://learn.microsoft.com/en-us/azure/site-recovery/site-recovery-manage-registration-and-protection#unregister-a-connected-configuration-server, and ran that on the host. But it still says that the host is registered to a vault.

Can anyone help me with this?

Azure Site Recovery
Azure Site Recovery
An Azure native disaster recovery service. Previously known as Microsoft Azure Hyper-V Recovery Manager.
636 questions
0 comments No comments
{count} votes

Accepted answer
  1. Dave Patrick 426.1K Reputation points MVP
    2020-10-03T20:08:57.603+00:00

    Should be able to follow along with the three steps here.
    https://learn.microsoft.com/en-us/azure/site-recovery/site-recovery-manage-registration-and-protection

    --please don't forget to Accept as answer if the reply is helpful--


2 additional answers

Sort by: Most helpful
  1. Alf Kato Brandal 21 Reputation points
    2020-10-04T09:43:42.177+00:00

    @Dave Patrick - I did this yesterday (from the link you sent, and I shared). But got the same response. I also ran this powershell script: https://github.com/Huachao/azure-content/blob/master/articles/site-recovery/site-recovery-manage-registration-and-protection.md (I think it is the same) today, and then it worked. So I dont know, maybe I just had to wait a day, or maybe this other script is different. Anyway, I am helped now. Thanks!

    0 comments No comments

  2. Dave Patrick 426.1K Reputation points MVP
    2020-10-04T12:25:32.11+00:00

    Glad to hear problem is sorted. You're welcome

    0 comments No comments