Does your Windows 10 PC show an “Operation did not complete” virus error when you try to open a file? Your antivirus program may have detected your file as malicious, or your PC may have other issues. We’ll show you how to fix the problem so you can access your file.
Other reasons you can’t launch your file may include faulty File Explorer, corrupt temporary files, a virus infection on the PC, and other installed apps interfering with your file.
Disable Your Antivirus Protection
When you encounter the “Operation did not complete” error, turn off your antivirus protection and see if your file opens. This should resolve the issue if your antivirus has recognized your file as a suspicious item.
You can disable the real-time protection in most antivirus tools by launching the tool and selecting the option to turn off protection. If you use Microsoft Defender Antivirus, the following steps will help you temporarily disable your virus protection.
- Mở Bắt đầu trình đơn, xác định vị trí Windows Security app, and launch the app.
- Chọn Chống vi-rút và mối đe dọa trong ứng dụng.
- Chọn Quản lý cài đặt theo Cài đặt bảo vệ khỏi mối đe dọa và vi-rút tiêu đề.
- Tắt Bảo vệ thời gian thực.
- Chọn Có trong User Account Control lời nhắc.
- Khởi động File Explorer and access your file.
Add Your File to Your Antivirus’ Exclusion List
If you continue to receive an error message while trying to launch your file, add your file to your antivirus program’s exclusion list. Doing so will remove all the program’s restrictions on your file.
The way you do that depends on what antivirus you use. You can use the following steps for Microsoft Defender Antivirus.
- truy cập Bắt đầu thực đơn, tìm Windows Security, và khởi chạy ứng dụng.
- Chọn Chống vi-rút và mối đe dọa trong ứng dụng.
- Chọn Quản lý cài đặt theo Cài đặt bảo vệ khỏi mối đe dọa và vi-rút tiêu đề.
- Cuộn xuống trang và chọn Thêm hoặc xóa các loại trừ.
- Chọn Có trong User Account Control lời nhắc.
- Chọn Thêm một loại trừ and select the kind of item you want to add to the list. We’ll choose Tập tin.
- Select the file you have trouble launching and choose Mở.
- Thoát khỏi Windows Security ứng dụng.
- Open your folder and double-click your file.
Fix Windows’ Corrupt File Explorer
Like all other tools, Windows’ File Explorer can go corrupt, causing various random issues. Your virus error may have resulted from Explorer’s corrupt functionality.
In this case, use your PC’s built-in System File Checker (SFC) tool to fix File Explorer.
- Mở Bắt đầu menu, tìm kiếm Command Prompt, Và chọn Run as administrator.
- Chọn Có trong User Account Control lời nhắc.
- Nhập nội dung sau vào CMD cửa sổ và nhấn đăng ký hạng mục thi: sfc /SCANFILE=C:Windowsexplorer.exe
- Next, run the following command: sfc /SCANFILE=C:WindowsSysWow64explorer.exe
- Wait for SFC to fix your File Explorer tool.
- Try to launch your executable or other file.
Delete Windows’ Temporary Files
Your installed apps and services create various temporary files on your machine. Sometimes, these files interfere with Windows’ system tasks, causing random problems.
One way to fix that is to delete all your temporary files. This shouldn’t affect your installed apps, as your apps will re-create the required temporary files.
You can use Windows 10’s built-in Disk Cleanup tool to automatically remove your junk files.
- Mở Bắt đầu, tìm thấy Disk Cleanupvà khởi chạy công cụ.
- Select your Windows installation drive and choose OK.
- Let Disk Cleanup analyze your drive’s contents.
- Select the file types you’d like to remove and choose OK.
- Launch your problematic file when Disk Cleanup has cleared the junk.
Run a Virus Scan on Your PC
A potential reason you get the “Operation did not complete” error is that your PC is infected with a virus or malware. In this case, the virus causes the system not to launch your file.
Bạn có thể khắc phục điều đó bằng cách running a full virus scan on your system, using either a third-party antivirus program or the built-in Microsoft Defender Antivirus. You can run the full scan in the latter antivirus software as follows.
- Mở Windows Security trên máy của bạn.
- Chọn Chống vi-rút và mối đe dọa.
- Chọn Tùy chọn quét.
- Chọn quét Full Và chọn Quét ngay.
- Reboot your PC when you’ve scanned the system.
- Launch your file.
Clean Boot Your Windows Computer
One reason your system displays an “Operation did not complete” error is that your installed apps are interfering with your file. There are malicious apps that tend to do this.
In this case, you can boot your PC in a clean environment where only the essential system files and drivers are loaded. This helps you isolate your apps and find the culprit item.
Clean booting a Windows 10 PC is as easy as selecting a few options. Here’s how.
- Mở Bắt đầu, tìm kiếm msconfig, Và chọn Cấu hình hệ thống trong kết quả tìm kiếm.
- Điều hướng đến DỊCH VỤ tab, chọn Ẩn tất cả các dịch vụ của Microsoft, chọn Vô hiệu hóa tất cả, Và chọn Đăng Nhập.
- truy cập Khởi động tab và chọn Mở Task Manager.
- Chọn tất cả Kích hoạt items in Task Manager’s Khởi động tab, sau đó chọn Vô hiệu hoá.
- Chọn OK trong Cấu hình hệ thống Khởi động tab.
- Khởi động lại máy tính của bạn.
- Try to launch your file.
If your file opens without any issues, one or more of your installed apps may be the culprit. In this case, remove the recently added apps and see if that fixes your issue.
Reset Your Windows System
If you haven’t had any luck resolving the issue, reset your PC to the factory settings and see if that fixes the problem. Resetting your PC fixes all the bad system configuration and brings all your setting options to the factory defaults.
You’ll get to keep your files when you reset your machine. However, your customized setting options will be lost.
- Mở Windows Settings bằng cách nhấn Windows + I.
- Chọn Cập nhật & Bảo mật trong phần cài đặt.
- Chọn Phục hồi bên trái.
- Chọn Bắt đầu Dưới Đặt lại máy tính này Phía bên phải.
- Chọn Giữ các tập tin của tôi.
- Thực hiện theo các hướng dẫn hiển thị trên màn hình của bạn.
- Launch your file when you’ve reset your machine.
Make Inaccessible Files Accessible on Your Windows 10 PC
It’s frustrating to get an “Operation did not complete” error when you’re trying to launch an important file on your Windows computer. Luckily, you don’t have to do much to resolve the issue. Tweak a few options here and there as described in the guide above, and your issue will be resolved.