• /
  • Log in

Uninstall the .NET agent

This document explains how to uninstall the New Relic .NET agent. For instructions on how to temporarily disable the agent, see Disable the agent.

To uninstall the .NET agent, follow the procedure that corresponds to your operating system:

Uninstall the .NET agent (Windows)

Tip

Requires Administrator rights in your Windows admin group.

This procedure assumes you installed the .NET agent with the MSI installer:

  1. To shut down any running agents, stop IIS. If you don't stop IIS, you may need to reboot after uninstalling the agent.
  2. Select Start > All Programs > New Relic .NET Agent > Uninstall the .NET agent.
  3. Follow the prompts to complete uninstallation.
  4. Restart IIS.

After uninstalling the agent, you may want to remove all agent-related files. Be sure to check other paths to remove any other New Relic files. For example, uninstalling the .NET agent does not delete your newrelic.config file.

  1. From Control Panel > Programs > Programs and Features, right-click and delete any files named New Relic .NET Agent.
  2. Delete the entire folder at C:\ProgramData\New Relic\.NET Agent.
  3. Delete the entire folder at C:\Program Files\New Relic\.NET Agent.
  4. Delete the entire folder at C:\Program Files (x86)\New Relic\.NET Agent.
  5. Remove your app from the APM UI.

Uninstall the .NET agent (Linux)

To uninstall the .NET agent on Linux, use your package management tool.

Important

You must restart your application once the uninstall is finished.

For more help

If you need more help, check out these support and learning resources:

Create issueEdit page
Copyright © 2021 New Relic Inc.