Specify the maximum depth to scan archive files

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.

Supported on: At least Windows Server 2012, Windows 8 or Windows RT
Specify the maximum depth to scan archive files

Registry HiveHKEY_LOCAL_MACHINE
Registry PathSoftware\Policies\Microsoft\Windows Defender\Scan
Value NameArchiveMaxDepth
Value TypeREG_DWORD
Default Value0
Min Value0
Max Value4294967295

windowsdefender.admx

Administrative Templates (Computers)

Administrative Templates (Users)