---
sourceDocument: Yokohama IT Operations Management
sourceDocumentLink: https://www.servicenow.com/docs/r/yokohama/it-operations-management

 Release :

    - yokohama

ft:locale :

    - en-US

ft:publication_title :

    - Yokohama IT Operations Management

ft:clusterId :

    - itom

bundleId :

    - itom

workflow :

    - Technology


---

# Uninstall the Agent Client Collector from macOS machine manually

# Uninstall the Agent Client Collector from macOS machine
manually {#ariaid-title1}

* Release version: Yokohama
* 
* Updated January 30, 2025
* 
* ![](https://www.servicenow.com/docs/portal-asset/ico-clock) 1 minute to read

Uninstall the Agent Client Collector from macOS machine
manually instead of using the single-line procedure when the specific agent is not connected
to the instance.

## Before you begin

Role required: agent_client_collector_admin

## Procedure

1. In a command window, disable and stop the service:  
   sudo launchctl unload -w /Library/LaunchDaemons/com.sn.acc.plist
2. Delete the following files/directories:  

       sudo rm /Library/LaunchDaemons/com.sn.acc.plist
       sudo rm -rf /opt/servicenow/agent-client-collector
       sudo rm -rf /var/run/servicenow/agent-client-collector
       sudo rm -rf /Library/Application\ Support/servicenow/agent-client-collector

3. Remove the _servicenow user and group.  

       sudo /usr/bin/dscl . -delete /Users/_servicenow
       sudo /usr/bin/dscl . -delete /Groups/_servicenow

4. Remove the pkg from the list of installed packages.  

       sudo pkgutil --forget com.servicenow.agent-client-collector


