Specify the maximum size of archive files to be scanned
Jump to overview

Policy overview

Key metadata and intent for this policy.

Computer
Category
Windows Components > Microsoft Defender Antivirus > Scan
Supported on
At least Windows Server 2012, Windows 8 or Windows RT

Supported OS tags: Windows10, Windows10RT, Windows11, Windows8, Windows81, WindowsRT, WindowsRT81, WindowsServer2012, WindowsServer2012R2, WindowsServer2016

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.

Internal name
Scan_ArchiveMaxSize
Policy ID
ddb06ad2f104
Elements
1

Registry values

How enabled and disabled states update the registry.

No explicit registry values are set for enabled or disabled states.

Policy elements

Inputs and configuration options exposed by this policy.

ScopeElementTypeRegistry mappingConstraints & behaviorCopy
Computer
Specify the maximum size of archive files to be scanned
ID Scan_ArchiveMaxSize
decimal
Path
Software\Policies\Microsoft\Windows Defender\Scan
Value name
ArchiveMaxSize
Type
REG_DWORD
Range: 0 to 4294967295
Specify the maximum size of archive files to be scanned
Computer · Type decimal
Registry mapping
Path
Software\Policies\Microsoft\Windows Defender\Scan
Value name
ArchiveMaxSize
Type
REG_DWORD
Details
Range: 0 to 4294967295