How to Fix Operation Did Not Complete Successfully

Computer viruses are a security threat and also cause several errors like “ERROR_VIRUS_INFECTED.” This error mainly followed by the “Operation did not complete successfully because the file contains a virus” notification. In this article will show you how you can easily fix this issue with possible solutions and convenient methods:

How to Fix Operation Did Not Complete Successfully

Change Antivirus

Removing your antivirus from your operating system is not the best fix, but it can help to fix this issue. You can also use another Antivirus tool.

Disable Windows Defender

An antivirus is an essential tool for your operating system, and Windows 10 has in-built antivirus software, namely Windows Defender. It is one of the most solid antivirus software. However, sometimes Defender causes the operation did not complete the error.

To fix this issue, you need to disable Windows Defender properly on your system.

Here are the steps to follow:

  • Tap the Windows + I button on your keyboard to launch the settings application on your device.
  • Under the Settings, select the “Update and security” option, in the left pane, move to the “Window Defender,” and then in the right pane click “Real-time Protection.”
  • After the above process, Window Defender will turn off, and you can run your file without any issue.

To completely turn off Windows Defender, you have to edit the registry.

Here are the steps to follow:

  1. Tap the Windows + R button to open the run command prompt.
  2. In the Run command –line type “Regedit” and then tap the “Enter” button or tap “OK.”
  3. In the left pane you need to move on:
  4. HKEY_LOCAL_MACHINE\SOFTWARE\Policies\Microsoft\Windows Defender
  5. key. Locate “DisableAntiSpyware DWORD” in the right pane. If DWORD is not available, then right-tap on the space and then select “New” click “DWORD (32-bit value). Now type “DisableAntiSpyware” as the new name of DWORD and then double-tap on it.
  6. Set the value from 0 to 1 and then click “OK” to save your changes.
  7. After the above process Windows Defender will permanently turn off, and you can’t see this error on your device again.

If you don’t wish to edit your registry, you can turn off Windows Defender via “Group Policy Editor.”

Here are the steps to follow:

  1. Tap the Windows + R button on your keyboard and then type “gpedit,msc.” And then, hit the “Enter” button or tap “OK.”
  2. When the Group Policy editor appears on the screen, navigate to the left pane and select “Computer Configuration” click “Administration Template” hit Windows Computer” and then click “Windows Defender.
  3. In the right pane double-tap on Disable Windows Defender.”
  4. Click the “Enable” button and then select “Apply” and hit “OK” to save your changes.
  5. Now restart your PC and check for improvement.

Add Problematic File into Exclusion List

If you are facing this error when you are trying to access any files, it is possible that there is a problematic file. Simply add it to the Exclusion list to fix the problem.

Reinstall Antivirus

“Operation did not complete successfully” error may occur due to improper installation of antivirus. Hence, it is best to perform a complete reinstallation of the security suite.

Run Detailed Scan

Sometimes this issue occurs on your device due to malware infection, and in this situation, you need to run a detailed scan to fix this issue.

Here are the steps to follow:

  1. Launch the “Start Menu” , select the “Power” option, tap and hold the “Shift” button on the keyboard and select the “restart” option in the dropdown menu.
  2. A dropdown menu appears on your screen, click “troubleshoot” hit “Advance option” select “Startup Settings” and then tap on the “Restart” button.
  3. When your system restarts, you will view a list on your screen; here you can select any safe mode version by tapping on the corresponding key.
  4. When you have entered into safe mode, you need to perform an essential scan and then try to remove malware.

Repair the Problematic File Use Command Prompt

Here are the steps to follow:

  1. Tap the Windows + X button on your screen and select “Command Prompt” in the menu.
  2. When the command prompts launch, type the given command in the search field:
  3. sfc /SCANFILE=C:\windows\explorer.exe
  4. sfc /SCANFILE=C:\Windows\SysWow64\explorer.exe
  5. After the above process, the problematic file will be fixed to check, try to run any file, and then check the issue resolved.

Run Clean Boot

Here are the steps to follow:

  1. Tap the Windows + r button on your keyboard to launch the Run command prompt.
  2. In the Run command-line type “msconfig” and then hit the “Enter” button or tap “OK.”
  3. Visit the “Service” tab. Click the “Hide entire Microsoft service” button and then select “Disable all.”
  4. Now select the “Startup” button and then select “Open task manager.”
  5. When Task Manager launches, you will view a list of the entire startup application. Right-tap on every application on the list and select “Disable” on the menu. You need to repeat the above steps for the entire list.
  6. Now close the Task Manager and roll back to “System Configuration” window,
  7. Hit “Apply” and then tap “OK” to save your changes.
  8. Now restart your operating system and then check the issue resolved.

Run System Restore

Here are the steps to follow:

  1. Tap the Windows + S button on your keyboard to launch the start menu.
  2. In the search field type “system restore” and then select “Create a restore point” in the dropdown menu.
  3. Now the system properties menu will appear on your screen, select “System Restore” option.
  4. Now the system Restore window will be launched, select “Next.” Now select your desired points and then tap “Next.”
  5. Now you need to follow the on-screen command to complete the process.
  6. Restart your operating system and then check the issue resolved or not.

Restart Windows 10

Here are the steps to follow:

  1. Launch the “Start Menu” , hit the “Power” option, press and hold the “Shift” key on your keyboard and select “Restart.”
  2. Now select “Troubleshooter” , click “Restart this PC,” and hit “Remove everything.” If you asked to insert Windows 10 media installation, then you need to do so.
  3. Click the Windows version that you have installed and select “Only the drive where Windows installed.”
  4. Now click “Just remove my files option.”
  5. Now you can see the change list will occur by running the reset. To restart this procedure, select the “Reset” option.
  6. Now follow the on-screen instructions.
 

Comments are closed