Popular: Data updated November 7, 2026

Categories

Internet1,377
Communication323
Audio & video913
Graphics & design549
Office & productivity1,136
Developer tools3,175
AI tools552
Security & privacy397
System tools3,156
Games532
Education & science239
Network & IT291

Amazon CloudWatch Agent silent install & uninstall

Collect metrics, logs, and traces with the Amazon CloudWatch agent

Commands for installing Amazon CloudWatch Agent without prompts, removing it again and detecting it from deployment tools. A command is shown only when it is certain: from the manifest or the installer technology’s documented default.

Related guide: Silent install switches: MSI, NSIS, Inno Setup · Uninstall a program with the registry or PowerShell

With winget

PowerShell
winget install --id Amazon.CloudWatchAgent -e --silent --accept-package-agreements --accept-source-agreements
winget upgrade --id Amazon.CloudWatchAgent -e --silent
winget uninstall --id Amazon.CloudWatchAgent -e --silent

By installer

64-bit · MSI · All users

Silent installmsiexec /i amazon-cloudwatch-agent.msi /qn /norestart
Write a logmsiexec /i amazon-cloudwatch-agent.msi /qn /norestart /l*v "%TEMP%\amazon-cloudwatch-agent-install.log"
Uninstallmsiexec /x {4B924D60-853C-4309-8C62-05FC70C914F7} /qn /norestart
MSI product code
{4B924D60-853C-4309-8C62-05FC70C914F7}
Uninstall registry key
HKLM\SOFTWARE\Microsoft\Windows\CurrentVersion\Uninstall\{4B924D60-853C-4309-8C62-05FC70C914F7}
UpgradeCode
{C537C936-91B3-4270-94D7-E128ACFC3E86}

PowerShell: download, verify, install

Downloads the official file, checks its SHA256 and installs it silently.

install-amazon-cloudwatch-agent.ps1
$url = 'https://amazoncloudwatch-agent.s3.amazonaws.com/windows/amd64/1.300074.0b1920/amazon-cloudwatch-agent.msi'
$sha256 = 'DEA640FC0B92DA2F09E062FC496C21802040066332021B5C9A85F6FBAB7E64D3'
$file = Join-Path $env:TEMP 'amazon-cloudwatch-agent.msi'
Invoke-WebRequest -Uri $url -OutFile $file -UseBasicParsing
if ((Get-FileHash $file -Algorithm SHA256).Hash -ne $sha256) { throw 'SHA256 mismatch' }
Start-Process msiexec.exe -ArgumentList '/i', ('"{0}"' -f $file), '/qn', '/norestart' -Wait

Most popular in Containers & DevOps

See all
  1. HelmThe Package Manager for Kubernetes
  2. Docker DesktopAn application for macOS and Windows machines for the building and sharing of containerised applications.
  3. PulumiPulumi CLI for managing modern infrastructure as code
  4. Serverless FrameworkBuild applications on AWS Lambda and other next-gen cloud services, that auto-scale and only charge you when they run.
  5. Kubernetes - Minikube - A Local Kubernetes Development Environmentminikube quickly sets up a local Kubernetes cluster on macOS, Linux, and Windows. We proudly focus on helping application developers and new Kubernetes users.
  6. Puppet AgentPuppet is a tool that helps you manage and automate the configuration of servers.
  7. Docker Composedocker-compose plugin for docker cli
  8. k9sKubernetes CLI To Manage Your Clusters In Style!
  9. HashiCorp ConsulA distributed, highly available, and data center aware solution to connect and configure applications across dynamic, distributed infrastructure.
  10. actRun your GitHub Actions locally!

More from Amazon.com, Inc.

See all

Tags

Share