Attempting to download legitimate PDF documents, executable software setups, or zip archives in Google Chrome only to have the download bar display the abrupt notification Failed – Virus scan failed halts workflow completely. While Chrome includes native Safe Browsing heuristics, this specific error indicates that the browser handed the completed download stream over to the underlying Windows Attachment Manager and Microsoft Antivirus API (IAttachmentExecute / IOfficeAntiVirus), which returned an unhandled scanning failure or corrupted policy flag. Re-registering the attachment service registry keys, clearing temporary download cache folders, and resetting browser security hooks restores immediate download functionality.
Reset the Windows Attachment Manager Policy in Registry Editor
If third-party antivirus suites alter or corrupt registry keys under Attachment Manager policies, Windows rejects all browser-delegated file handoffs.
- Press Windows Key + R, type
regedit, and press Enter to launch the Registry Editor. - Navigate to the following registry path:
HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Policies\Attachments - In the right pane, locate the DWORD value named
ScanWithAntiVirus. - Double-click
ScanWithAntiVirusand change its value data:- Set to 1 (Off / Do not scan via Attachment Manager) or 3 (Scan only high-risk files).
- If the
Attachmentskey does not exist under Policies, right-click Policies, select New > Key, name itAttachments, and create a new DWORD (32-bit) Value namedScanWithAntiVirusset to 1. - Restart Google Chrome and attempt downloading the file again.
Purge Temporary Windows and Chrome Download Caches
Damaged temporary files with the .crdownload extension trapped in the user temporary storage directory prevent Chrome from renaming completed downloads.
- Press Windows Key + R, type
%temp%, and press Enter to open the local Temp directory. - Press Ctrl + A to select all files and press Shift + Delete to permanently remove temporary cache scraps. Skip any files currently locked by active background services.
- Press Windows Key + R, type
%localappdata%\Google\Chrome\User Data\Default, and press Enter. - Locate and delete any temporary files named
History-journalor orphaned download state markers. - Launch Chrome, open a new Incognito window (Ctrl + Shift + N), and re-test the download.
Verify and Re-Register Windows Defender Protection Services
If Windows Security components or definition databases become corrupt, the IOfficeAntiVirus scanner fails silently when invoked by Chromium.
- Right-click the Start button and select Terminal (Admin) or PowerShell (Admin).
- Run the System File Checker to repair damaged core Windows security binaries:
sfc /scannow - Update your Microsoft Defender Antivirus signatures from the command line:
& "C:\Program Files\Windows Defender\MpCmdRun.exe" -SignatureUpdate - Restart your computer once verification completes to re-establish secure Attachment Manager integration.