How can I determine who has a lock on a shared file without any admin rights?

I'd like to figure out from my windows 7 workstation who on the server 2008 who has a particular file locked.  

I have no admin rights of any kind or access to the server.  We've outsourced this now, but I would still like to be able to see who is using a few specific files without having to call our outsourcing company everytime.

LVL 12
ScriptAddictAsked:
Who is Participating?

[Product update] Infrastructure Analysis Tool is now available with Business Accounts.Learn More

x
I wear a lot of hats...

"The solutions and answers provided on Experts Exchange have been extremely helpful to me over the last few years. I wear a lot of hats - Developer, Database Administrator, Help Desk, etc., so I know a lot of things but not a lot about one thing. Experts Exchange gives me answers from people who do know a lot about one thing, in a easy to use platform." -Todd S.

Run5kCommented:
Hopefully another EE community member knows of a trick that I haven't heard of, but I don't believe that's possible.  Unless your outsourcing team allows you to use remote access software of some kind to view the shares on the server, I think you have encountered a rather large road block.

Of course, there are some minor exceptions.  For example, if you are working in a domain environment and attempt to open an Excel spreadsheet that someone else is already modifying, a message will pop up on your screen that tells you who has it open, allows you to open it read-only, and will notify when it if fully available.

Again, hopefully another person has a viable suggestion, but I don't think it's possible.
0
netBoogerCommented:
Unless you want to use 3rd party tools then you won't be able to determine that without having proper permissions to access the server/workstation that the document sits on.

If you do have access then you can either remotely logon, or remotely connect using "Computer Management", then under "System Tools" and "Shared Folders" there is an option to look at "Open Files". This is where it will tell you who has what file open on that server/workstation.

If you don't have access to the system that the file sits on then you can try third party software such as (ShareWatch. I have never used this software and would assume you need someone with rights to the server/workstation to set it up.
0
ScriptAddictAuthor Commented:
Thanks for your comments.  

Ultimately I've given up doing this remotely and I've asked the system admin to schedule to run this command every minute on the server via scheduled events.  

openfiles /Query /V > c:\temp\FilesOpenRemotely.txt

Then I will just open that text file to see who has the file locked.  

openfiles.exe is available on any OS since Windows XP is my understanding.  

It will give all files open over the network and the windows username of the employee that has them open, as well as indicating any locks that are currently held on the file.  

This isn't ideal, but I think based on the comments above it is as close as I'm going to get.
0

Experts Exchange Solution brought to you by

Your issues matter to us.

Facing a tech roadblock? Get the help and guidance you need from experienced professionals who care. Ask your question anytime, anywhere, with no hassle.

Start your 7-day free trial
ScriptAddictAuthor Commented:
Thanks for your help
0
Run5kCommented:
Under the circumstances, that sounds like a reasonably good alternative.
0
It's more than this solution.Get answers and train to solve all your tech problems - anytime, anywhere.Try it for free Edge Out The Competitionfor your dream job with proven skills and certifications.Get started today Stand Outas the employee with proven skills.Start learning today for free Move Your Career Forwardwith certification training in the latest technologies.Start your trial today
Windows Server 2008

From novice to tech pro — start learning today.