views:

34

answers:

3

Anyone know a tool I can use to debug "cannot access the file because it is being used by another process" exceptions? I suspect a virus scanner but I can't be sure.

+3  A: 

Sysinternals Process Explorer or Procmon are the best tools for this.

Gabe
+3  A: 

WhoLockMe will tell you which process is keeping the file locked.

Thomas
+1  A: 

There is also a solution using MS sysinternals called handles: http://technet.microsoft.com/en-us/sysinternals/bb896655.aspx