Home / Công nghệ / fix: operation did not complete successfully because the file contains a virus FIX: OPERATION DID NOT COMPLETE SUCCESSFULLY BECAUSE THE FILE CONTAINS A VIRUS 31/03/2022 Encountering viruses & bugs on Windows is quite annoying. Isn’t it? Did you get stuck with the “Operation did not complete successfully because the file contains a virus” alert? Well, yes, this probably indicates that your device just got hit by a potential virus or malware.Bạn đang xem: Fix: operation did not complete successfully because the file contains a virusWe kind of know what you must be thinking? How could the virus or malware penetrate even when you had a security tool installed. Not to lớn forget Windows Defender too! Before this virus creates any further damage and infects your device & data, it requires your immediate attention lớn be resolved.Wondering how khổng lồ fix this issue? Here are a few solutions that you can try khổng lồ fix the “Operation did not complete successfully because the file contains a virus” error by making a bunch of changes in the Windows Settings.Operation Did Not Complete Successfully Because The File Contains A Virus (Solved)Also read: How to lớn Get Rid of COM Surrogate Virus on Windows 10List of Contents Let’s get started.#1 Pichồng a Different Antivirut SoftwareIs your device installed with antivi khuẩn software? Well, if the answer is affirmative sầu, then we strongly advise you khổng lồ switch to an alternative sầu security tool. If the virut or malware could easily manage khổng lồ enter your device, even after the presence of an antivi khuẩn tool, then it had some sort of security loophole. Hence, switch to lớn a different Antivi khuẩn software khổng lồ make sure that your device is well protected và guarded against viruses & malware.Download Systweak AntivirusFrom the left thực đơn pane, switch khổng lồ the “Windows Defender” option. Toggle OFF the “Real-time Protection” option và disable it.This is a temporary way to lớn disable Windows Defender. But if you wish khổng lồ turn it off completely, you’ll need khổng lồ make some changes in the Windows Registry Editor.Press the Windows + R key combination to open the Run dialog box. Type “Regedit” in the textbox, hit Enter.Navigate to the following location:HKEY_LOCAL_MACHINESOFTWAREPoliciesMicrosoftWindows DefenderOn the right side of the window, look for a file named “DisableAntiSpyware”. Right-clichồng on it & select New> DWORD (32 Bit).Set the value as 1 & then hit the OK button.Exit all windows, reboot your device, and kiểm tra if the issue persists.Also read: How lớn Fix Windows Defender Error 577#3 Repair the FileLaunch the Start menu search, type “Commvà Prompt”, right-cliông xã on it, & select “Run as Administrator”.Xem thêm: Cách Tăng Hiệu Suất Máy Tính Khi Chơi Game Mượt Mà Hơn, +8 Cách Tối Ưu Hóa Win 10 Để Chơi Game Mượt HơnIn the Comm& Prompt Shell, type the following commands in the same order to lớn repair the problematic file:SFC /SCANFILE=C:windowsexplorer.exeSFC /SCANFILE=C:WindowsSysWow64explorer.exeExit all windows, reboot your machine.#4: Add an Exclusion in Windows DefenderIf a particular tệp tin is unable to lớn run on your device, you can add it as an exclusion on the Windows Defender or the antivi khuẩn tool that is installed on your machine. This hack can work wonders if a specific tệp tin is falsely detected as a threat by the antivirus tool. Here’s what you need to do:Launch the Start thực đơn search box, type “Windows Security” & hit Enter.Tap on the “Virus & Threat Protection” option.Navigate to lớn Manage Settings> Add or Remove Exclusions.Tap on the “Add an Exclusion” option and browse lớn the file location.Once the exclusion has been successfully added, try running the problematic tệp tin again to lớn kiểm tra if the error alert still pops-up.#5 Disk CleanupBy running a Disk Cleanup on the selected drive sầu, you will be able lớn get rid of unwanted files, cađậy files, & other junk data. It will also help you in fixing the “Operation did not complete successfully because the tệp tin contains a virus”. Let’s quickly learn how to use the Disk Cleanup tool on Windows 10.Fire up the Start menu search box, type “Disk Cleanup” và hit Enter.Pichồng a Drive on which you need lớn persize a scan.Select all the files that you need to keep or delete, & then press the OK button khổng lồ proceed.How vị you fix Operation did not complete successfully?The “Operation did not complete successfully” alert pops-up on the screen when your device gets hit by a potential virus or malware. If a particular file is infected or if it contains malware traces, your system displays the “Operation did not complete successfully” error message on the screen. You can use any of the above-mentioned workarounds lớn get past this issue.ConclusionHere are a few solutions that will allow you lớn fix the “Operation did not complete successfully because the file contains a virut or potentially unwanted” issue on Windows 10. We strongly advise you lớn use any of these above-listed solutions and resolve sầu this error message on priority before the vi khuẩn or malware infects your entire device và creates further damage.