Tech News Today
  • News
  • How To
  • Buyer’s Guide
  • Hardware
    • PC Builds
    • Computer Cases
    • Motherboards
    • Peripherals
    • RAM
  • Gaming
  • Software
  • More
    • Mobile
    • Gadgets
    • Laptops
    • Reviews
Facebook Twitter Instagram
Tech News Today
  • News
  • How To
  • Buyer’s Guide
  • Hardware
    • PC Builds
    • Computer Cases
    • Motherboards
    • Peripherals
    • RAM
  • Gaming
  • Software
  • More
    • Mobile
    • Gadgets
    • Laptops
    • Reviews
Tech News Today
Home»Uncategorized»Fix: Operation Did not Complete Successfully because the File Contains a Virus

Fix: Operation Did not Complete Successfully because the File Contains a Virus

SachiBy SachiMarch 7, 2022
operation did not complete successfully because the file contains a virus

When the message “Operation Did not Complete successfully because the File Contains a Virus” pops up, it prevents the file or program that you have selected from starting up. 

This message might show up when Windows Defender detects a suspicious file in your system. In some instances, these files could contain false or actual malware.

Thankfully, in this article, we will cover the methods of how you can scan and remove malware or bypass this false alert from your Windows PC.

How to Fix Operation Did Not Complete Successfully Because the File Contains a Virus Message Error?

If you are certain that the programs you have downloaded are genuine, then let us move ahead with the methods on how to bypass this message error.

Perform a Full Scan 

Firstly, we recommend initiating a full scan of your PC. This method allows you to identify any potential malware in your system. To do so, 

  1. Go to the Start icon and type in Windows Security.
  2. From the Virus and Threat Protection, click on the Scan options. 
  3. Enable the Full scan option and click on the Scan Now button.Perform-full-scan 

Disable Windows Defender 

In some instances, the built-in Windows Defender antivirus software might trigger false warnings while on protection mode. So, to fix this minor issue, we suggest you temporarily turn off the protection. To do so, 

  1. Go to the Start icon and click on Settings. 
  2. Select the Update and Security option. 
  3. From the left panel, click on Windows Security.
  4. Select Virus and Threat Protection. 
  5. Under the Virus and Threat Protection Settings, click on Manage Settings.

     Virus-And-Threat-Protection
  6. Turn off the toggle for Real-Time Protection.
  7. Click on Yes to confirm.
  8. Scroll down and disable the toggle for Cloud-delivered Protection.
  9. Click on Yes to confirm again.

Now, see if you can open your file. If it does not fix the issue, you can follow the below methods.

Note: This method is highly risky since you are disabling the protection mode on your computer device. Please make sure you have a backup of your system to prevent losing important files.

Windows Firewall Registry

In some cases, you might not be able to disable Windows Defender through the Settings. Many users have expressed that it can only temporarily disable the program, and after a while, it will re-enable again. To fully disable the program, you will have to configure it through Registry Editor. 

Here are some steps you can follow.

  1. Use the shortcut command Windows + R to open up the Run Utility. 
  2. Type in regedit and click on the OK button.Run-regedit 
  3. On the Registry Editor address bar, enter the following path:
    Computer\HKEY_LOCAL_MACHINE\SOFTWARE\Policies\Microsoft\Windows Defender
  4. Find the DisableAnitSpyware option. 
  5. If you don’t see the option, right-click on the blank space and select New > DWORD 32-bit value.
    Dword-32
  6. Name the key as ‘ DisableAntiSpyware’ and click on it.
  7. Now, set the Value Data to 1 and click on the OK button to make changes.

Disable Third-Party Antivirus Applications

If you have set a third-party antivirus software as your startup application, then you can try disabling it. To do so,

  1. Use the shortcut command Ctrl + Shift + Esc to open Task Manager. Navigate and switch to the Startup tab.
    Task-Manager 
  2. Locate your Antivirus application from the list of options. 
  3. Select the application and click on the Disable button. 
  4. Finally, Restart your computer. 

Create App or File Exclusions

If you don’t want to take the risk of completely disabling your antivirus software, you have the option to add exclusions to certain apps or files, which allows you to bypass the warning message. To do so, 

  1. Open up the Search box and type in Windows Security. 
  2. From the left side panel, click on Virus and Threat Protection. 
  3. Under the Virus and threat protection settings, click on Manage Settings. 
  4. From the Exclusions section, click on Add or Remove exclusion. 
  5. Select on the Add an exclusion button.Add-An-Exclusion
  6. Navigate to the Program File you want to open.

Now, check if you can access the file. To be on the safe end, we recommend that you run an antivirus scan to check for any malware or virus on the file.

Repair File Through Command Prompt

