this post was submitted on 03 Oct 2025
1096 points (99.1% liked)
Programmer Humor
26691 readers
2168 users here now
Welcome to Programmer Humor!
This is a place where you can post jokes, memes, humor, etc. related to programming!
For sharing awful code theres also Programming Horror.
Rules
- Keep content in english
- No advertisements
- Posts must be related to programming or programmer topics
founded 2 years ago
MODERATORS
you are viewing a single comment's thread
view the rest of the comments
view the rest of the comments
Actually on windows 7 I found out how to get which process is locking one file.
You open the resources manager (task manager has a link to it)
Inside you can see how much each process uses on cpu, network and stuff.
And there is a tab where all used files for each process is listed. You can search for specific files.
Yeah there's a Microsoft sysinternals utility where you can drag a file into to fetch that info for you.
Makes zero sense there isn't a >Details in the error notification that tells you the damned process in Windows.
Not only that, but you can actually search all active processes to see which handles they keep references to. Just search the name of your file and it will show you the processes which use it