


The fastest way of disabling the built-in antivirus is going to the Settings menu. To do this, you’ll have to temporarily disable Windows Defender, and open the file while it’s turned off. If you believe that the file you downloaded is genuine, you can bypass the “Operation did not complete successfully because the file contains a virus” warning.

If you’re not certain that the file you downloaded is genuine, run an antivirus scan and find a new, legitimate download. If the file does contain malware, it may be too dangerous to open the file. How to Fix Operation Did Not Complete Successfully Because the File Contains a Virusīefore proceeding, keep in mind that your computer may be in danger.

The methods below will guide you to open a file and bypass the “Operation did not complete successfully because the file contains a virus” message. If this happens, Windows Defender gives you a warning after protecting your computer. Typically, misleading links and malicious users spread files that appear genuine but contain malware. This is a general issue with all antivirus software - if code or behavior matches a known malware, Windows Defender may flag the file as dangerous. If you downloaded something from a genuine website, it’s possible that Windows Defender detected a false positive.
