Uninstall ASR mobility service

AdamTyler-3590 230 Reputation points
2024-05-07T23:29:01.1+00:00

Hello, I've followed a few articles for installing the mobility service and registering a given machine with the replication appliance, but what about uninstalling? Is this msiexec command from the following post sufficient to unregister from the replication appliance and remove all componets from the replicated VM?

https://learn.microsoft.com/en-us/azure/site-recovery/vmware-physical-manage-mobility-service#uninstall-mobility-service

MsiExec.exe /qn /x {275197FC-14FD-4560-A5EB-38217F80CBD1} /L+*V "C:\ProgramData\ASRSetupLogs\UnifiedAgentMSIUninstall.log"

I attempted this on a test system and removal of all components from Add/Remove programs looks good.

This folder still exists however and contains quite a few files.

C:\Program Files (x86)\Microsoft Azure Site Recovery

I also noticed this certificate installed in the personal store of the computer account. Sort of a mess. Wondering what other components are still hanging out on this system and if there is anything that needs to be done to unregister it from the replication appliance?

User's image

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

Accepted answer
  1. SadiqhAhmed-MSFT 38,891 Reputation points Microsoft Employee
    2024-05-08T10:17:53.0566667+00:00

    @AdamTyler-3590 Thank you for reaching out to us. Happy to assist!

    The MsiExec.exe command that you mentioned is used to uninstall the Mobility Service from a Windows machine. This command removes the Mobility Service components from the machine, including the Mobility Service agent, the Mobility Service extension, and the Mobility Service certificate.

    After running this command, you should no longer see the Mobility Service listed in the Add/Remove Programs list. However, some files and folders related to the Mobility Service may still exist on the machine, such as the C:\Program Files (x86)\Microsoft Azure Site Recovery folder that you mentioned. These files and folders can be safely deleted if you are sure that you no longer need them.

    To unregister the machine from the replication appliance, you can remove the machine from the replication configuration in the Azure Site Recovery portal. To do this, go to Replication > Replicated Items, select the machine that you want to remove, and click Remove.

    Doc reference: https://learn.microsoft.com/en-us/azure/site-recovery/site-recovery-manage-registration-and-protection#disable-protection-for-a-vmware-vm-or-physical-server-vmware-to-azure

    Hope this helps. Let Us know if you have any further questions.


    If the response helped, do "Accept Answer" and up-vote it

    1 person found this answer helpful.

0 additional answers

Sort by: Most helpful