I downloaded an archive of our Bookmark Ninja web application project to check something and started to unzip the file. The unzipping process was extremely slow. Then I figured out what made WinZip run so slow…
A reason of the extremely slow unzipping on Windows can be Defender that runs in the background and scans each file.
This usually happens when you try to unzip a file that was downloaded from an online storage (e.g. from Google Drive) or you received it as an email attachment.
To get around this problem, follow the steps below:
- Create a temporary folder
- Move the zip file to the temporary folder
- In the Defender settings add an exclusion for the temporary folder
- Unzip the files in the temporary folder
How to add a folder exclusion in Defender on Windows 10?
- Click on Windows search and type “defender settings”
- Click on “Windows Defender Settings”
- Click on “Virus & threat protection” under “Protection areas” on Windows Security
- Click on “Virus & threat protection settings”
- Scroll down and click on “Add or remove exclusions” under “Exclusions”
- Click on “Add an exclusion” and select the folder you want to exclude
Only use this method to avoid Defender scanning the files if you 100% trust the files you want to unzip (e.g. you were the one who zipped the files and uploaded to an online storage).
Once you finished unzipping the files it is recommended to remove the folder exclusion in Defender. You can remove an exclusion by following the above steps of adding an exclusion but at the end you click on “Remove” next to the folder.