IMPORTANT ANNOUNCEMENT: On May 6, 2024, Carbon Black User eXchange (UeX) and Case Management will move to a new platform!
The Community will be in read-only mode starting April 19th, 7:00 AM PDT. Check out the blog post!
You will still be able to use the case portal to create and interact with your support cases until the transition, view more information here!

Carbon Black Cloud Sensor: How to stop an ondemand scan

Carbon Black Cloud Sensor: How to stop an ondemand scan

Environment

  • Carbon Black Cloud Sensor:  Version 6x and newer
  • Microsoft Windows:  All versions

Objective

Procedure to stop a manually triggered onDemandScan malware scan.  This can be used in situations where an extremely large amount of files are being scanned and the system is experiencing some resource issues

Resolution

To stop a previously started onDemandScan that was launched from the command line, restart the agent service to stop the scan.  You will need to be a user that has AuthenticatedRepCLI status to do this.
  1. Navigate to c:\program files\confer
  2. Run "repcli bypass 1"
  3. Run "repcli stopCbServices"
  4. Run "sc start cbdefense"
  5. Run "repli status" and confirm that the onDemandScan is no longer running.
Rebooting the operating system will also accomplish the goal of stopping the onDemandScan.

Additional Notes

There are two types of manual scans that can be initiated from the RepCLI command line tool.
  • onDemandScan <path> - This scans directories (or all fixed storage if no path is given.  This can be stopped using the above procedure.
  • localScanner <fullFilePath> - This scans a single file only.  This cannot be stopped using the above procedure.
There is also a background scan, which occurs automatically at sensor install.  This cannot be stopped using the above procedure.  This scan will continue until complete, but you can pause it via the console in the Inventory Page, by selecting the sensor and using the Take Action menu.

onDemandScans always run in an "expedited" state (versus Standard).  Expedited scans run 5x faster than a Standard scan, and as such will have a larger impact on system performance.

 

Related Content


Was this article helpful? Yes No
No ratings
Article Information
Author:
Creation Date:
‎01-28-2022
Views:
2543
Contributors