Silent Uninstall of Windows Agent

Last Modified

Fri Apr 03 18:00 GMT 2020


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


  • N-able N-central
  • Windows Agent


  1. Find the uninstall key in the registry.
    • This is found in:
  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 AgentComments - N-able N-central - 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.