search
HomeCommon ProblemUnable to complete operation: File is already open in COM Surrogate Fix.

COM agents or Component Object Model agents are extension processes used by host processes (mainly .dll files) to perform various tasks. When the COM agent fails, it does not crash the host process, but it may create new problems. For example, when you try to delete a file from File Explorer, you may see an error message - "The file is in use and the operation cannot be completed because the file is already open in a COM agent ". This is simply because the COM agent process is still using the file.

Solution -

1. The first thing you should do is restart the system. After just one reboot, you can delete the file.

2. If you are using anti-virus software, please disable it and try deleting the file again.

Fix 1 – End the COM Surrogate process

You can end the COM Surrogate process after killing the subsequent dll process.

1. Just press all Ctrl Shift Esc three keys at the same time.

2. When the Task Manager page appears, go to the "Details" section.

3. Here you will find many processes and services running on your system. Now, just look for the "dllhost.exe" process in the list.

4. Once you find the service, right-click it and click "End Task" to terminate the process.

该操作无法完成,因为该文件已在 COM Surrogate Fix 中打开

5. After that, navigate to the “Processes” tab.

6. If you look carefully, you will find the "COM Surrogate" process. Just right-click on it and click "End Task" to end the process.

7. If there are multiple instances of the "COM Surrogate" process, end these processes as well.

该操作无法完成,因为该文件已在 COM Surrogate Fix 中打开

Finally, just close the Task Manager screen. Now, it is very important to restart the system.

After the machine restarts, log in with your account and try again to delete the files from the system. You will no longer encounter COM Surrogate error messages.

Fix 2 – Full Control of the Folder

You must have full control of the folder containing the file.

1. Open the file location and go to the folder containing the file you want to delete.

2. Now, just right click on the folder and click on "Properties".

该操作无法完成,因为该文件已在 COM Surrogate Fix 中打开

3. On the Properties page, go to the Security section.

4. Here, just select "Administrator".

5. Then, click "Edit" to make changes.

该操作无法完成,因为该文件已在 COM Surrogate Fix 中打开

6. After that, select the " Administrators " parameter again.

7. Now, just check the “Allow” box next to the “Full Control” option.

该操作无法完成,因为该文件已在 COM Surrogate Fix 中打开

8. After that, first click "Apply" and then click "OK" to save the changes.

该操作无法完成,因为该文件已在 COM Surrogate Fix 中打开

Try to delete the file from the system. Check if this is possible.

Fix 3 – Give full permission

If allowing folder permissions doesn’t work, try granting full permissions to the COM agent process itself.

1. First, press the Ctlr Shift Esc keys at the same time.

2. After the Task Manager appears, enter the "Process" tab and find the "COM Surrogate" process.

3. Just right click on it and click on "Properties".

该操作无法完成,因为该文件已在 COM Surrogate Fix 中打开

4. In the dllhost properties page, go to "Security".

5. Now, click on the “Edit” button.

该操作无法完成,因为该文件已在 COM Surrogate Fix 中打开

6. Now, select "User" from the parameters page and check the "Full Control" box.

该操作无法完成,因为该文件已在 COM Surrogate Fix 中打开

7. Don’t forget to click “OK” to save changes.

该操作无法完成,因为该文件已在 COM Surrogate Fix 中打开

Now, try deleting the file again. This time you will definitely succeed.

Fix 4 – Kill the Process

If some applications are still using the file you want to delete, they should be closed. If the app is still running in the background, use Task Manager to kill it.

1. Just press the Win key and X key at the same time.

2. Later, just click on "Task Manager" to access it.

该操作无法完成,因为该文件已在 COM Surrogate Fix 中打开

3. Now, there are two parts here. In the Applications section, look for any applications that may be associated with the file.

4. If you can find the app, just right-click it and click "End Task" to end the app.

If this is the case, feel free to minimize Task Manager and delete the file.

该操作无法完成,因为该文件已在 COM Surrogate Fix 中打开

#5. If you cannot find the app directly or still see the same error message, look for the app in the Background Processes section.

