Uninstall OneAgent on Windows

Your Dynatrace OneAgent has a dedicated uninstall program. You'll need to run it to remove OneAgent from your system.

Use the Windows Control Panel to remove Dynatrace OneAgent.

After all OneAgent files have been removed from your system, you'll need to reboot your machine to remove the agent libraries from memory. WinPcap provided by Dynatrace is also removed by the uninstaller.

Following uninstallation

Following uninstallation, log files, the user running OneAgent, and part of the configuration are preserved in the OneAgent installation directory. These can be removed manually. Note however that if the configuration files have been removed, and OneAgent is re-installed, the host will show up as a new host with a different internal identifier.

For a complete OneAgent unistallation, remove the following:

  • Log files located at C:\Program Files (x86)\dynatrace\log.
  • Configuration files located at C:\ProgramData\dynatrace\oneagent\agent\config.
  • The user running OneAgent, dtuser.