Solved

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

Posted on 2012-03-12
7
316 Views
Last Modified: 2012-04-25
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?
0
Comment
Question by:Sean-CIX
7 Comments
 
LVL 74

Assisted Solution

by:käµfm³d 👽
käµfm³d   👽 earned 250 total points
ID: 37712997
openfiles perhaps?
0
 
LVL 4

Accepted Solution

by:
kdubendorf earned 250 total points
ID: 37713107
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
 
LVL 6

Expert Comment

by:NikolasG
ID: 37713527
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
What Should I Do With This Threat Intelligence?

Are you wondering if you actually need threat intelligence? The answer is yes. We explain the basics for creating useful threat intelligence.

 
LVL 7

Expert Comment

by:Ilya Rubinshteyn
ID: 37714750
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
 
LVL 74

Expert Comment

by:käµfm³d 👽
ID: 37714881
@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
 
LVL 6

Expert Comment

by:NikolasG
ID: 37715358
@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
 
LVL 74

Expert Comment

by:käµfm³d 👽
ID: 37715608
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

Featured Post

6 Surprising Benefits of Threat Intelligence

All sorts of threat intelligence is available on the web. Intelligence you can learn from, and use to anticipate and prepare for future attacks.

Join & Write a Comment

Setting up a Microsoft WSUS update system is free relatively speaking if you have hard disk space and processor capacity.   However, WSUS can be a blessing and a curse. For example, there is nothing worse than approving updates and they just have…
On July 14th 2015, Windows Server 2003 will become End of Support, leaving hundreds of thousands of servers around the world that still run this 12 year old operating system vulnerable and potentially out of compliance in many organisations around t…
This tutorial will walk an individual through locating and launching the BEUtility application and how to execute it on the appropriate database. Log onto the server running the Backup Exec database. In a larger environment, this would generally be …
This tutorial will walk an individual through locating and launching the BEUtility application to properly change the service account username and\or password in situation where it may be necessary or where the password has been inadvertently change…

758 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

Need Help in Real-Time?

Connect with top rated Experts

20 Experts available now in Live!

Get 1:1 Help Now