logo
search
Attachment Issues

How to Fix the Virus Scan Failed Error for Email Attachments

Huda QurayshiHuda Qurayshi Oct 10, 2026 868 views

Question details

The user is unable to open or download an email attachment because their system or email client displays a 'Virus Scan Failed' error.

How to Fix the Virus Scan Failed Error for Email Attachments
Product
Email Client / Windows Security
Device & OS
Windows
Scenario
Attempting to download or open an attached file received via email.
Observed behavior
Microsoft Defender or another security service flags the attachment as a potential threat and blocks access to the file, triggering a scan failure error.
Before you start

Before proceeding, ensure you completely trust the sender and are expecting this specific file. Malicious email attachments are a common vector for malware, so you should only bypass security blocks if you have independently verified the file is safe.

Solution 1Recommended

Review and Restore via Windows Security Protection History

Check Windows Security to identify why the attachment was blocked, and restore the file only if you are absolutely certain it is safe.

When an attachment triggers a 'Virus Scan Failed' error on a Windows PC, it is usually because Microsoft Defender has quarantined the file upon download. You can review the blocked item in the system's security settings.

1
Open Windows Security

Click the Start menu, type 'Windows Security' into the search bar, and press Enter to launch the application.

2
Navigate to Threat Protection

Click on 'Virus & threat protection' on the left-hand menu, then click on 'Protection history' under the Current threats section.

3
Review Blocked Items

Look through the list of recent items for the blocked email attachment. Click on the entry to view details about the detected threat.

4
Restore the File (If Verified Safe)

If you have contacted the sender and verified the file is completely legitimate, click the 'Actions' drop-down menu and select 'Allow on device' or 'Restore'.

Review and Restore via Windows Security Protection History
Security Warning: Never restore or allow an attachment from an unknown or unverified sender. If you are unsure, do not restore the file.
Free Microsoft Office alternative

Open and Share Office Attachments Safely with WPS Office

If you frequently handle document attachments, WPS Office provides a secure, lightweight, and highly compatible alternative to Microsoft Office. It includes built-in cloud sharing to help you bypass email attachment limits and security scan errors.

  1. 1. Download WPS Office: Visit the official WPS Office website and download the free installation package for your device.
  2. 2. Install and Set as Default: Run the installer and follow the prompts. You can choose to set WPS as your default application for Word, Excel, and PDF files.
  3. 3. Open Attachments Securely: Double-click any downloaded safe document attachment to instantly view and edit it in WPS Office.
Fully compatible with Microsoft Office formats, including .docx, .xlsx, and .pptx.Built-in WPS Cloud allows you to share files via secure links, avoiding email attachment blocks.Lightweight software with a familiar, tabbed interface for seamless migration.Free built-in PDF tools to securely read, annotate, and convert documents.
QA img-9

Frequently Asked Questions

Why does my email say virus scan failed?

This error happens when your device's antivirus software (like Microsoft Defender) or your email provider's built-in scanner detects a potentially malicious script, macro, or signature in the attached file, causing the system to automatically block the download to protect your computer.

Can I disable my antivirus to download the attachment?

While it is technically possible to temporarily disable real-time protection in your security settings, it is highly discouraged. Disabling your antivirus leaves your system fully vulnerable to malware. Instead, verify the file with the sender and restore only that specific file from your Protection history.

How can I safely send files that keep getting blocked?

If you are the sender and your attachments are being blocked, avoid sending files with complex macros or compressed archives (.zip or .rar) directly via email. Instead, upload your files to a secure cloud service like WPS Cloud and share the file link in your email body.