--- title: "How enhanced script scanning improves security" slug: "how-enhanced-script-scanning-improves-security" tags: ["Product Usage", "ENS 10.7.x", "Endpoint Security"] updated: 2026-09-14T20:39:14Z published: 2026-09-14T20:39:14Z canonical: "docs.trellix.com/how-enhanced-script-scanning-improves-security" stale: true --- > ## 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. # How enhanced script scanning improves security ML Protect enhanced script scanning includes integration with Antimalware Scan Interface (AMSI) to provide protection against non-browser-based scripts, such as PowerShell, JavaScript, and VBScript. AMSI is a generic interface standard provided by Microsoft and supported on Windows 10, Windows Server 2016, and Windows 2019 and Windows 2022 systems. It allows applications and services to integrate with Adaptive Threat Protection, providing better protection against malware. > [!TIP] > Tip > > For the best protection against script-based threats, enable enhanced script scanning with Threat Prevention AMSI and ScriptScan, which scans browser-based scripts. ### Supported operating systems With enhanced script scanning enabled, the operating system determines how this feature analyzes the script: - Windows 10, Windows Server 2016, and Windows Server 2019 — AMSI blocks the script before execution. ### Actions and exclusions Enhanced script scanning uses settings from both Adaptive Threat Protection and Threat Prevention. | To specify: | Location | Module | Notes | | --- | --- | --- | --- | | **Actions** | **Action Enforcement** section in the **Options** settings | Adaptive Threat Protection | | | **Exclusions** | **Standard** process types in the **Process Settings** section in the **On-Access Scan** settings | Threat Prevention | Most files that are excluded from on-access scans are also excluded from enhanced script scanning. Some scripts, such as PowerShell, are fileless and are not excluded from enhanced script scanning. | ### Enhanced script scanning workflow ![GUID-BEEA6EBA-A9A5-41B5-BBAA-C0786F1B7B0D-low.png](https://cdn.us.document360.io/0d453a50-e1da-4d4a-9409-fea7959614d8/Images/Documentation/uuid-0898bccc-53fb-3cc7-3cfe-e52cfbc6a5ee.png?sv=2026-02-06&spr=https&st=2026-11-20T13%3A06%3A31Z&se=2026-11-20T14%3A06%3A31Z&sr=c&sp=r&sig=BdiFcEBNL%2FuETopIXYEt9ahJ3N%2BQVNWAB51lZumSZys%3D)