Help | Site Map
Connecting Tech Pros Worldwide
Reply
 
LinkBack Thread Tools
  #1  
Old September 9th, 2008, 10:10 AM
Newbie
 
Join Date: Sep 2008
Posts: 1
Default Cannot delete X: It is being used by another person or program.

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
Reply
  #2  
Old September 9th, 2008, 06:33 PM
Familiar Sight
 
Join Date: Mar 2008
Posts: 247
Default

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'
Reply
  #3  
Old September 10th, 2008, 08:47 AM
ambrnewlearner's Avatar
Expert
 
Join Date: Jan 2008
Location: My country ;)
Age: 18
Posts: 579
Default

HELLO,

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


HOPE THIS HELPS.....
Reply
Reply

Bookmarks

Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are Off
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On

What is Bytes?

We are a network of experts and professionals in IT and software development that help one another with answers to tough questions and share insights. Get the best answers to your questions from over network members.
Post your question now . . .
It's fast and it's free

Popular Articles