--- title: "Enable or disable On-Access Scan" slug: "enable-or-disable-on-access-scan" tags: ["Product Usage", "ENS 10.7.x"] updated: 2026-10-06T18:59:20Z published: 2026-10-06T18:59:20Z canonical: "docs.trellix.com/enable-or-disable-on-access-scan" --- > ## Documentation Index > Fetch the complete documentation index at: https://docs.trellix.com/llms.txt > Use this file to discover all available pages before exploring further. # Enable or disable On-Access Scan Enable or disable On-Access Scan as required. 1. Log on to the system as a user with administrator rights. 2. Navigate to the `/bin` directory. `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`