Search This Blog

Sunday, September 28, 2025

Who locks a file in windows 10 ?

 I found myself  oncemore with this annoyting predicament in windows where you wish to change a folder's name and it is locked by some mysterious process. 

Although I had dealt with this issue in the past ("How to find who locks a file on Windows - and how to release it if a service is the locker") it has been a while since that post, and it seemed wise to see if there are more convenient answers... and there are ! 

The following superuser thread "Find out which process is locking a file or folder in Windows" turned beneficial, and the gist of the advice I best liked was: 
  1. Run the Resource Monitor (resmon.exe from the search box)
  2. Go to the cpu tab
  3. In the associated handles section search for part of the folder name that is locked
And now you can handle it !

image of a window of Resource Monitor


It is surprising how many times it is word who for some reason keeps a handle long after a file has been closed.


No comments:

Post a Comment