ZTree.com  | ZEN  | About...  

 Index   Back

[!Help] Sharing Violation   [Help!]

By: Ben Kent       
Date: Dec 02,2005 at 07:38
In Response to: [!Help] Sharing Violation (Alan P Brown)

> Once in a while, I come to change a directory name using ZTree and I get a
> "Sharing Violation [32]" error. Normally it is not difficult to
> find the application that has got a file open in the tree (or, in the case
> of some applications, has had a file in the tree open recently!) and
> resolve the problem.
> However, once in a while it is not so obvious, so rather than shutdown all
> the applications, does anyone know of any utility for finding files that
> are open?
> I had wondered about SysInternals FileMon, but although I have
> administrator privileges (as suggested by SysInternals) when I run It I
> find that it actually needs Debug Programs privilege, which I do not
> appear to have (W2K).
> Any other suggestions?

> Alan

There are a number of Sysinternals tools that require the Debug privelidge.
To add it
run gpedit.msc
browse to
\Computer Configuration\Windows Settings\Security Settings\Local Policies\User Rights Assignments
Select "Debug programs"
Add your account or the administrators group.
Logout and back in for the change to take effect.

The best Sysinternals tool to do what you want is "Process Explorer", which you can do a "Find handle" for the directory that is locked, which should point you in the direction of the process that is stoping you deleting the directory.

Ben

522 views      
Thread locked
 

Messages in this Thread

 
96,637 Postings in 12,231 Threads, 350 registered users, 61 users online (0 registered, 61 guests)
Index | Admin contact |   Forum Time: Mar 29, 2024 - 2:07 pm UTC  |  Hits:62,408,412  (23,198 Today )
RSS Feed