Specify the maximum depth to scan archive files

Policy ID
Scan_ArchiveMaxDepth
Scope
Computer Configuration
Supported on
At least Windows Server 2012, Windows 8 or Windows RT
Source
Administrative Templates (.admx) for Windows 11 2026 Update (26H2) (version 1.0)
Category
Windows Components › Microsoft Defender Antivirus › Scan

Description

This policy setting allows you to configure the maximum directory depth level into which archive files such as .ZIP or .CAB are unpacked during scanning. The default directory depth level is 0.

If you enable this setting, archive files will be scanned to the directory depth level specified.

If you disable or do not configure this setting, archive files will be scanned to the default directory depth level.

Options

  • Specify the maximum depth to scan archive files

Registry

ComputerHKEY_LOCAL_MACHINE
  • ArchiveMaxDepth-
  • ArchiveMaxDepthREG_DWORD

Other policies in the same category

View all policies in this category (33)