All i did was restart the computer and problem goes away
Can't delete files because they are open in COM Surrogate
So I've just started having a problem where sometimes deleting files and folders will result in this dialog appearing, or "the folder cannot be deleted because it is open in another program." Why is this happening?
I hope I don't have a virus looking through my stuff or something.
Windows for home | Windows 11 | Files, folders, and storage
Locked Question. This question was migrated from the Microsoft Support Community. You can vote on whether it's helpful, but you can't add comments or replies or follow the question.
15 answers
Sort by: Most helpful
-
Anonymous
2025-03-03T00:07:43+00:00 -
Anonymous
2025-03-03T11:16:48+00:00 Best answer out of all the replied right above. Clear, concise, and it resolves the issue.
Nice work!
-
Anonymous
2025-05-31T10:18:56+00:00 So, you have to KILL AN APP to delete a file???
And EVERY SINGLE TIME I open an image file, then close it, some other BROKEN ROGUE APP is still sniffing it, and keeps it locked??
I am having to do this OVER AND OVER again!!!
WHY IS THIS SYSTEM TURNING TO MORE SHI!T EVERY TIME YOU RELEASE AN UPDATE???
-
Anonymous
2025-06-01T09:03:27+00:00 Best answer out of all the replied right above. Clear, concise, and it resolves the issue.
Nice work!
It's the best answer for technical people who tolerate Microsoft GARBAGE.
The "COM Surrogate" just means the broken app is hiding behind the COM interface, so you don't really know which app is JUNK.
Here's a clue: It's most likely a Microsoft product.
Here's another clue: It IS the Microsoft Photos app.
(Kill the COM surrogate. double click an image. It opens in Photos. The COM surrogate is back and won't go away)
As usual, they release something and make is WORSE.
These are INCOMPENTENT Microsoft developers who don't even know know how to use their own COM interface spec.
Will they realize it's DEFECTIVE and fix it?
Here's a clue: Nope... Never.
-
Anonymous
2025-06-01T11:12:44+00:00 This worked for me. Thanks.