By using this site, you agree to our updated Privacy Policy and our Terms of Use. Manage your Cookies Settings.
448,799 Members | 1,384 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 448,799 IT Pros & Developers. It's quick & easy.

Cannot delete X: It is being used by another person or program.

P: 1
Cannot delete X: It is being used by another person or program. Close any programs that might be using the file and try again.

Of course I have tried closing any programs I know of that may be using the file (used X because the filename does not matter...it is a specific log file name to the application).

I am logged onto a Windows Server 2003 computer that acts as a server for a LAN, but is physically joined to a domain.

The local clients are not on the domain, just the local workgroup.

There is a roaming profile that the server has used (domain user), but even when logged on with a local admin user, I cannot delete this file from the server.

*all applications are closed that should be using it and the related services are stopped.
*The scheduled process should be able to delete this file locally or from any of the clients without human intervention. It works seamlessly everywhere else and is a tried and true application. This is not scheduled in Windows, but the application has an event scheduler that fires the process. The process runs on one of the clients and part of the execution of this process is to delete this log file from the server's shared drive.

I know there is a configuration flaw, but I cannot put my finger on it. Is there a DOS command or a Windows application I can download that will report the "holding" person or program for this log file? That may help me to restirct or allow access where I need to.

HELP!
Thanks in advance!
Frustrated
Sep 9 '08 #1
Share this Question
Share on Google+
2 Replies


100+
P: 283
best program for this is 'handles.exe'

Sysinternals Handles program

this will show what has a file open , the other thing to check on a server is that nobody has the file open remotely , to check this use computer management and select 'shared folder' then 'open files'
Sep 9 '08 #2

AmberJain
Expert 100+
P: 884
HELLO,

Another program (which is as good as Sysinternals HANDLES) is Unlocker.


HOPE THIS HELPS.....
Sep 10 '08 #3

Post your reply

Sign in to post your reply or Sign up for a free account.