Can't delete files because they are open in COM Surrogate

Anonymous
2024-10-31T06:45:14+00:00

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.

0 comments No comments
{count} votes

15 answers

Sort by: Most helpful
  1. Anonymous
    2025-01-14T19:05:55+00:00

    You should be able to kill the "COM Surrogate" task in Task Manager.

    That worked. Thank you!

    12 people found this answer helpful.
    0 comments No comments
  2. Anonymous
    2025-01-17T20:55:38+00:00

    This has been an underlying issue for a long time. This has happened to me often when it comes to photos, trash bin and folders.

    Why does it happen to begin with? It's very annoying. Is there a long term fix?

    Task Manager is just a solution, not a cure, after all.

    6 people found this answer helpful.
    0 comments No comments
  3. Anonymous
    2025-02-10T19:00:52+00:00

    Same issue for me. An annoying error in Windows which has been there for a while. Only work around so far is to kill Com Surrogate in Task Manager.

    0 comments No comments
  4. Anonymous
    2025-02-21T12:15:28+00:00

    I was doing backups in Windows 11 checking out which pictures to delete and which to keep. Every so often it won't allow me to delete a picture or folder because of this Com Surrogate hijacking the files. It happened a dozen times just today that I noticed this is not a one time problem but a systemic bug in the operating system. I also see this problem has been reported back in 2020 and still hasn't been fixed.

    3 people found this answer helpful.
    0 comments No comments
  5. Anonymous
    2025-02-23T11:17:56+00:00

    Bonjour MF’n Quetzalcoatlus

    Merci pour le conseil:

    "simplement ouvrir le fichier qui ne voulait pas être supprimé. Faites quelques modifications simples. Enregistrez le fichier (pas enregistrer sous) et fermez le programme... Ensuite, j’ai ouvert l’emplacement du fichier et il a été supprimé comme prévu."

    Tout OK, fichier supprimé !

    Slts.

    0 comments No comments