--- title: "Enable or disable On-Access Scan" slug: "enable-or-disable-on-access-scan-6" tags: ["Product Usage", "ENS 10.7.x"] updated: 2026-10-06T19:21:35Z published: 2026-10-06T19:21:35Z canonical: "docs.trellix.com/enable-or-disable-on-access-scan-6" --- > ## 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`