How to Fix Download Failed – Virus Detected on Chrome?

When downloading a file on Google Chrome, you may encounter a “Download Failed – Virus Detected” message. This issue occurs when a security programs on your computer flags the downloaded file as unsafe and blocks it from being saved on the system.

How to Fix Download Failed - Virus Detected
How to Fix Download Failed – Virus Detected

If you believe the file is safe and you want to continue the download despite the warning, this guide will help you bypass the error, enabling unblocked file download.

Warning: Please make sure the File is actually safe!

Security programs, preventing the file download, suggest it may contain a virus. However, these programs can sometimes label safe and trusted files as dangerous, leading to them being blocked unnecessarily.

Before you unblock and download the file by following the solutions listed in this guide, it’s crucial for you to first verify whether the file is actually safe.

To confirm the safety of a file, use the website VirusTotal. It uses various virus scanners to thoroughly investigate the file. Simply paste the file link into the URL section to get the analysis results.

Checking the safety of the file
Checking the safety of the file

If the scanners indicate a file is malicious, avoid downloading it or find a different source of file. But if you truly believe that the file is perfectly safe, follow the solutions listed below to download it.

1. Disable Safe Browsing on Google Chrome (temporarily)

Note: Please re-enable the option once the file is downloaded.

When the Safe Browsing feature is enabled, Chrome checks each file that you download for viruses and prevents you from accessing unsafe websites.

However, this feature often blocks trusted files from being downloaded and can prevent you from visiting safe websites.

To disable Safe Browsing, follow the steps we’ve listed below:

  1. Open Chrome and press the three dots at the top-right corner.
  2. Click on Settings.

    Opening Chrome Settings
    Opening Chrome Settings
  3. Navigate to the Privacy and Security menu.
  4. Click on Security.

    Opening Security Menu
    Opening Security Menu
  5. Select the “No Protection” option.
    Disabling Safe Browsing
    Disabling Safe Browsing

Now, re-download the file and see whether it gets blocked again. If it still gets blocked, it means that the Safe Browsing feature isn’t the issue. In this case, you should re-enable it and move on to the next solution below.

2. Temporarily Disable Security Programs 

If you’re still unable to download the file even after disabling Safe Browsing, it means that the real cause of this issue is one of the security programs on your system. Since there are most likely multiple security programs on your system, you’ll have to temporarily disable them one by one.

2.1 Disable Chrome Extensions

You should first start by disabling any security extensions that you have installed on Chrome. Follow the steps below to do so:

  1. Click the three dots at the top-right corner of Chrome and select Extensions > Manage Extensions.
    Opening Extensions Menu
    Opening Extensions Menu
  2. Navigate through your list of extensions and find ones related to Privacy and Security.
  3. Press the switch on each extension to disable it (if it’s already disabled, the color of the switch will be gray instead of blue). 
    Disabling Security Extensions
    Disabling Security Extensions

3.2 Disable Windows Defender and Firewall

After that, you need to disable Windows Defender and Firewall. Follow the steps below to do so:

  1. Press Windows Key + I at the same time to open Settings.
  2. Click on Updates and Security.

    Opening Updates and Security Menu
    Opening Updates and Security Menu
  3. Click on Windows Security on the left.
  4. Select Virus and Threat Protection.
    Opening Virus and Threat Protection Menu
    Opening Virus and Threat Protection Menu
  5. Under Virus and Threat Protection Settings, click on “Manage Settings.”

    Opening Virus and Threat Protection Settings
    Opening Virus and Threat Protection Settings
  6. Disable Real-time Protection.
    Disabling Real Time Protection
    Disabling Real Time Protection
  7. Return to the Windows Security menu and click on Firewall and Network Protection on the left. 
    Opening Firewall and Network Protection Menu
    Opening Firewall and Network Protection Menu
  8. Click on the network that is active and disable Microsoft Defender Firewall.
    Disabling Firewall
    Disabling Firewall

3.3 Disable Other Antivirus Programs

Finally, you need to disable any third-party Antivirus programs on your system. To do so, you can simply open the menu of your Antivirus program, navigate to its Settings, and temporarily disable it from there. 

If you’re having trouble finding this setting, check out our guide on disabling third-party security programs where we’ve listed down the steps for disabling every major Antivirus program on the market. 

3.4 Unblock File

After you’ve disabled all the security programs on your system, there’s one more thing left to do. The file will most likely be quarantined by the Antivirus programs, meaning that you’ll be unable to download it even if these programs are not active on your system. 

To get around this, you can simply manually unblock the file by following the steps we’ve written below:

  1. Open Windows Security and navigate to the Virus and Threat Protection menu.
  2. Under the Quick Scan button, click on “Protection History.”

    Opening Protection History
    Opening Protection History
  3. Click on the latest threat that was blocked and read its description to confirm that it’s the same file. 
  4. Click on the Actions button and select “Allow.”

    Unblocking the file
    Unblocking the file