6. Once you find the application process, right-click it and click "End Task" to kill it.

该操作无法完成,因为该文件已在 COM Surrogate Fix 中打开

Afterwards, close Task Manager and try deleting the file again.

Fix 5 – Use Clean Boot Mode

Just boot the system in clean mode and try to delete the files.

1. You must open the running terminal. So, right-click on the Windows icon on the taskbar and click "Run".

2. Then, enter this code and click "OK".

配置文件

该操作无法完成,因为该文件已在 COM Surrogate Fix 中打开

3. You have gone to "General".

4. Just click on the "Selective Startup" option.

5. Just check these two options in the list -

加载系统服务加载启动项

该操作无法完成,因为该文件已在 COM Surrogate Fix 中打开

6. Now, in the " Services" section, you just check the "Hide all Microsoft Services" option.

8. Just check all third-party apps in the list.

9. Then, click on the “Disable All” option to disable all these services.

该操作无法完成,因为该文件已在 COM Surrogate Fix 中打开

10. Next go to the "Startup" area and click on "Open Task Manager" to access it.

该操作无法完成,因为该文件已在 COM Surrogate Fix 中打开

11. Now that you are on the Task Manager page, just right-click on each application and click on "Disable" to disable it.

With this, make sure you have disabled all unnecessary applications.

该操作无法完成,因为该文件已在 COM Surrogate Fix 中打开

Close the Task Manager window when finished.

12. Just click "Apply" and "OK" to save your changes.

该操作无法完成,因为该文件已在 COM Surrogate Fix 中打开

13. If you receive a prompt to restart your system, click "Restart".

该操作无法完成,因为该文件已在 COM Surrogate Fix 中打开

Your computer will start in clean boot mode.

Now, open File Explorer, go to the location of the file and delete it from there.

Fix 4 – Turn off DEP

DEP or Data Execution Prevention is just another feature you can disable before deleting files.

1. You must right-click on the Windows icon and click "Run".

2. After that, type "sysdm.cpl" in the "Run" window and click "OK".

该操作无法完成,因为该文件已在 COM Surrogate Fix 中打开

3. Just enter the "Advanced" area.

4. Here you will find performance options. Just tap "Settings" to explore.

该操作无法完成,因为该文件已在 COM Surrogate Fix 中打开

5. Come to the performance options window and enter the "Data Execution Prevention" section.

6. After that, just click the "Enable DEP only for essential Windows programs and services" box to check it.

This will not allow any third-party applications to use DEP functionality.

该操作无法完成,因为该文件已在 COM Surrogate Fix 中打开

7. Now, just click on "Apply" and "OK".

该操作无法完成,因为该文件已在 COM Surrogate Fix 中打开

After this, try to delete the file from the system.

Fix 5 – Uninstall the Application

If nothing else works, you must uninstall the application associated with the file.

Example – Let’s say you are deleting a pdf file and encounter this problem. Therefore, you can uninstall Adobe Reader or any application through which you access the file.

1. Press the Win key and the R key.

2. Then, enter “ appwiz.cpl ” and click “ OK ”.

该操作无法完成,因为该文件已在 COM Surrogate Fix 中打开

#3. When the Programs and Features page opens, look for the application in the application list.

4. Right-click on it and click on "Uninstall" to uninstall the application from your system.

该操作无法完成,因为该文件已在 COM Surrogate Fix 中打开

After uninstalling the application, delete the file from your system.

The above is the detailed content of Unable to complete operation: File is already open in COM Surrogate Fix.. For more information, please follow other related articles on the PHP Chinese website!

Statement
This article is reproduced at:云东方. If there is any infringement, please contact admin@php.cn delete
wpsystem是什么文件夹wpsystem是什么文件夹Sep 01, 2022 am 11:22 AM

wpsystem文件夹是windows应用文件夹;创建WpSystem文件夹是为了存储某些特定“Microsoft Store”应用程序的数据,因此建议不要删该文件夹,因为删除之后就无法使用指定的应用。

