Specify the maximum size of archive files to be scanned

Policy ID
Scan_ArchiveMaxSize
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 size of archive files such as .ZIP or .CAB that will be scanned. The value represents file size in kilobytes (KB). The default value is 0 and represents no limit to archive size for scanning.

If you enable this setting, archive files less than or equal to the size specified will be scanned.

If you disable or do not configure this setting, archive files will be scanned according to the default value.

Options

  • Specify the maximum size of archive files to be scanned

Registry

ComputerHKEY_LOCAL_MACHINE
  • ArchiveMaxSize-
  • ArchiveMaxSizeREG_DWORD

Other policies in the same category

View all policies in this category (33)