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:
- Tap the Windows + R button to open the run command prompt.
- In the Run command –line type “Regedit” and then tap the “Enter” button or tap “OK.”
- In the left pane you need to move on:
- HKEY_LOCAL_MACHINE\SOFTWARE\Policies\Microsoft\Windows Defender
- 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.
- Set the value from 0 to 1 and then click “OK” to save your changes.
- 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:
- Tap the Windows + R button on your keyboard and then type “gpedit,msc.” And then, hit the “Enter” button or tap “OK.”
- 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.
- In the right pane double-tap on Disable Windows Defender.”
- Click the “Enable” button and then select “Apply” and hit “OK” to save your changes.
- 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:
- 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.
- A dropdown menu appears on your screen, click “troubleshoot” hit “Advance option” select “Startup Settings” and then tap on the “Restart” button.
- 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.
- 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:
- Tap the Windows + X button on your screen and select “Command Prompt” in the menu.
- When the command prompts launch, type the given command in the search field:
- sfc /SCANFILE=C:\windows\explorer.exe
- sfc /SCANFILE=C:\Windows\SysWow64\explorer.exe
- 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:
- Tap the Windows + r button on your keyboard to launch the Run command prompt.
- In the Run command-line type “msconfig” and then hit the “Enter” button or tap “OK.”
- Visit the “Service” tab. Click the “Hide entire Microsoft service” button and then select “Disable all.”
- Now select the “Startup” button and then select “Open task manager.”
- 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.
- Now close the Task Manager and roll back to “System Configuration” window,
- Hit “Apply” and then tap “OK” to save your changes.
- Now restart your operating system and then check the issue resolved.
Run System Restore
Here are the steps to follow:
- Tap the Windows + S button on your keyboard to launch the start menu.
- In the search field type “system restore” and then select “Create a restore point” in the dropdown menu.
- Now the system properties menu will appear on your screen, select “System Restore” option.
- Now the system Restore window will be launched, select “Next.” Now select your desired points and then tap “Next.”
- Now you need to follow the on-screen command to complete the process.
- Restart your operating system and then check the issue resolved or not.
Restart Windows 10
Here are the steps to follow:
- Launch the “Start Menu” , hit the “Power” option, press and hold the “Shift” key on your keyboard and select “Restart.”
- 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.
- Click the Windows version that you have installed and select “Only the drive where Windows installed.”
- Now click “Just remove my files option.”
- Now you can see the change list will occur by running the reset. To restart this procedure, select the “Reset” option.
- Now follow the on-screen instructions.
No comments:
Post a Comment