identifying user logged on

baappi

New member
Joined
Dec 3, 2007
Messages
4
Programming Experience
Beginner
Hi All.
I a newbie to VB.NET . currently I am working in VB.NET project and need some help from you .

My requirement is to create one application that will do following things :
1. search all the users logged on to my system
2. all user accessing any shared folder of my system
3. then disconnect their session/connection i.e. log them off

Obviously, the system on which the program will run is a Windows Server 2003 .

Curently doing above steps manually .
1. start menu -> program -> administrative tools -> computer management
2. then go to system tools -> shared folders -> sessions
we can now see there a list of users . you can select each one and log off each session .

But my requirement is to make this process to be automated .

Any help !! really I need it urgently .

Thanks in advance,
Baappi
 
you'll find better resources on how to do this on the site www.sysinternals.com where some of these tools have been created and they give instructions on how they were created along with the source code. Not for the faint hearted though!
 
Back
Top