当您尝试打开文件时,(virus error when you try to open a file)您的 Windows 10 PC 是否显示“操作未完成”病毒错误?您的防病毒程序可能已将您的文件检测为恶意文件,或者您的 PC 可能存在其他问题。我们将向您展示如何解决该问题,以便您可以访问您的文件。
无法启动文件的其他原因可能包括文件资源管理器(File Explorer)故障、损坏的临时文件、PC 上的病毒感染以及干扰文件的其他已安装应用程序。

禁用您的防病毒保护
当您遇到“操作(Operation)未完成”错误时,请关闭防病毒保护(turn off your antivirus protection)并查看您的文件是否打开。如果您的防病毒软件已将您的文件识别为可疑项目,这应该可以解决问题。
您可以通过启动该工具并选择关闭保护的选项来禁用大多数防病毒工具中的实时保护。如果你使用 Microsoft Defender Antivirus,以下步骤将帮助你暂时禁用病毒防护。
- 打开开始(Start)菜单,找到Windows 安全(Windows Security)应用程序,然后启动该应用程序。
- 在应用程序中选择病毒(Select Virus)和威胁防护。
- (Choose Manage)在病毒(Virus)和威胁防护设置标题
下选择管理设置。
- 关闭实时保护。

- 在用户帐户控制(User Account Control)提示
中选择是。(Yes)
- 启动文件资源管理器(File Explorer)并访问您的文件。
将您的文件(File)添加到防病毒软件的排除列表中
如果您在尝试启动文件时继续收到错误消息,请将您的文件添加到防病毒程序的排除列表中(add your file to your antivirus program’s exclusion list)。这样做将删除程序对您的文件的所有限制。
您执行此操作的方式取决于您使用的防病毒软件。您可以对Microsoft Defender 防病毒软件(Microsoft Defender Antivirus)使用以下步骤。
- 访问“开始(Start)”菜单,找到“ Windows 安全中心(Windows Security)”,然后启动该应用程序。
- 在应用程序中选择病毒(Select Virus)和威胁防护。
- (Choose Manage)在病毒(Virus)和威胁防护设置标题
下选择管理设置。
- 向下滚动(Scroll)页面并选择添加(Add)或删除排除项。

- 在用户帐户控制(User Account Control)提示
中选择是。(Yes)
- 选择添加(Choose Add)排除并选择要添加到列表中的项目类型。我们将选择File。

- 选择启动时遇到问题的文件,然后选择Open。
- 退出 Windows 安全应用程序。
- 打开您的文件夹并双击您的文件。
修复 Windows 的损坏文件资源管理器
与所有其他工具一样,Windows 的文件资源管理器可能会损坏,从而导致各种随机问题。您的病毒错误可能是由资源管理器的损坏功能引起的。
在这种情况下,请使用 PC 的内置系统文件检查器(System File Checker)( SFC ) 工具来修复文件资源管理器(fix File Explorer)。
- 打开开始(Start)菜单,搜索命令提示符(Command Prompt),然后选择以管理员身份
运行。(Run)
- (Choose Yes)在用户帐户控制(User Account Control)提示
中选择是。
- 在CMD窗口中键入以下内容并按 Enter:sfc /SCANFILE=C:Windowsexplorer.exe

- 接下来,运行以下命令:sfc /SCANFILE=C:WindowsSysWow64explorer.exe

- 等待(Wait)SFC修复您的文件资源管理器(File Explorer)工具。
- 尝试启动您的可执行文件或其他文件。
删除 Windows 的临时文件
您安装的应用程序和服务会在您的计算机上创建各种临时文件。有时,这些文件会干扰 Windows 的系统任务,从而导致随机问题。
解决该问题的一种方法是删除所有临时文件(delete all your temporary files)。这应该不会影响您安装的应用程序,因为您的应用程序将重新创建所需的临时文件。
您可以使用Windows 10内置的磁盘清理(Disk Cleanup)工具来自动删除您的垃圾文件。
- 打开“开始(Start)”,找到“磁盘清理(Disk Cleanup)”,然后启动该工具。
- 选择您的Windows安装驱动器,然后选择“确定”。
- 让磁盘清理(Disk Cleanup)分析您的驱动器的内容。
- 选择您要删除的文件类型,然后选择“确定”。

- 磁盘清理(Disk Cleanup)清除垃圾后
启动有问题的文件。
在您的 PC 上运行病毒扫描
您收到“操作(Operation)未完成”错误的一个潜在原因是您的 PC 感染了病毒或恶意软件。在这种情况下,病毒会导致系统无法启动您的文件。
您可以通过使用第三方防病毒程序或内置的Microsoft Defender Antivirus在系统上运行完整的病毒扫描(running a full virus scan on your system)来修复该问题。您可以在后一种防病毒软件中运行全面扫描(run the full scan),如下所示。
- 在您的计算机上
打开Windows 安全。(Windows Security)
- 选择病毒和威胁防护。
- 选择扫描选项。
- 选择全面(Select Full)扫描并选择立即扫描(Scan)。

