Skip to content
⌘ NSIS Forum Archive

Emumerating the list of Configured Shares

5 posts

ICONICS2000#

Emumerating the list of Configured Shares

Hi All

I have built a SPI program using NSIS which produces XML Files with various window's settings, does any body know how to retrieve the list of Configured Windows Shares.

I know i can use the API Call or a WMI Call but i wondered if any one knew the location in the registry?
BSOD2600#
HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\lanmanserver\Shares

is where the current system shares are stored.
ICONICS2000#
Thanks.... Whats the Difference between ControlSet002 and ControlSet003 and CurrentControlSet?
BSOD2600#
I believe the different control sets are used for different hardware profiles / 'Last known good configuration' recovery option.