Solved

Who's got the resource open?

Posted on 2001-08-06
7
225 Views
Last Modified: 2006-11-17
I want to find the username and ,if possible, the machine name of the user who has a particular file open on a particular server (NT4 Server).In Admin Tools /Service Manager I can find this out, but can I get at this from a client?
0
Comment
Question by:philjh
7 Comments
 
LVL 1

Accepted Solution

by:
Neal Hartman earned 100 total points
ID: 6356108
Try Microsoft's WMI SDK (Windows Management Instruction).
If not Mabry or Desaware sell NT tools.
0
 
LVL 1

Expert Comment

by:Vinda
ID: 6356217
You can definitely do that using WMI, but then the NT4 server and your local machine both should have WMI core components installed.

I have done that using WMI.
0
 

Author Comment

by:philjh
ID: 6363396
I've had a look at WMI and it seems like a big overhead to achieve something relatively simple. I there not a network API call I could make to get this information?
I've increased the points a bit.
0
IT, Stop Being Called Into Every Meeting

Highfive is so simple that setting up every meeting room takes just minutes and every employee will be able to start or join a call from any room with ease. Never be called into a meeting just to get it started again. This is how video conferencing should work!

 
LVL 1

Expert Comment

by:Vinda
ID: 6363826
I could send u WMI code to do this. Its very simple and would just take 20 lines of code to achieve this.

0
 

Author Comment

by:philjh
ID: 6367077
Vinda that would be very useful.Thanks
0
 
LVL 49

Expert Comment

by:DanRollins
ID: 7198505
Hi philjh,
It appears that you have forgotten this question. I will ask Community Support to close it unless you finalize it within 7 days. I will ask a Community Support Moderator to:

    Accept rmcquade's comment(s) as an answer.

philjh, if you think your question was not answered at all or if you need help, just post a new comment here; Community Support will help you.  DO NOT accept this comment as an answer.

EXPERTS: If you disagree with that recommendation, please post an explanatory comment.
==========
DanRollins -- EE database cleanup volunteer
0
 
LVL 5

Expert Comment

by:Netminder
ID: 7213252
Per recommendation, force-accepted.

Netminder
CS Moderator
0

Featured Post

How your wiki can always stay up-to-date

Quip doubles as a “living” wiki and a project management tool that evolves with your organization. As you finish projects in Quip, the work remains, easily accessible to all team members, new and old.
- Increase transparency
- Onboard new hires faster
- Access from mobile/offline

Join & Write a Comment

The debugging module of the VB 6 IDE can be accessed by way of the Debug menu item. That menu item can normally be found in the IDE's main menu line as shown in this picture.   There is also a companion Debug Toolbar that looks like the followin…
When trying to find the cause of a problem in VBA or VB6 it's often valuable to know what procedures were executed prior to the error. You can use the Call Stack for that but it is often inadequate because it may show procedures you aren't intereste…
As developers, we are not limited to the functions provided by the VBA language. In addition, we can call the functions that are part of the Windows operating system. These functions are part of the Windows API (Application Programming Interface). U…
Show developers how to use a criteria form to limit the data that appears on an Access report. It is a common requirement that users can specify the criteria for a report at runtime. The easiest way to accomplish this is using a criteria form that a…

757 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

19 Experts available now in Live!

Get 1:1 Help Now