Windows Vista Forums
Vista Forums Home Join Vista Forums Windows 7 Forum Vista Tutorials Tags
Welcome to Windows Vista Forums. Our forum is dedicated to helping you find solutions with any problems, errors or issues you are experiencing with Windows Vista. The Vista forum also covers news and updates and has an extensive Windows Vista tutorial section that covers a wide range of tips and tricks.

Go Back   Vista Forums > Misc Newsgroups > VB Script

Vista - Monitoring connections to network shares

Reply
 
Old 08-04-2008   #1 (permalink)
jeremy


 
 

Monitoring connections to network shares

Hi all

I need to monitor connections to network shares on a server. We are
migrating to a new domain (company merger) and there are potentially a
lot of scripts, scheduled tasks, and applications which are reading or
writing on network shares.

So, I need to be able to enumerate some useful information about
network share connections to each server's shared folders. Any
information is better than none, but ideally I need to know what share
is being connected to, and I would like client name and username if
possible.

I have done some hunting but cannot find anything. I would imagine
there would be an API or WMI call that would enumerate all shares on a
given server, and then I could loop through each share and output
current connections to a log file or similar.

Thanks in advance for any help offered.

- Jeremy

My System SpecsSystem Spec
Old 08-04-2008   #2 (permalink)
Marcin


 
 

Re: Monitoring connections to network shares

Jeremy,
to enumerate network shares, refer to Storage/Shared Folders section under
http://www.microsoft.com/technet/scr....mspx?mfr=true
You could also obtain the current sessions to the server (sample VB code is
listed at http://support.microsoft.com/kb/198813 - although note that this
won't give you granularity you are looking for...

hth
Marcin

<jeremy@xxxxxx> wrote in message
news:c1b3d767-e440-432e-8f0d-297170ad6b15@xxxxxx
Quote:

> Hi all
>
> I need to monitor connections to network shares on a server. We are
> migrating to a new domain (company merger) and there are potentially a
> lot of scripts, scheduled tasks, and applications which are reading or
> writing on network shares.
>
> So, I need to be able to enumerate some useful information about
> network share connections to each server's shared folders. Any
> information is better than none, but ideally I need to know what share
> is being connected to, and I would like client name and username if
> possible.
>
> I have done some hunting but cannot find anything. I would imagine
> there would be an API or WMI call that would enumerate all shares on a
> given server, and then I could loop through each share and output
> current connections to a log file or similar.
>
> Thanks in advance for any help offered.
>
> - Jeremy

My System SpecsSystem Spec
Reply

Thread Tools


Similar Threads
Thread Forum
Network Monitoring Software :D Network & Sharing
External Network and Bandwidth Monitoring Virtual Server
Network monitoring icon Vista General
Network Monitoring - updated tool Vista General
Network Monitoring - updated tool Vista performance & maintenance


Vista Forums is an independent web site and has not been authorized,
sponsored, or otherwise approved by Microsoft Corporation.
"Windows Vista", the Start Orb, and related materials are trademarks of Microsoft Corp.
© Designer Media Ltd

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46