Environment
- Carbon Black Cloud Sensor: All Versions
- Microsoft Windows: All Supported Versions
Objective
This document describes how to clean up leftover artifacts of the Carbon Black Cloud sensor from a Windows machine in the event that the normal uninstall procedures have not worked
Resolution
ALWAYS run this tool using the Company Deregistration Code (if required)!
Prerequisites
- The tool is not designed to uninstall a Carbon Black Cloud Windows Sensor, but rather to clean up application remnants left over from an incomplete/failed uninstallation
- The main use-case for this tool is for when the normal uninstall methods fail
- This should not be used by default, even after running the uninstaller, unless there are issues removing the product or updating the sensor to a newer version
- The Sensor Removal Tool (SRT) should always be run with the endpoint in Safe Mode for best results
- The Company Deregistration Code should always be used with the SRT for Sensors 3.1.x.x and higher
Steps (3.4 and above)
- Download the "SensorRemovalTool.zip" file found here
- Unzip the file
- Boot into Safe Mode
- Use the SRT that is appropriate for the Sensor version installed (see chart below)
SRT Version | SRT Name | Applicable Sensor Versions | Removal Command |
64-bit v3.6.0.1672 | Sensor3.6.0.1672RemovalToolx64.exe | 2.0.x - 3.5.0.x | Sensor3.6.0.1672RemovalToolx64.exe /cleanup <uninstall code> |
32-bit v3.6.0.1672 | Sensor3.6.0.1672RemovalToolx86.exe | 2.0.x - 3.5.0.x | Sensor3.6.0.1672RemovalToolx86.exe /cleanup <uninstall code> |
- Execute the the applicable removal command (see chart above)
- Boot into Normal mode and run this tool again to complete removal of the sensor
- Reboot one final time to complete sensor removal
- Verify in Enrollment page in Cb Defense Dashboard that the device has moved to Deregistered status
- If the device still shows as Active or Inactive, check the box for the machine on the Enrollment page, select Take Action -> Uninstall. The device will move to Deregistered
Steps (3.3 and below)
- Download the "SensorRemovalTool.zip" file found here
- Unzip the file
- Use the SRT that is appropriate for the Sensor version installed (see chart below)
- Right click on program, "cmd", and select "Run as Administrator"
- Execute the the applicable removal command (see chart below)
SRT Version | SRT Name | Applicable Sensor Versions | Removal Command |
64-bit v1.0 | Sensor10RemovalToolx64.exe | 1.0.7.x | Sensor10RemovalToolx64.exe /cleanup |
32-bit v1.0 | Sensor10RemovalToolx86.exe | 1.0.7.x | Sensor10RemovalToolx86.exe /cleanup |
64-bit v3.6.0.1672 | Sensor3.6.0.1672RemovalToolx64.exe | 2.0.x - 3.5.0.x | Sensor3.6.0.1672RemovalToolx64.exe /cleanup /force <uninstall code> |
32-bit v3.6.0.1672 | Sensor3.6.0.1672RemovalToolx86.exe | 2.0.x - 3.5.0.x | Sensor3.6.0.1672RemovalToolx86.exe /cleanup /force <uninstall code> |
- Verify in Enrollment page in Cb Defense Dashboard that the device has moved to Deregistered status
- If the device still shows as Active or Inactive, check the box for the machine on the Enrollment page, select Take Action -> Uninstall. The device will move to Deregistered
Additional Notes
Related Content