How to Enable/Disable Auto Quarantine in cPFence ?

The Auto Quarantine feature in cPFence allows detected malware to be automatically isolated by moving infected files to a quarantine directory. This prevents the spread or execution of harmful files while keeping your system secure.

Managing Auto Quarantine from the WebUI

cPFence includes a powerful WebUI that works seamlessly on desktop and mobile. You can enable or disable quarantine across all servers or specific servers from a single panel.

 

 

  1. Open the cPFence WebUI on your Main Control Panel server.
  2. Go to: Threat & Malware Detection → Malware Protection Settings
  3. Click Enable Quarantine to activate or Disable Quarantine to turn off automatic isolation.

Managing Auto Quarantine via CLI

You can also manage quarantine settings directly from the terminal using the commands below:

  • Enable Auto Quarantine:
cpfence --enable-quarantine
  • Disable Auto Quarantine:
cpfence --disable-quarantine
  • Run Full Scan Without Quarantine: (to safely review flagged files before enabling auto-quarantine)
cpfence --full-scan

Quarantine Directory

All quarantined files are stored at:

/opt/cpfence/quarantined/

You can review or restore files from this directory as needed. For details, refer to our guide: How to Restore Files from Quarantine.


Need Further Assistance?

If you encounter any issues or need additional help, feel free to reach out to our support team via your client portal.

  • 0 Users Found This Useful
Was this answer helpful?

Related Articles

What Additional Virus Scanners Are Used in cPFence?

cPFence leverages its strong and robust virus scanning database to ensure your server remains...

How to Enable / Disable Malware Real-Time Protection?

This guide provides instructions for managing Malware Real-Time Protection (MRTP), one of the key...

How to Identify and Restore Files from Quarantine?

When cPFence quarantines a file that you know is clean, it’s important to identify it and restore...

How to Use cPFence Virus Scanner?

cPFence provides various scanning options to detect and manage potential threats. This guide...

How to Whitelist Files or Folders from cPFence Virus Scan?

If you need to exclude specific files, directories, or patterns from being scanned by cPFence,...