SwitchHunt / catalog
Azure Connected Machine Agent (Azure Arc) - Silent Install Switch
The hand-curated silent install command for Azure Connected Machine Agent (Azure Arc) on Windows, plus its silent uninstall command - for unattended, quiet, fleet-wide deploys. Copy, paste, ship - smoke-test in a throwaway VM first.
Silent install command
msiexec /i "installer.msi" /qn /norestart Silent uninstall command
msiexec /x "installer.msi" /qn /norestart Replace installer.msi with the actual installer filename (or its full path).
Notes & gotchas
Installing is only step one: himds, GCArcService and ExtensionService were running afterwards, but the machine is not in Azure until "azcmagent connect" runs with your subscription, resource group, location and a service principal (the onboarding script from the Azure portal does both). Disconnect with "azcmagent disconnect" before uninstalling, or the Azure resource is left behind.
Lab-tested
On 2026-11-11 we ran the install command above as SYSTEM (how deployment tools run it) on a Windows 11 VM against Azure Connected Machine Agent (Azure Arc) 1.70.03595.3521, and confirmed the app showed up in Add/Remove Programs - not just that the installer exited 0. The uninstall command above then removed it. Vendors change installers between versions, so smoke-test a new one before you ship it fleet-wide.
FAQ
What is the silent install command for Azure Connected Machine Agent (Azure Arc)?
Run: msiexec /i "installer.msi" /qn /norestart
How do I silently uninstall Azure Connected Machine Agent (Azure Arc)?
Run: msiexec /x "installer.msi" /qn /norestart
Any gotchas installing Azure Connected Machine Agent (Azure Arc) unattended?
Installing is only step one: himds, GCArcService and ExtensionService were running afterwards, but the machine is not in Azure until "azcmagent connect" runs with your subscription, resource group, location and a service principal (the onboarding script from the Azure portal does both). Disconnect with "azcmagent disconnect" before uninstalling, or the Azure resource is left behind.
Got a different installer, or one that isn't in this list? Drop it into SwitchHunt and it reads the silent switches right in your browser, nothing uploaded.