Solved

Who's got the resource open?

Posted on 2001-08-06
7
233 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
Networking for the Cloud Era

Join Microsoft and Riverbed for a discussion and demonstration of enhancements to SteelConnect:
-One-click orchestration and cloud connectivity in Azure environments
-Tight integration of SD-WAN and WAN optimization capabilities
-Scalability and resiliency equal to a data center

 
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

Active Directory Webinar

We all know we need to protect and secure our privileges, but where to start? Join Experts Exchange and ManageEngine on Tuesday, April 11, 2017 10:00 AM PDT to learn how to track and secure privileged users in Active Directory.

Question has a verified solution.

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

Suggested Solutions

Introduction While answering a recent question about filtering a custom class collection, I realized that this could be accomplished with very little code by using the ScriptControl (SC) library.  This article will introduce you to the SC library a…
When designing a form there are several BorderStyles to choose from, all of which can be classified as either 'Fixed' or 'Sizable' and I'd guess that 'Fixed Single' or one of the other fixed types is the most popular choice. I assume it's the most p…
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…
Get people started with the process of using Access VBA to control Outlook using automation, Microsoft Access can control other applications. An example is the ability to programmatically talk to Microsoft Outlook. Using automation, an Access applic…

821 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