The process cannot access the file because it is being used by another process

Annoying problem "The process cannot…

Login

Blog History

Annoying problem "The process cannot access the file because it is being used by another process" trying to delete a directory.

Didn't want to reboot because I was running a VMWare VM at the time and well real operating systems don't make you reboot every time something untoward happens.

Tried filemon from sysinternals.com and couldn't see any activity in the directory I was trying to delete.

so couldn't figure out how to find which process was holding a lock on the directory I was trying to delete

Ended up Opening task manager and killing explorer.exe and then restarting by clicking File ==> New Task ==> explorer.exe {ENTER}.

Directory then deleted fine.

OS: Windows XP Professional SP3

0 Comments

Submit a Comment

Your email address will not be published. Required fields are marked *

This site is protected by reCAPTCHA and the Google Privacy Policy and Terms of Service apply.

The reCAPTCHA verification period has expired. Please reload the page.