ICONICS2000
15th March 2006 08:37 UTC
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
15th March 2006 10:25 UTC
HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\lanmanserver\Shares
is where the current system shares are stored.
ICONICS2000
16th March 2006 08:27 UTC
Thanks.... Whats the Difference between ControlSet002 and ControlSet003 and CurrentControlSet?
BSOD2600
16th March 2006 09:19 UTC
I believe the different control sets are used for different hardware profiles / 'Last known good configuration' recovery option.
ICONICS2000
16th March 2006 10:28 UTC
thanks....