Methods to Uninstall the Carbon Black Cloud Windows Sensor
book
Article ID: 292309
calendar_today
Updated On:
Products
Carbon Black Cloud Endpoint Standard (formerly Cb Defense)
Carbon Black Cloud Enterprise EDR (formerly Cb Threathunter)
Issue/Introduction
Provide a list of options to uninstall the Carbon Black Cloud sensor from a Windows endpoint
Environment
- Carbon Black Cloud Sensor: All Versions
- Microsoft Windows: All Supported Versions
Resolution
Method 1: Via The Console
This uninstall method happens silently with no interaction required by the user
- Log into the Carbon Black Cloud Dashboard
- Click on the Inventory - Endpoints option on the side-panel
- Within the endpoints page, select the checkbox next to all sensors to be uninstalled
- Select Take Action > Uninstall
- Confirm the action by selecting Uninstall in the pop-up
- Confirm the sensor has been uninstalled. This may take a few minutes until the next scheduled check-in for the sensor
Method 2: Via Programs and Features (Add/Remove Programs)
If the Policy option for 'Require code to uninstall sensor' is enabled, then sensors cannot be uninstalled using this method.
- Using an account with Administrator privileges, go to Control Panel > Programs and Features
- Select Carbon Black Cloud Sensor
- Click Uninstall
- Refresh Programs and Features to verify the sensor has been removed
- Verify in the Carbon Black Cloud Console that the device has been moved to de-registered status
Method 3: Via Command Prompt
This method requires either the uninstall code or deregistration code.
- Open an administrative command prompt.
- Navigate to the Confer directory:
CD %ProgramFiles%\Confer
- Run one of the following commands, depending on the 'Require code to uninstall sensor' policy setting
Method 4: Via Safe Mode/ Disabling 'Require code to uninstall sensor'
If the uninstall code is unknown, or the device never received one from the backend (never checked in), the below steps can be utilized.
- Boot the device into safe mode
- Open a text editor such as Notepad as administrator
- Open the cfg.ini file (C:\Program Files\ConferStarting or %programdata%\CarbonBlack\DataFiles)
- Edit the line:
RequireUninstallCode=true
- Replace it with:
RequireUninstallCode=false
- Save the change
- Boot Machine normally
- Uninstall via method 2 or 3
Additional Information
The uninstallation will be logged to a file named ‘cb-installer-<version>.log' in one of the directories below (depending on sensor version / OS):
- C:\Users\<user>\AppData\Local\Temp\
- C:\Windows\TEMP\
- C:\Users\All Users\AppData\Local\Temp
Feedback
thumb_up
Yes
thumb_down
No