App or way to tell who is in a file that is locked?

Had an interview today and the guy asked an interesting question. What way (sounded like an app) can you tell who is in a file that is locked and someone needs access to it.

no one has ever told me how to tell who is in it.. so i am curious how you can tell?
Sean-CIXAsked:
Who is Participating?
 
kdubendorfConnect With a Mentor Commented:
In a Windows Server (I'm using SBS 2003 as the example) Open up Server Management.

Go to Advanced Management > Computer Management > System Tools > Shared Folders > Open Files tells you all of the files that are currently open by users.

I use this when I need to upgrade an App and the user has it open.
0
 
käµfm³d 👽Connect With a Mentor Commented:
openfiles perhaps?
0
 
NikolasGCommented:
Both the above ways work on network files.
If you want to check a file on the local disk then a very good tool Unlocker from the following site :
http://www.emptyloop.com/unlocker/
I ve been using it for many years and it's very good.
0
Creating Active Directory Users from a Text File

If your organization has a need to mass-create AD user accounts, watch this video to see how its done without the need for scripting or other unnecessary complexities.

 
Ilya RubinshteynCommented:
The file server management console will show you open sessions and open files, including username, full path, what rights are currently being used, how long has the session/file has been open for. To access either use Start-Administrator Tools -File Server Resource Manager or launch server manager (2008 and later) and expand the roles and go to file server.
0
 
käµfm³d 👽Commented:
@NikolasG

I've only used the free version, but does unlocker tell you who has locked the file? It was my understanding it only tells what has a file locked.
0
 
NikolasGCommented:
@Kaufmed
There is only the free version with a possibility to donate if you wish.
Yes the program only tell you the process that has locked the file not the user. That's why I said that this is for the local files not in a network environment.
In case of a network shared file it only tells you that is used by process sys.
0
 
käµfm³d 👽Commented:
That's why I said that this is for the local files not in a network environment.
...so it handles multiple users logged in to the same box at the same time? [ That's my point  ; )  ]
0
Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

All Courses

From novice to tech pro — start learning today.