Silent Uninstall of Windows Agent

Article Number: 000069186

Last Modified: Fri Apr 03 18:00:30 GMT 2020

Description

  • How can I uninstall the Windows Agent silently to use a maintenance or reinstall script?

Environment

  • SolarWinds N-central
  • Windows Agent

Solution

  1. Find the uninstall key in the registry.
    • This is found in:
Computer\HKEY_LOCAL_MACHINE\SOFTWARE\WOW6432Node\Microsoft\Windows\CurrentVersion\Uninstall\
or
Computer\HKEY_LOCAL_MACHINE\Software\Microsoft\Windows\CurrentVersion\Uninstall\
  • User-added image
  1. Find theĀ Uninstall String inside the registry key.
    • Example:
Computer\HKEY_LOCAL_MACHINE\SOFTWARE\WOW6432Node\Microsoft\Windows\CurrentVersion\Uninstall\{1D9F5D88-12AA-427F-8A33-DED71D60E4D9}

Shows:
DisplayName - Windows Agent
Comments - N-central 12.2.1.67
UninstallString - MsiExec.exe /X{1D9F5D88-12AA-427F-8A33-DED71D60E4D9}
  1. Use this key to run a silent uninstall by simply adding /qn to the command line.
    • Please note that this key is a GUID and is different for each version of the agent, however, looking for DisplayName of Windows Agent we can easily find the correct string.
  2. After maintenance, reinstall the agent as required.

Did this article help you?

Rate this article

Share

Recommended Content