Solved

Determine the source of a locked file

Posted on 2006-07-12
11
821 Views
Last Modified: 2012-05-05
I am trying to determine which machine has some files locked on a Windows 2003 server.  I've tried using Computer Management to compare sessions to open files, but there are so many sessions and open files it's impossible to determine which session has which files open.  I've used FileMon, but that only monitors from the time you start the program, which doesn't help me as these files are currently locked but have no activity.  So does anyone know of a program, preferably free, that will tell me what files are open and from which machine/IP?
0
Comment
Question by:G3m1n1
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
11 Comments
 
LVL 6

Expert Comment

by:glennbrown2
ID: 17094945
0
 
LVL 23

Expert Comment

by:TheCleaner
ID: 17094977
Can't you use "Open Files" in computer management to obtain the user ID that has the files open and then call the person or figure out which machine they are logged onto?
0
 
LVL 3

Author Comment

by:G3m1n1
ID: 17095059
Thank you for the comments,
glennbrown2, thanks for the links however none of them do what I need.  Unlocker simply unlocks currently open files.  IconLockIt is a program to manually lock or unlock files.  Opened Files View is very similar to FileMon and just shows what's open plus lots of info except for the machine the lock is coming from.
TheCleaner, unfortunately that won't tell me much as the "user" is actually a service account that runs on many servers that hit the fileserver in question.
0
Industry Leaders: We Want Your Opinion!

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

 
LVL 26

Expert Comment

by:Pber
ID: 17098806
Try Netwatch from the NT4 reskit.  It combines the Open files/users/sessions into one view.
http://www.experts-exchange.com/Networking/Microsoft_Network/Q_21903496.html

Then you can use process explorer from systernals to find out what process has the file open and kill those handles to the files:
http://www.sysinternals.com/Utilities/ProcessExplorer.html

0
 
LVL 3

Author Comment

by:G3m1n1
ID: 17138828
But that still will not tell me from which machine(s) the open handles originated.  Before I kill any open files, I need to first determine the exact machine (by name or IP) that has each file open.  Looking at the user will not help me because the same user account runs as a service on multiple machines which all use files stored on a file server.  
0
 
LVL 3

Author Comment

by:G3m1n1
ID: 17312099
I've since learned that what I want to do is commonplace in Unix, but it seems impossible to do in Windows.  So I suppose that this question does not have an answer, other than "not possible".  Anyone agree with that?
0
 
LVL 23

Expert Comment

by:TheCleaner
ID: 17312597
I'm guessing the ability might be out there, but you'd have to find a 3rd party app that does it, and I'm not aware of one off the top of my head, unless www.scriptlogic.com has something in their arsenal.

Another thought since it is a service account would be that it is probably some networked process, so maybe a netstat -a -n would help?
0
 
LVL 3

Author Comment

by:G3m1n1
ID: 17512952
I agree, this question has been abandoned.  Feel free to close it anytime.
0
 

Accepted Solution

by:
PAQ_Man earned 0 total points
ID: 17539368
PAQed with points refunded (250)

PAQ_Man
Community Support Moderator
0
 
LVL 1

Expert Comment

by:GHandke
ID: 22581041
Pber gave the correct answer and should have been awarded the points for this question.  Netwatch shows the open files, as well as the user and machine/ip from which they were opened.
0

Featured Post

Technology Partners: We Want Your Opinion!

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

Title # Comments Views Activity
Dentrix G4 1 86
How to customise Office 2016 font settings with a GPO 3 102
Event ID: 5719 / Source: NETLOGON 9 162
Windows 2003 SID Regeneration in ESXi 6.0 5 115
by Batuhan Cetin In this article I will be guiding through the process of removing a failed DC metadata from Active Directory (hereafter, AD) using the ntdsutil tool in a Windows Server 2003 environment. These steps are not necessary in a Win…
Many of us need to configure DHCP server(s) in their environment. We can do that simply via DHCP console on server or using MMC snap-in on each computer with Administrative Tools installed in a network. But what if we have to configure many DHCP ser…
Nobody understands Phishing better than an anti-spam company. That’s why we are providing Phishing Awareness Training to our customers. According to a report by Verizon, only 3% of targeted users report malicious emails to management. With compan…
Exchange organizations may use the Journaling Agent of the Transport Service to archive messages going through Exchange. However, if the Transport Service is integrated with some email content management application (such as an antispam), the admini…

740 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question