Microsoft Dependency Agent Silent Install (How-To Guide)

Microsoft Dependency Agent is a lightweight monitoring component used by Azure Monitor VM Insights to discover what processes are running on a virtual machine and how those processes communicate with other systems. This article will serve as an informative guide and give you a clear understanding of how to perform a silent installation of Microsoft Dependency Agent from the command line using the EXE installer.

How to Install Microsoft Dependency Agent Silently

Microsoft Dependency Agent Silent Install (EXE)

  1. Navigate to: https://aka.ms/dependencyagentwindows
  2. Download & Copy the InstallDependencyAgent-Windows.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:
InstallDependencyAgent-Windows.exe /S /RebootMode=manual

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

Software Title: Dependency Agent
Vendor: Microsoft Corporation
Architecture: x64
Installer Type: EXE
Silent Install Switch: InstallDependencyAgent-Windows.exe /S /RebootMode=manual
Silent Uninstall Switch: "%ProgramFiles%\Microsoft Dependency Agent\Uninstall_x.y.z.exe" /S
Download Link: Microsoft Dependency Agent Download
PSADT v4: Microsoft Dependency Agent | PSADT v4

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.


How to Uninstall Microsoft Dependency Agent Silently

Check out the following post for a scripted solution.

Microsoft Dependency Agent Install and Uninstall (PSADT v4)
  1. Open an Elevated Command Prompt by Right-Clicking on Command Prompt and select Run as Administrator
  2. Enter the following command:

Microsoft Dependency Agent Silent Uninstall (EXE)

"%ProgramFiles%\Microsoft Dependency Agent\Uninstall_x.y.z.exe" /S

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.