After unblocking the file, open Chrome and try downloading it again. It should now download without any errors. but if it still gets blocked, don’t worry, as we’ve listed more solutions below.

Note: After implementing this solution, re-activate all security programs on your system, including Microsoft Defender, Firewall, and any third-party antivirus programs. Leaving these programs disabled can leave your system vulnerable to malware, so remember to never disable them permanently. 

3. Adjust Registry Setting for Less Restrictive File Scanning

If the solutions above didn’t resolve the error, the next solution is to use the Windows Registry Editor to make your Antivirus file scanning less restrictive. 

But before you modify the Windows Registry, it’s extremely important that you create a backup of it. So in case you unintentionally change any random key value, the backup will allow you to easily restore it to the way it was before. Follow the steps below to create a backup for your Windows Registry:

  1. Press the Windows Key to open the Start menu, type Regedit, and select Run as Administrator.
    Opening Registry Editor
    Opening Registry Editor
  2. Click on the “File” option at the top-left and select Export.
    Selecting the Export option
    Selecting the Export option
  3. Set the Export range to All.

    Saving backup
    Saving backup
  4. Save the file in a location that you’ll remember. 

After creating a backup, you need to navigate to this file path in the Registry Editor and edit a key value:

HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Policies\Attachments

Follow the steps below to do so:

  1. On the left side, double-click on Computer.

    Expanding Computer Files
    Expanding Computer Files
  2. Double-click on HK_LOCAL_MACHINE.
  3. Navigate to SOFTWARE > Microsoft > Windows > Current Version > Policies > Attachments.
  4. On the right side, double-click on ScanWithAntiVirus.
  5. Set the Value Data to 1.
    Changing value of Registry Key
    Changing the value of Registry Key
  6. Press the OK button. 
  7. Restart your computer. 

Changing the value of this Registry Key to 1 will make security restrictions on downloaded files more relaxed, allowing you to bypass the “Virus Detected” error. 

Note: After downloading the file, make sure to set the Registry Key back to its original value. If you don’t remember what it was, you can simply import the backup that you created earlier. To do that, click on File > Import and select the backup file. 

4. Reset Google Chrome

If you’ve disabled all the security programs on your system but Chrome is still blocking the file from being downloaded, it may indicate an issue with Chrome itself. Something could be corrupted in the browser, such as one or more of the extensions or its cache, and it may be interfering with the download.

Therefore, there’s a high chance this issue can be resolved by simply resetting Chrome to its default settings. But before you do so, you need to keep in mind that everything aside from your bookmarks, history, and saved passwords, will be cleared upon resetting the browser.

This includes your default search engine, cookies and site data, themes and extensions, homepage, new tab page, pinned tab, and content settings.

If you don’t want to lose these settings, you should skip to the next solution in this guide. But if you’re willing to reset your browser, follow the steps written below to do so:

  1. Click the three dots at the top-right corner of Chrome and select Settings.

    Opening Chrome Settings
    Opening Chrome Settings
  2. Click on “Reset Settings” on the left.
  3. Select “Restore settings to their original defaults” and press the Reset Settings button.
    Resetting Chrome
    Resetting Chrome

5. Use a different source or browser

If you’ve tried all listed solutions but still can’t download the file, you have two options: find a different source or switch browsers

If you discover the same file on a different website, you may be able to download it error-free. Alternatively, using a different browser to download the file could be an easier solution.

If you don’t have another browser installed on your system and are unsure which one you should download, check out our guide where we’ve listed the seven best web browsers on the market. 

Frequently Asked Questions - FAQs

Why is my download saying Virus Detected?

This error message means that one or more of the security programs on your system have flagged the file as malicious/dangerous and have prevented it from being downloaded to your system.

Is it safe to edit the Windows Registry?

As long as you’ve created a backup of the Windows Registry and you know which key to edit, it’s entirely safe to edit the Registry. Even if you accidentally edit the wrong key or input the wrong value, you can always load the backup registry file.

How can I bypass the Download Failed – Virus Detected error?

The quickest ways to bypass this error are to disable Safe Browsing in Google Chrome and temporarily disable the Antivirus programs of your system.

ABOUT THE AUTHOR

Muhammad Zubyan


Muhammad Zubyan is a certified Google IT Support Professional with over 7 years of extensive experience. He has worked on more than 1500 computers, gaining valuable insights that enable him to detect and troubleshoot any complicated root cause of Windows-related issues and errors. In addition to managing Appuals as a Senior Editor, he is currently developing his own Game Optimization program that caters to both gamers and casual users alike.