Azure Connected Machine Agent Uninstall after VM Migration to Azure with MASR

Gregory Griffin 20 Reputation points
2024-07-17T06:14:54.5633333+00:00

Hi,

Last week I migrated 2 Virtual Machines from an OnPrem VMware Infrastructure to Azure with MASR.

I encountered no issues but I do have a question concerning the Azure Connected Machine Agent and VMware Tools.

As the both OnPrem VMs are now Azure VMs and managed as Azure VMs, is the Azure Connected Machine Agent still required or can it be uninstalled?

I also noticed the VMware Tools Uninstall fails over MSI or Control Panel. Any suggestion hoe to remove properly without using the "dirty way" by stopping and removing services/folders?

TY in advance for the feedback.

I wish you all a great day.

BR,

Gregory

Azure Arc
Azure Arc
A Microsoft cloud service that enables deployment of Azure services across hybrid and multicloud environments.
378 questions
Azure Site Recovery
Azure Site Recovery
An Azure native disaster recovery service. Previously known as Microsoft Azure Hyper-V Recovery Manager.
679 questions
0 comments No comments
{count} votes

2 answers

Sort by: Most helpful
  1. Gregory Griffin 20 Reputation points
    2024-07-17T12:03:59.3933333+00:00

    Hi,

    I managed to find the necessary information for the Azure Connected Machine Agent. It can be uninstalled.

    For the VMware Tools I have not found anything that could help me further.

    BR,

    Greg

    0 comments No comments

  2. SadiqhAhmed-MSFT 41,061 Reputation points Microsoft Employee
    2024-07-17T12:45:46.6033333+00:00

    Hello @Gregory Griffin Thank you for contacting us on Microsoft Q&A platform. Happy to help!Regarding your question about the Azure Connected Machine Agent and VMware Tools, the Azure Connected Machine Agent is not required for Azure VMs and I see you found information about un-installation of the agent.

    As for the VMware Tools uninstallation issue, you can try the following steps to remove it properly:

    1. Stop all VMware services running on the VM.

    Open the Control Panel and go to "Programs and Features."

    Find the VMware Tools entry in the list of installed programs and select it.

    Click on "Uninstall" and follow the prompts to uninstall VMware Tools.

    If the uninstallation fails, you can try the following steps:

    1. Stop all VMware services running on the VM.
    2. Open the Command Prompt as an administrator.
    3. Navigate to the VMware Tools installation directory (usually "C:\Program Files\VMware\VMware Tools").
    4. Run the command "setup.exe /c /v"EULA_VMWARE_INSTALL_DIR="C:\Program Files\VMware\VMware Tools"" to uninstall VMware Tools.

    If these steps don't help, you may use VMware Clean Up Utility for this purpose.

    1. Download the VMware Cleanup Utility from the VMware website.
    2. Run the Cleanup Utility:
      • Launch the utility with administrative privileges.
      • Follow the prompts to uninstall VMware Tools.
      • The utility will clean up registry entries, files, and services associated with VMware Tools.
    3. Reboot: After running the cleanup utility, reboot the Azure VM to complete the uninstallation.

    Hope this helps you with your question. Let us know if you need any further assistance.


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

    0 comments No comments