Uninstall the Agent Client Collector from a macOS machine manually
Uninstall the Agent Client Collector from a macOS machine manually instead of using the single-line procedure when the specific agent is not connected to the instance.
Before you begin
- The upgrade procedure is the same for both MID Server and MID-less deployments.
- Role required: agent_client_collector_admin
Procedure
In a command window, disable and stop the service:
sudo launchctl unload -w /Library/LaunchDaemons/com.sn.acc.plistDelete 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-collectorRemove the _servicenow user and group.
sudo /usr/bin/dscl . -delete /Users/_servicenow sudo /usr/bin/dscl . -delete /Groups/_servicenowRemove the pkg from the list of installed packages.
sudo pkgutil --forget com.servicenow.agent-client-collector
Parent Topic:Agent Client Collector installation on a macOS system