Uninstall the Agent Client Collector agent from a device
Remove the Agent Client Collector (ACC) agent from a device to clean up the device after testing or decommissioning, or to reinstall the agent with different configuration settings.
Before you begin
You must have administrative privileges on the device to uninstall the agent.
Role required: agent_client_collector_admin
About this task
Before a bulk deployment starts, the agent must be uninstalled from your candidate test devices. Leaving a manually installed agent in place can cause the bulk-deployed agent to register a duplicate record for the same device.
Important: Uninstalling the agent from a device doesn't remove its registration from your ServiceNow instance. After you uninstall, deregister the agent. For details, see Deregister an Agent Client Collector agent.
Procedure
- Uninstall the agent using the method for your operating system.
|
Option |
Procedure |
|---|---|
|
macOS |
bash -c "$(curl -L https://<instance_url>/api/sn_agent/agents/install_agent)" -s "--remove" ``` |
|
Windows |
|
Deregister the agent on your instance. For details, see Deregister an Agent Client Collector agent.
Related topics
Deregister an Agent Client Collector agent
Bulk deploy Agent Client Collector on macOS using Jamf
Install Agent Client Collector on Windows using Microsoft Intune
---
title: Uninstall the Agent Client Collector agent from a device
description: Remove the Agent Client Collector \(ACC\) agent from a device to clean up the device after testing or decommissioning, or to reinstall the agent with different configuration settings.
locale: en-US
canonical_url: https://www.servicenow.com/docs/r/australia/it-operations-management/digital-end-user-experience-dex/uninstall-acc-agent.html
release: australia
product: Digital End-User Experience \(DEX\)
classification: digital-end-user-experience-dex
topic_type: task
last_updated: "2026-10-23"
reading_time_minutes: 1
keywords: [uninstall acc agent, remove agent client collector, uninstall agent client collector, acc agent removal, remove acc from device]
breadcrumb: [Installing DEX on your local machine, Configure, Digital End-User Experience, IT Operations Management]
---
# Uninstall the Agent Client Collector agent from a device
Remove the Agent Client Collector \(ACC\) agent from a device to clean up the device after testing or decommissioning, or to reinstall the agent with different configuration settings.
## Before you begin
You must have administrative privileges on the device to uninstall the agent.
Role required: agent\_client\_collector\_admin
## About this task
Before a bulk deployment starts, the agent must be uninstalled from your candidate test devices. Leaving a manually installed agent in place can cause the bulk-deployed agent to register a duplicate record for the same device.
**Important:** Uninstalling the agent from a device doesn't remove its registration from your ServiceNow instance. After you uninstall, deregister the agent. For details, see [Deregister an Agent Client Collector agent](https://raw.githubusercontent.com/ServiceNow/ServiceNowDocs/australia/markdown/australia/it-operations-management/digital-end-user-experience-dex/deregister-acc-agent.md).
## Procedure
1. Uninstall the agent using the method for your operating system.
<table id="choicetable-uninstall-acc"><thead><tr><th align="left" id="d381866e126">
Option
</th><th align="left" id="d381866e129">
Procedure
</th></tr></thead><tbody><tr><td id="d381866e135">
**macOS**
</td><td>
1. Open a Terminal session.
2. Access the root folder by entering `sudo -i` and providing your device password.
3. Enter the following command:
```
bash -c "$(curl -L https://<instance_url>/api/sn_agent/agents/install_agent)" -s "--remove"
```
</td></tr><tr><td id="d381866e162">
**Windows**
</td><td>
1. Open Control Panel.
2. Navigate to **Programs** > **Programs and Features**.
3. Select Agent Client Collector in the list.
4. Select and hold \(or right-click\) the application and select **Uninstall**.
5. Follow the on-screen instructions.
</td></tr></tbody>
</table>
## What to do next
Deregister the agent on your instance. For details, see [Deregister an Agent Client Collector agent](https://raw.githubusercontent.com/ServiceNow/ServiceNowDocs/australia/markdown/australia/it-operations-management/digital-end-user-experience-dex/deregister-acc-agent.md).
**Related topics**
[Deregister an Agent Client Collector agent](https://raw.githubusercontent.com/ServiceNow/ServiceNowDocs/australia/markdown/australia/it-operations-management/digital-end-user-experience-dex/deregister-acc-agent.md)
[Bulk deploy Agent Client Collector on macOS using Jamf](https://raw.githubusercontent.com/ServiceNow/ServiceNowDocs/australia/markdown/australia/it-operations-management/digital-end-user-experience-dex/bulk-deploy-acc-on-macos.md)
[Install Agent Client Collector on Windows using Microsoft Intune](https://raw.githubusercontent.com/ServiceNow/ServiceNowDocs/australia/markdown/australia/it-operations-management/digital-end-user-experience-dex/bulk-deploy-acc-on-win.md)
| title | Uninstall the Agent Client Collector agent from a device |
| description | Remove the Agent Client Collector \(ACC\) agent from a device to clean up the device after testing or decommissioning, or to reinstall the agent with different configuration settings. |
| locale | en-US |
| canonical_url | https://www.servicenow.com/docs/r/australia/it-operations-management/digital-end-user-experience-dex/uninstall-acc-agent.html |
| release | australia |
| product | Digital End-User Experience \(DEX\) |
| classification | digital-end-user-experience-dex |
| topic_type | task |
| last_updated | 2026-10-23 |
| reading_time_minutes | 1 |
| keywords | uninstall acc agentremove agent client collectoruninstall agent client collectoracc agent removalremove acc from device |
| breadcrumb | Installing DEX on your local machineConfigureDigital End-User ExperienceIT Operations Management |