The other day I heard a coworker cussing about the fact he couldn’t delete a folder. To give him credit, he dual boots Linux and Windows, and has just recently realized Windows is much better. But, Windows doesn’t have sudo rm -f (ignoring chattr +i which I didn’t know about until today).
The problem is easy to solve though.
Download process explorer
Start it up and go to Find -> Find Handle or DLL…
- Search for the path of the folder, and you see the process/executable holding onto the file.