Skip to main content

Fix: Operation did not complete successfully because the file contains a virus

There are a lot of antivirus tools available online but none of them can be called perfect and there will always be malicious tools that will be able to slip by unnoticed by even the most expensive and most popular antivirus tools.
There also exists another side of the medal and those are the false positives which are constantly reported by your antivirus tools even though the files are 100% legitimate. However, the judgment on whether a file is genuine or not is definitely delicate to say the list and you should always pay close attention when handling these files.

These files should be scanned by several different antivirus scanners before you decide the file is a false positive. The error code which sometimes appears under the message displayed in the title is actually produced by Windows which makes it all the more interesting. Follow the instructions presented below in order to learn just how to handle this error.

Solution 1: Disable Windows Defender Temporarily

Since Windows Defender can really produce some false positives when its settings are set to full protection, it’s normal to expect simple mistakes like this one. However, when it comes to Windows and Windows Defender, there is no efficient way of actually running the file which was reported until you disable Windows Defender completely.
Make sure you turn it on as soon as possible as it’s always dangerous to leave your computer unprotected for a long time.
  1. Right-click on the shield icon on your taskbar and click on Open.
  1. When Windows Defender Security Center opens, click on the shield icon below the home button, open Virus & threat protection settings and turn off Real-time protection and Cloud-based protection.
  2. Navigate to the browser icon (second from the end) and turn off the Check apps and files option.
  3. You can also disable SmartScreen if you think it’s going to bother you during the action you wish to undertake.
Note: Don’t forget to turn on everything you just disabled by repeating the same process and turning the components ON.

Solution 2: Add an Exception for the Folder Where the File Is Located

If you are using several security tools besides Windows Defender, you should know that disabling one of them will cause the other to start acting up. Luckily, there is a simple solution which simply consists of adding an exception for the file you are trying to run. If the file is located on a removable storage device, make sure the device is connected before you open your antivirus screen.
Follow the steps below in order to do so:
  1. Open your antivirus user interface by double-clicking on its icon on the Desktop or by double-clicking on its icon in the bottom right part of your taskbar.
  2. The Exception setting is located in different places according to different antivirus tools. It can often be found simply without much hassle but here are some location on the most popular antivirus tools:
Kaspersky Internet SecurityHome >> Settings >> Additional >> Threats and Exclusions >> Exclusions >> Specify Trusted Applications >> Add.
AVGHome >> Settings >> Components >> Web Shield >> Exceptions.
AvastHome >> Settings >> General >> Exclusions
In each case, make sure you choose the folder location properly. Also, don’t click the file directly because most users claimed that you actually need to select the folder and not the file you want to add to exceptions.

Solution 3: Problems with Windows Explorer

It definitely sounds weird but sometimes even the Windows Explorer process gets flagged as potential malware and it prevents you from using your computer properly while displaying the “Operation did not complete successfully because the file contains a virus“ error. Since explorer.exe is a genuine Windows process, you may not be able to solve the problem by disabling antivirus or by adding explorer.exe to exceptions. Luckily, there is an even easier method:
  1. Search for “Command Prompt”, right-click on it, and select the “Run as administrator” option. Copy and paste the following commands and make sure you click Enter after each one.
sfc /SCANFILE=c:\windows\explorer.exe
sfc /SCANFILE=C:\Windows\SysWow64\explorer.exe
  1. If everything goes as it should, you should receive a message which should along the line:
Windows Resource Protection found corrupt files and successfully repaired them.
  1. Even if this message doesn’t appear, the problem might still be resolved so make sure you restart your computer afterwards and check to see if the issue still appears.

Solution 4: Problem with Windows Backup

This error can also appear when running Windows Backup and the error is displayed when Backup runs into the problematic file. If you have followed the instructions above and scanned your computer several times and if you are 100% sure you are not infected, the false positive may be caused by temporary Internet and cache files.
These files should be deleted on all browsers you are using before you proceed with running the Windows backup again. Follow the instructions below in order to clear browsing data for Internet Explorer and Edge at the same time.
  1. Type “Control Panel” in the search bar located at the taskbar and click on the first result.
  2. Change the View by option to large icons and locate the Internet Options section. Open it.
  1. Stay under the General tab and look under the Browsing history section.
  2. Click on Delete… and choose what you want to delete from your browser.
  3. We recommend you uncheck the first option called “Preserve Favorites website data” and check the next three; “Temporary Internet files and website files”, “Cookies and website data”, and “History”.
  4. Click on Delete and exit Control Panel.
  1. Reboot your computer and check to see if the annoying pop-up still appears.
  2. Open your Edge browser by either clicking its icon at the taskbar or by searching for it in the Start menu.
  3. After the browser opens, click on the three horizontal dots located at the top right part of the browser and select Settings.
  4. Under Clear Browsing Data section, click on Choose What To Clear.
  1. Keep the first four options checked and clear this data.
  2. The problem should gone in no time.

Comments

Popular posts from this blog

How to Fix Windows 10 Pin Issues when Logging In

Windows 10 provide a very convenient way of logging in to your Windows using a pin code. However, some users are experiencing problems with the Windows 10 pin login. After a Windows Update, users can’t sign in using their previous pin code. And this isn’t related to users forgetting their pin codes. It seems like their old pin code has been removed from the Windows and their PCs aren’t recognising it. Now, there are a lot of scenarios of this. Some people can’t sign in because the system doesn’t recognise their PIN. On the other hand, some people can’t even enter their pin because there isn’t a pin option available for them. What Causes the Pin to Stop Working? Here is a list of things that can cause this issue A bug in the Windows Update that might have broken the PIN sign in option Corrupt files in the Ngc folder Usually it happens after a Windows Update so it’s a bug that breaks the PIN sign in option. Tips Before you dive deep in to the methods given below...

How to Fix the ‘Failed to Acquire the VirtualBox COM Object’ Error

Several users are reporting that they are unable to launch VirtualBox. The critical error message that comes up is  “Failed to acquire the VirtualBox COM object. The application will terminate”.  In some cases, the error is also accompanied by a second error message pointing towards the problem. The issue does not seem to be specific to a certain Windows version since it’s confirmed to occur on both Windows 8.1 and Windows 10. Failed to acquire the VirtualBox COM object. The application will now terminate. What is causing the ‘Failed to Acquire the VirtualBox COM Object’ error? We investigated this issue by looking at various user reports and the repair strategies that are commonly deployed successfully in this particular scenario. As it turns out, there are multiple culprits that might end up triggering this issue: VirtualBox is not installed with admin access  – Virtualbox is one of those software products that will require you to install them with a...

How to convert CDA files to MP3 Format

Some users have been reaching us with questions about converting an audio file from  CDA to MP3 . Some have reported that after they upgraded to Windows 10  some audio files have been automatically converted from  .mp3 to  .cda. What are CDA and MP3? CDA  is a file extension of shortcut type format that stands for  CD Audio shortcut.  As the type format implies, a CDA file does not actually contain any audio but it’s simply a shortcut to the tracks on an audio disk. CDA files are created by the computer’s CD driver with the purpose of keeping a permanent record of the location of the track. MP3  is a type of file type that uses efficient compression to save a lot of disk space. Unlike a CDA file, an MP3 file is much smaller in size and does not serve as a shortcut (it actually contains audio data). How to convert a CDA file to MP3 If you’re currently struggling to convert a CDA file to MP3, you’re in luck. Whether you d...