- 扫描系统后重新启动(Reboot)PC。
- 启动你的文件。
干净启动您的 Windows 计算机
您的系统显示“操作未完成”错误的原因之一是您安装的应用程序正在干扰您的文件。有些恶意应用程序往往会这样做。
在这种情况下,您可以在仅加载基本系统文件和驱动程序的干净环境中启动您的 PC。这有助于您隔离应用程序并找到罪魁祸首。
干净启动 Windows 10 PC(Clean booting a Windows 10 PC)就像选择几个选项一样简单。就是这样。
- 打开“开始(Start)”,搜索“msconfig”,在搜索结果中
选择“系统配置”。(System Configuration)
- 导航到“服务(Services)”选项卡,选择“隐藏(Hide)所有Microsoft服务”,选择“全部禁用(Disable)”,然后选择“应用(Apply)” 。

- 访问“启动(Startup)”选项卡并选择“打开任务管理器(Open Task Manager)” 。

- (Select)在任务管理器的启动选项卡中(Startup)选择所有已启用(Enabled)的项目,然后选择禁用(Disable)。
- (Select OK)在系统配置的启动(Startup)选项卡
中选择确定。
- 重新启动您的电脑。
- 尝试启动您的文件。
如果您的文件打开时没有任何问题,则您安装的一个或多个应用程序可能是罪魁祸首。在这种情况下,请删除最近添加的应用程序,看看是否能解决您的问题。
重置您的 Windows 系统
如果您没有运气解决问题,请将您的电脑重置为出厂设置(reset your PC to the factory settings),看看是否能解决问题。重置 PC 可修复所有错误的系统配置,并将所有设置选项恢复为出厂默认设置。
重置计算机时,您将保留文件。但是,您的自定义设置选项将会丢失。
- 按Windows + I
打开Windows 设置。(Windows Settings)
- (Select Update)在设置中(Settings)选择更新和安全(Security)。
- 选择左侧的恢复。
- (Select Get)在右侧的重置此电脑下(Reset)选择开始。

- 选择保留我的文件。

- 按照屏幕上显示的说明进行操作。
- 重置机器后启动文件。
使(Make)无法访问的文件(Files Accessible)在您的 Windows 10(Your Windows 10) PC
上可访问
当您尝试(trying to launch an important file)在您的Windows计算机上启动一个重要文件时,收到“操作未完成”错误是令人沮丧的。幸运的是,您无需执行太多操作即可解决问题。按照上面指南中的说明在这里和那里调整几个选项,您的问题将得到解决。
How to Fix the “Operation did not complete” Virus Error on Windows 10
Does your Windows 10 PC show an “Opеration did not complеte” 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.
- Open the Start menu, locate the Windows Security app, and launch the app.
- Select Virus & threat protection in the app.
- Choose Manage settings under the Virus & threat protection settings header.
- Toggle off Real-time protection.

- Select Yes in the User Account Control prompt.
- Launch 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.
- Access the Start menu, find Windows Security, and launch the app.
- Select Virus & threat protection in the app.
- Choose Manage settings under the Virus & threat protection settings header.
- Scroll down the page and choose Add or remove exclusions.

- Select Yes in the User Account Control prompt.
- Choose Add an exclusion and select the kind of item you want to add to the list. We’ll choose File.

- Select the file you have trouble launching and choose Open.
- Quit the Windows Security app.
- 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.
- Open the Start menu, search for Command Prompt, and select Run as administrator.
- Choose Yes in the User Account Control prompt.
- Type the following in the CMD window and press Enter: sfc /SCANFILE=C:\Windows\explorer.exe

- Next, run the following command: sfc /SCANFILE=C:\Windows\SysWow64\explorer.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.
- Open Start, find Disk Cleanup, and launch the tool.
- 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.
You can fix that by 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.
- Open Windows Security on your machine.
- Select Virus & threat protection.
- Choose Scan options.
- Select Full scan and choose Scan now.

- 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.
- Open Start, search for msconfig, and select System Configuration in the search results.
- Navigate to the Services tab, select Hide all Microsoft services, choose Disable all, and select Apply.

- Access the Startup tab and choose Open Task Manager.

- Select all Enabled items in Task Manager’s Startup tab, then choose Disable.
- Select OK in System Configuration’s Startup tab.
- Reboot your PC.
- 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.
- Open Windows Settings by pressing Windows + I.
- Select Update & Security in Settings.
- Choose Recovery on the left.
- Select Get started under Reset this PC on the right.

- Select Keep my files.

- Follow the instructions displayed on your screen.
- 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.