Amazon SSM Agent Silent Install (How-To Guide)


AWS Systems Manager Agent (SSM Agent) is Amazon software that runs on Amazon Elastic Compute Cloud (Amazon EC2) instances, edge devices, and on-premises servers and virtual machines (VMs). SSM Agent makes it possible for Systems Manager to update, manage, and configure these resources. This article will serve as an informative guide and give you a clear understanding of how to perform a silent installation of the Amazon SSM Agent from the command line using the EXE installer.

How to Install the Amazon SSM Agent Silently

Amazon SSM Agent Silent Install (EXE)

  1. Navigate to: https://s3.amazonaws.com/ec2-downloads-windows/SSMAgent/latest/windows_amd64/AmazonSSMAgentSetup.exe
  2. Download & Copy the AmazonSSMAgentSetup.exe to a folder created at (C:\Downloads)
  3. Open an Elevated Command Prompt by Right-Clicking on Command Prompt and select Run as Administrator
  4. Navigate to the C:\Downloads folder
  5. Enter the following command: AmazonSSMAgentSetup.exe /install /quiet /norestart
  6. Press Enter
Microsoft SQL Server 2019 Express S...
Microsoft SQL Server 2019 Express Silent Install (How-To Guide)

After a few moments you will find Amazon SSM Agent entries in the Installation Directory and Programs and Features in the Control Panel.

Software Title:Amazon SSM Agent
Vendor:Amazon Web Services
Architecture:x86_x64
Installer Type:EXE
Silent Install Switch:AmazonSSMAgentSetup.exe /install /quiet /norestart
Silent Uninstall Switch:AmazonSSMAgentSetup.exe /uninstall /quiet /norestart
Repair Command:AmazonSSMAgentSetup.exe /repair /quiet /norestart
Download Link:https://s3.amazonaws.com/ec2-downloads-windows/SSMAgent/latest/windows_amd64/AmazonSSMAgentSetup.exe
PowerShell Script:https://silentinstallhq.com/amazon-ssm-agent-install-and-uninstall-powershell/

The information above provides a quick overview of the software title, vendor, silent install, and silent uninstall switches. The download links provided take you directly to the vendors website. Continue reading if you are interested in additional details and configurations.


Additional Configurations

Create an Amazon SSM Agent Installation Log File

The Amazon SSM Agent installer offers the option to generate a log file during installation to assist with troubleshooting should any problems arise. You can use the following command to create a verbose log file with details about the installation.

Amazon SSM Agent Silent Install (EXE) with Logging

AmazonSSMAgentSetup.exe /install /quiet /norestart /log "%WINDIR%\Temp\AmazonSSMAgent-Install.log"

How to Uninstall the Amazon SSM Agent Silently

Check out the Amazon SSM Agent Install and Uninstall (PowerShell) post for a scripted solution.

  1. Open an Elevated Command Prompt by Right-Clicking on Command Prompt and select Run as Administrator
  2. Enter one of the following commands:

Amazon SSM Agent Silent Uninstall (EXE)

AmazonSSMAgentSetup.exe /uninstall /quiet /norestart

Amazon SSM Agent Silent Uninstall (EXE) with Logging

AmazonSSMAgentSetup.exe /uninstall /quiet /norestart /log "%WINDIR%\Temp\AmazonSSMAgent-Uninstall.log"

Always make sure to test everything in a development environment prior to implementing anything into production. The information in this article is provided “As Is” without warranty of any kind.

Recent Posts