Jump to content
Sign in to follow this  

List Open Files, and by Who, on a system, locally or remotely !

Recommended Posts


Ok, after a lot of researches, i've found that the APIs that use windows to determine what files is opened, and by who, on a system, is NetFileEnum of the netapi32.dll

but..after a lot of try, i really don't understand dllcall

i think that application could be really needed by everyone to see who is connected to your computer, or on a remote computer !

here some links that was my source

on msdn first :


and a guy that has developed an little application with this, in .NET

VBNet example using NetFileEnum

and here is my script, but doesn't work...i really don't understand anything to dllcall, sorry :/

Dim $servername,$basepath,$username,$element,$entriesread,$totalentries
DllCall("netapi32.dll","long","NetFileEnum","long",$servername,"long",$basepath,"long",$username,"long",3,"long", _

-- Arck System _ Soon -- Ideas make everything

"La critique est facile, l'art est difficile"

Projects :

[list] [*]Au3Service : Run your exe as service V3 / Updated 29/07/2013 Get it Here [/list]

Share this post

Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
Sign in to follow this  


Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.