In some cases, the warning message might prop up if the problem is in the File or even in the File Explorer itself. To repair it,

  1. Navigate to the Start icon and type in Command Prompt.
  2. Right-click on it and select the Run as Administrator option.Command-Prompt
  3. If the User Account Control box appears, click on Yes to provide administrator permission. 
  4. Now, type in the following codes on the Command Prompt box. Please make you hit Enter after each command to execute it.
  • sfc /SCANFILE=c:\windows\explorer.exe 
  • sfc /SCANFILE=C:\Windows\SysWow64\explorer.exe

Run Disk Cleanup 

Sometimes, temporary internet files like your caches, cookies, and browsing data stored in your backup might get corrupt or cause hindrances. As a result, the warning message might show up. Here are some steps you can follow to delete these files. 

  1. Go to the start menu and type in Disk Cleanup.Disk-Cleanup 
  2. Choose your System Drive. In most instances, it is installed onto your C Drive.
  3. Hit on the OK.
  4. From the pop-up window, check the boxes for Temporary Internet Files and Temporary Files. 
  5. Click on the Ok button.

Perform a Clean Reboot 

A clean reboot is an effective troubleshooting method that allows you to identify the program or file causing the issue. This method is similar to booting up your Windows on Safe mode but gives you more control on which programs can run at startup to help pinpoint the problem. 

  1. Open the Run Utility by using the shortcut Windows + R key. 
  2. Type in msconfig and click on the OK button. 
  3. On the System Configuration Window, switch to the Services tab. 
  4. At the bottom, check the box for Hide all Microsoft Services. System-Config
  5. Then, click on the Disable All button. 
  6. Now, switch to the Startup tab and click on the Open Task Manager link. 
  7. Right-click on the applications and select the Disable option. 
  8. Exit out of the Task Manager and click on Apply > OK.
  9. Finally, Restart your Device.

Perform a System Restore 

If your device is still showing the warning error, you might be able to fix this issue by performing a System Restore. This method allows your device to revert to your PC’s previous operating settings preventing the warning message to appear.

  1. Go to the Start icon and type in Control Panel.
  2. Search and select the Recovery option.
    System-Recovery
  3. Click on Open System Restore and click Next. 
  4. Check the box for Show More Restore points. 
  5. Select the most recent restore point and click Next > Finish. 
  6. From the pop-up, click on the Yes button to confirm.
Note: This method might delete certain programs installed after the creation of the restore point, but you will still be able to access your personal files. 

Update Windows 

In some instances, the older version of Windows might contain bugs and errors. As a result, it can cause a false virus warning on your devices. To fix this issue, make sure you are up-to-date with the latest updates. Here are some steps you can follow.

  1. Go to the Start icon and click on Settings. 
  2. Choose Update and Security. 
  3. Select the Windows Update option.
  4. Click on Check for Updates.
     Windows-Update

If there are any available updates, please make sure you download and install them.

Factory Reset your PC

If all the above methods fail to resolve the error message, you can reset your PC. This method allows you to revert back to the default settings. So, if you have important files on your computer device, please make sure you have a backup before proceeding with the steps. 

  1. Go to the Start icon and click on the Power button. 
  2. Press and hold the Shift key and click on Restart. 
  3. Select the Troubleshoot option. 
  4. Select Reset this PC. 
  5. Choose Remove Everything. 
  6. Click on the Reset button to confirm.
fix how-to Windows
Sachi

An avid writer with a curious mind to explore new things.

Related Posts

how to delete files on windows 11

3 Ways on How to Delete Files on Windows 11

June 2, 2022
remove recycle bin from desktop windows 11

How To Hide Or Remove Recycle Bin From Desktop On Windows 11

May 31, 2022
windows 11 volume mixer

How To Open And Use Volume Mixer In Windows 10/11

May 31, 2022
how-to-insert-signature-in-google-docs

How to Insert a Signature in Google Docs?

May 30, 2022
how to remove windows 11

How To Remove or Uninstall Windows 11

May 29, 2022
firmware update

What Is Firmware Update? Does Your Device Need it

May 25, 2022
Add A Comment

Leave A Reply Cancel Reply

Latest Posts
fighting-games

11 Best Fighting Games on Steam

June 8, 2022
what-is-the-blue-circle-on-my-samsung

What Is the Blue Circle on My Samsung

June 8, 2022
should-i-use-wd-discovery

What Is WD Discovery? Should I Use It?

June 8, 2022
You may also like
how-to-clear-other-storage-on-iphone

How to Clear Other Storage on iPhone?

June 8, 2022
change drive letter windows 10 11

How To Change A Drive Letter On Windows 10 Or 11

June 8, 2022
how to reset imac without password

How to Reset iMac Without Password

June 8, 2022
Recommended
Cookie Clicker Garden Guide

Cookie Clicker Garden Guide to Unlocking Every Seed

September 26, 2021
monitor no signal

Computer Turns On But Monitor Says No Signal (9 Ways To Fix)

October 25, 2021
Facebook Twitter Pinterest
  • Home
  • About Us
  • Privacy Policy
  • Affiliate Disclosure
© 2022 TechNewsToday.

Type above and press Enter to search. Press Esc to cancel.