Title: RE: [ActiveDir] Who is using my file?

Okay now that something similar has been brought up… I have, on occasion, had both files and folders say that they can’t be deleted because they are in use, and yet as far as I can tell they are not in use.  This used to happen frequently on 2000 servers running Symantec AV, but I had stopped all the nav_etc processes and services and still they won’t be deleted.  Sometimes they were CD images which were not running at all, not shared, or anything.  I checked to make sure they were not open in computer management.  Sometimes a reboot would free them up, but that’s not always an option.  Has anyone else seen this, and do you know a way to kill the file like you can kill a stubborn process?

I didn’t know about the net file command but will remember it now!

Rich

 


From: Baekelant, Erik [mailto:[EMAIL PROTECTED]
Sent: Tuesday, December 02, 2003 2:07 AM
To: '[EMAIL PROTECTED]'
Subject: RE: [ActiveDir] Who is using my file?

 

If the file is opened through a share, you could use the following command:
   net file | find /I "name of file"
will return a line with an ID, the filename and the account who is accessing the file.
   net file ID /delete
closes the file.

HTH,

Erik

-----Original Message-----
From: Richard Sumilang [mailto:[EMAIL PROTECTED]]
Sent: Tuesday, December 02, 2003 7:55 AM
To: [EMAIL PROTECTED]
Subject: [ActiveDir] Who is using my file?

 

I had a little problem today, my server is running Windows 2000 Server
and naturally it's sharing a few files. I tried opening a document on
the server but I could only open it in read only mode because someone
had it opened before me. Is it possible to tell from the server or my
workstation what user is using the file or at least what computer?

Thanks
Richard S.

List info   : http://www.activedir.org/mail_list.htm
List FAQ    : http://www.activedir.org/list_faq.htm
List archive: http://www.mail-archive.com/activedir%40mail.activedir.org/

-------APPLEBEE'S INTERNATIONAL, INC. CONFIDENTIALITY NOTICE------- PRIVILEGED / CONFIDENTIAL INFORMATION may be contained in this message or any attachments. This information is strictly confidential and may be subject to attorney-client privilege. This message is intended only for the use of the named addressee. If you are not the intended recipient of this message, unauthorized forwarding, printing, copying, distribution, or using such information is strictly prohibited and may be unlawful. If you have received this in error, you should kindly notify the sender by reply e-mail and immediately destroy this message. Unauthorized interception of this e-mail is a violation of federal criminal law. Applebee's International, Inc. reserves the right to monitor and review the content of all messages sent to and from this e-mail address. Messages sent to or from this e-mail address may be stored on the Applebee's International, Inc. e-mail system.

Reply via email to