The new docs.trellix.com features a modernized UI and AI-powered conversational search. Content is currently available in English, with additional languages launching in early November 2026. We hope you enjoy the updated experience.

Enable or disable On-Access Scan

Prev Next

Enable or disable On-Access Scan as required.

  1. Log on to the system as a user with administrator rights.

  2. Navigate to the default or custom directory. For example:

    cd /opt/McAfee/ens/tp/bin

  3. Enable or disable the scan:

    • Enable On-Access Scan: ./mfetpcli --setoasglobalconfig --oas on

    • Disable On-Access Scan: ./mfetpcli --setoasglobalconfig --oas off