winreagent是什么文件夹winreagent是什么文件夹Aug 26, 2022 am 11:23 AM

winreagent是在系统更新或升级的过程中创建的文件夹;该文件夹中通常包含临时文件,当更新或升级失败时,系统将通过还原先前创建的临时文件来回滚到执行更新或升级过程之前的版本。

baidunetdiskdownload是什么文件夹baidunetdiskdownload是什么文件夹Aug 30, 2022 am 10:45 AM

baidunetdiskdownload是百度网盘默认下载文件的文件夹;百度网盘是百度推出的一项云存储服务,只要下载东西到百度网盘里,都会默认保存到这个文件夹中,并且可跨终端随时随地查看和分享。

usmt.ppkg是什么文件usmt.ppkg是什么文件Sep 09, 2022 pm 02:14 PM

“usmt.ppkg”是windows自带的系统还原功能的系统备份文件;Windows系统还原是在不需要重新安装操作系统,也不会破坏数据文件的前提下使系统回到原有的工作状态,PBR恢复功能的备份文件就是“usmt.ppkg”。

mobileemumaster是什么文件mobileemumaster是什么文件Oct 26, 2022 am 11:28 AM

mobileEmuMaster是手机模拟大师的安装文件夹。手机模拟大师是PC电脑模拟运行安卓系统的免费模拟器程序,一款可以让用户在电脑上运行手机应用的软件,支持安装安卓系统中常见的apk执行文件,支持QQ、微信等生活常用应用,达到全面兼容的效果。

备份文件的扩展名通常是什么备份文件的扩展名通常是什么Sep 01, 2022 pm 03:55 PM

备份文件的扩展名通常是“.bak”;bak文件是一个备份文件,这类文件一般在'.bak前面加上应该有原来的扩展名,有的则是由原文件的后缀名和bak混合而成,在生成了某种类型的文件后,就会自动生成它的备份文件。

config是什么文件夹可以删除吗config是什么文件夹可以删除吗Sep 13, 2022 pm 03:48 PM

config是软件或者系统中的配置文件,不可以删除;该文件是在用户开机时对计算机进行初始化设置,也就是用户对系统的设置都由它来对计算机进行恢复,因此不能删除软件或者系统中的config配置文件,以免造成错误。

kml是什么文件的格式kml是什么文件的格式Sep 14, 2022 am 10:39 AM

kml是谷歌公司创建的一种地标性文件格式;该文件用于记录某一地点或连续地点的时间、经度、纬度、海拔等地理信息数据,可以被“Google Earth”和“Google Maps”识别并显示。

Hot AI Tools

Undresser.AI Undress

Undresser.AI Undress

AI-powered app for creating realistic nude photos

AI Clothes Remover

AI Clothes Remover

Online AI tool for removing clothes from photos.

Undress AI Tool

Undress AI Tool

Undress images for free

Clothoff.io

Clothoff.io

AI clothes remover

AI Hentai Generator

AI Hentai Generator

Generate AI Hentai for free.

Hot Article

R.E.P.O. Energy Crystals Explained and What They Do (Yellow Crystal)
2 weeks agoBy尊渡假赌尊渡假赌尊渡假赌
R.E.P.O. Best Graphic Settings
2 weeks agoBy尊渡假赌尊渡假赌尊渡假赌
R.E.P.O. How to Fix Audio if You Can't Hear Anyone
3 weeks agoBy尊渡假赌尊渡假赌尊渡假赌

Hot Tools

SublimeText3 Chinese version

SublimeText3 Chinese version

Chinese version, very easy to use

SublimeText3 English version

SublimeText3 English version

Recommended: Win version, supports code prompts!

MantisBT

MantisBT

Mantis is an easy-to-deploy web-based defect tracking tool designed to aid in product defect tracking. It requires PHP, MySQL and a web server. Check out our demo and hosting services.

Dreamweaver CS6

Dreamweaver CS6

Visual web development tools

WebStorm Mac version

WebStorm Mac version

Useful JavaScript development tools