How to collect logs and other diagnostics for the EDR Windows Sensor 6.2.2 and higher using the sensordiags.exe tool.
sensordiag.exe --type CDE
-type XXX - only mandatory parameter. Must be some combination of C,D, and E --- Example: sensordiag --type CE -startdate yyyy-mm-dd [hh:mm:ss] - Only collects logs modified after a certain date/time --- Time of day may/ may not be specified along with date --- Example: sensordiag --type CE --startdate 2019-02-04 09:00:00 -enddate yyyy-mm-dd [hh:mm:ss] - Only collects logs modified before a certain date/time --- Time of day may/ may not be specified along with date --- Can be used in conjunction with startdate parameter --- Example: sensordiag --type CE --enddate 2019-02-10 -remember - Only collects logs modified since the last sensordiags run --- Cannot use startdate and enddate with remember --- Example: sensordiag --type CDE -remember -output C:\path\to\diag - Set the output directory to something other than the working directory
C: Crash - Returns crash reports for Carbon Black user-mode Service D: Diagnostics - Returns information about the sensor. Includes the contents of all subfolders of C:\Windows\CarbonBlack, as well as install information and metadata about the sensor drivers' status E: Environment - Collects system-wide information via WMI queries