How to determine which files a user has open from VBScript

  • Thread starter Thread starter Guest
  • Start date Start date
G

Guest

How can I programmatically determine which files (if any) that a particular
user has open on a particular server?
 
There is probably a way via wmi (Should post this question in the script
newsgroup) but you could try and use the handle program and incorporate it
in your script.

http://www.sysinternals.com/Utilities/Handle.html


--


Paul Bergson MCT, MCSE, MCSA, CNE, CNA, CCA

This posting is provided "AS IS" with no warranties, and confers no rights.
 
The server is a filer, and the sysinternals PsLoggedOn util does not work on
this filer (but works well on regular Windows servers). The Computer
Management tool does give the info that I am looking for, and I can export
the list. I need to be able to query an updated list from within my VBScript
(each time it reads a new user account from AD), so I have been scouring the
Internet to find a way to do this.

Thanks for the reply.
 
We have a couple of huge filers here as well. You can attach to the via
Windows computer management to find open files.

--


Paul Bergson MCT, MCSE, MCSA, CNE, CNA, CCA

This posting is provided "AS IS" with no warranties, and confers no rights.
 
Back
Top