Home All Groups Group Topic Archive Search About

Network Share Names in Registry

Author
7 Jul 2009 2:02 AM
Mike H
I have searched the internet attempting to find the registry locations for
the network share names, used on a computer under different versions of
windows, without success.  For example, under XP, the location of these
names are
HKEY_LOCAL_MACHINE\SYSTEM\CURRENTCONTROLSET\SERVICES\LANMANSERVER\SHARES,
but this is the only windows version\registry address I've been able to
find.

I would appreciate being given any references to these address for different
versions of Windows.

Second question, Is these registry address's the only way to find out the
network address's for directories being shared on a specific computer.
Thanks for any and all help given with these questions.  Its much
appreciated.

Mike H

Author
7 Jul 2009 9:23 AM
Patrice
Rather than using directly the registry you could use WMI or the
NetShareEnum API (http://www.pcreview.co.uk/forums/thread-3679646.php)

--
Patrice


"Mike H" <mike_***@bigpond.net.au> a écrit dans le message de groupe de
discussion : G0y4m.3107$ze1.2***@news-server.bigpond.net.au...
Show quoteHide quote
> I have searched the internet attempting to find the registry locations for
> the network share names, used on a computer under different versions of
> windows, without success.  For example, under XP, the location of these
> names are
> HKEY_LOCAL_MACHINE\SYSTEM\CURRENTCONTROLSET\SERVICES\LANMANSERVER\SHARES,
> but this is the only windows version\registry address I've been able to
> find.
>
> I would appreciate being given any references to these address for
> different versions of Windows.
>
> Second question, Is these registry address's the only way to find out the
> network address's for directories being shared on a specific computer.
> Thanks for any and all help given with these questions.  Its much
> appreciated.
>
> Mike H
>
>
>