Backup and restore shared Folders information
March 27, 2012 1 Comment
To backup all the information related with the shares in a Windows you will need to make the export of all the content of the next KEY.
HKLM\SYSTEM\CurrentControlSet\Services\LanmanServer\Shares
To backup information just run from command line:
reg export HKLM\SYSTEM\CurrentControlSet\Services\LanmanServer\Shares shareperms.reg
To restore information just run from command line:
reg import shareperms.reg
You will need to restart the service lanmanserver after restoring the information.
Hope that this information can be useful


Thanks buddy and sorry for the delayed reply.