How To Scan Archive Folders with Windows Defender in Windows 10


Windows Defender is the built-in security solution in Windows 10 and is enabled by default. It protects your PC against viruses, malware, spyware and other unwanted apps. You can enable scanning of archive files with Windows Defender in Windows 10 for better protection. Windows Defender will scan the contents of compressed (archive) folders when a scan is scheduled or when the user starts the scanning process manually.

Follow below instructions to enable scan archive folders with Windows Defender in Windows 10:

1. Type powershell into Start Menu search box.

How To Scan Archive Folders with Windows Defender in Windows 10 ULeusIL

2. Right click "Windows PowerShell", select Run as Administrator.

How To Scan Archive Folders with Windows Defender in Windows 10 YwTQPF4

3. Type or copy/paste the following command to enable scanning of archive folders:

Code:

Set-MpPreference -DisableArchiveScanning 0


How To Scan Archive Folders with Windows Defender in Windows 10 Uh62d0i

Once you press the Enter key, Windows Defender will be able to scan compressed (archive) folders such as *.zip, *.rar or *.cab folders in Windows 10 for threats and viruses.

To undo the change you have made, open a new elevated PowerShell instance again and type the command:

Code:

Set-MpPreference -DisableArchiveScanning 1


How To Scan Archive Folders with Windows Defender in Windows 10 U5xORTc