The operation did not complete successfully because the file contains a virus error in Windows 10 Fix

Who I am
Catherine Le Nevez
@catherinelenevez
SOURCES CONSULTED:

support.microsoft.com

Author and references

Your Windows PC is now a significantly improved version, with the latest updates and a host of features to explore. However, it can also get complex at times, especially when trying to open programs. There are several types of errors that can interrupt your normal work or that interesting game session in the middle, and among them is the error "The operation did not complete correctly because the file contains a virus".

A sudden mistake can be frustrating, and this is no different. there is nothing to worry about as we have two different and effective methods of dealing with this error. Let's see how to get rid of it.



Method 1: How to fix the error “The operation did not complete successfully because the file contains a virus” via the Settings application

Step 1: Click on windows on the desktop and click Settings option in the context menu, located above the Power option.

Step 2: In Settings window, find and click Update and security.

Step 3: In the next window, click Windows security option on the left side of the panel, then click Virus and threat protection on the right side of the panel.

Step 4: In the next window, scroll down to Virus and threat protection settings section and click Manage your settings Under that.

Step 5: In Virus and threat protection settings window, scroll down and disable the slider at the bottom Real-time protection and also low Protection delivered in the cloud.




Step 6: Again, scroll down and disable the slider under the Automatic sample submission section.


Now go away Settings, refresh your desktop and see if the program you want opens smoothly. If the problem persists, move on to the next method.

Method 2: How to fix the error “The operation did not complete successfully because the file contains a virus” using the command prompt

Step 1: press the Windows key + X together on the keyboard and from the context menu, select Command Prompt (Admin) have lunch Symbol of the system with administrator rights.

Step 2: In Symbol of the system window, type the following command and press Pay in:

sfc /SCANFILE=C:windowsexplorer.exe

After the first command completes the scan, run the following command:

sfc /SCANFILE=C:WindowsSysWow64explorer.exe

Once complete, restart your PC and the error should not appear the next time you try to open the desired program.

Audio Video The operation did not complete successfully because the file contains a virus error in Windows 10 Fix
add a comment of The operation did not complete successfully because the file contains a virus error in Windows 10 Fix
Comment sent successfully! We will review it in the next few hours.