Can't uninstall or update Azure Connected Machine Agent version 1.52.03039.2243

IanB 0 Reputation points Microsoft External Staff
2025-10-23T20:37:42.92+00:00

Issue is that on a Windows Server 2025 VM the Azure Connected Machine Agent is on 1.52.03039.2243 and if we try to update or uninstall the agent it pops open a window saying the feature is on a CD or other detachable disk and wants the Azure Connected machine Agent disk to be inserted. When provided with the MSI for versions 1.51, 1.52 or latest it says that they are not valid installation packages for Azure Connected Machine Agent.

Azure Arc
Azure Arc
A Microsoft cloud service that enables deployment of Azure services across hybrid and multicloud environments.
{count} votes

1 answer

Sort by: Most helpful
  1. hossein jalilian 13,120 Reputation points Volunteer Moderator
    2025-10-23T20:51:25.8933333+00:00

    Thanks for posting your question in the Microsoft Q&A forum.

    On Windows Server 2025, uninstalling or updating the Azure Connected Machine Agent often prompts for the original MSI because Windows Installer can’t locate the initial package. The solution is to bypass the installer by uninstalling via the agent’s Product Code using msiexec or PowerShell, which forces removal without needing the original MSI. If that fails, manually clean leftover files, processes, and registry keys. For Azure Arc installed as a Windows feature, use PowerShell feature removal commands. This approach resolves the blockage and allows reinstallation, update, or full removal.


    Please don't forget to close up the thread here by upvoting and accept it as an answer if it is helpful


Your answer

Answers can be marked as 'Accepted' by the question author and 'Recommended' by moderators, which helps users know the answer solved the author's problem.