EDR: How to Uninstall a Sensor via CMD Line When cbsetup.msi was Used for GPO Installation
book
Article ID: 285292
calendar_today
Updated On:
Products
Carbon Black EDR (formerly Cb Response)
Issue/Introduction
How to uninstall an EDR sensor silently via command line when it was originally installed using the Windows MSI for GPO Installation package.
Environment
- EDR (formerly CB Response) Sensor: All Supported Versions
- Microsoft Windows: All Supported Versions
Resolution
- Retrieve the Identifying number of the Sensor by using the following 2 steps
- Run the following cmd in powershell
- Get-WmiObject -Class Win32_Product | Where-Object -FilterScript {$_.Name -Like "CarbonBlack Sensor"} | Format-Table Name, IdentifyingNumber
OR
- Get-WmiObject -Class Win32_Product | Where-Object -FilterScript {$_.Name -Like "VMware Carbon Black EDR Sensor"}
- This will return the Identifying number e.g.
- Name IdentifyingNumber
---- -----------------
CarbonBlack Sensor {60F5B90A-1D6E-43CF-933F-5E5CFDCAD53C}
- Copy the Identifying number including the curly brackets
- Open elevated cmd prompt and execute the following silent uninstallation
- MsiExec.exe /qn /x{60F5B90A-1D6E-43CF-933F-5E5CFDCAD53C}
Feedback
thumb_up
Yes
thumb_down
No