Photo Gallery Member List Search Calendars FAQ Ticket List Log Out


VBScript - Correlating remote file usage with remote session

 
Logged in as: Guest
arrSession:exec spGetSession 2,2,54946
 Active Users: There are 0 members and 0 guests.
 Users viewing this topic: none
 

 

 
  
  Printable Version
All Forums >> [Scripting] >> WSH & Client Side VBScript >> VBScript - Correlating remote file usage with remote session
  Do you like VisualBasicScript.com? Link to us and help spread the word about our forum. Thanks!
Page: [1]
Login
Message << Older Topic   Newer Topic >>
 VBScript - Correlating remote file usage with remote se... - 1/4/2008 4:48:39 AM   
  humbletech99

 

Posts: 53
Score: 0
Joined: 6/9/2007
Status: offline
I have some VBScript which can query the remote sessions on a server to tell me what users are connected from which computers (like net session). It can also tell me which users are using which files (like net file).

The problem is, I'm not sure how to correlate the two so that I can show which user is using which file from which machine. The sessions give me only user and computer, the files give me only user and path.

If a user has a session on the server from two or more machines, I can't just make assumptions and look up the user session by user name.

I am so far using the WinNT ADSI provider to get this information. I'm open to ideas on how I should be doing this, I first thought of WMI (since nearly all roads seem to end here) but couldn't see a way of enumerating this from there so went back to ADSI, I know ADSI can do some things that WMI can't (and vice versa of course).

If anyone has any ideas, I'm open to them.

Thanks.

_____________________________

value(geeks) > value(mundanes)
 
 
Post #: 1
 
 
 
  

If you found our site useful please link to us <a href="http://www.visualbasicscript.com">VisualBasicScript.com</a>.
All Forums >> [Scripting] >> WSH & Client Side VBScript >> VBScript - Correlating remote file usage with remote session Page: [1]
Jump to:





New Messages No New Messages
Hot Topic w/ New Messages Hot Topic w/o New Messages
Locked w/ New Messages Locked w/o New Messages
 Post New Thread
 Reply to Message
 Post New Poll
 Submit Vote
 Delete My Own Post
 Delete My Own Thread
 Rate Posts