Re: Exporting Share Permissions



Hello David,

Thanks for the reply.

As far as I know, there is no such tool to dump the share permissions to a
text file.

As for the registry key, yes, windows stores the NTFS permission's with the
file but the share information along with share permissions are stored in
registry as follows:
HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\lanmanserver\Shares.

To restore the share permission, please follow the steps below.

1. Restore the folder from the backup to the original location.

2. Restore the system state to an alternate location.

3. Open the regedit.exe

4. Highlight the HKLM and go to File-->Load Hive.

5. Browse to the location where the system state was restored.

6. Select the "System" Registry file and click ok.

7. Give a name "backup Registry".

8. Browse to HKEY_LOCAL_MACHINE\Backup
registry\ControlSet001\Services\lanmanserver\Shares.

9. Export the registry key.

10. Follow the article below to restore share permissions.

141589 How to Restore Share Definitions To Another Server
http://support.microsoft.com/?id=141589


As for restoring the share permission for only one partition instead of the
entire O/S, please check the registry key and make some tests. Also please
take a look at the article 265704. I believe they are helpful.

Because this newsgroup is here to provide break/fix resolution, and your
question appears to be more consultative in nature, we are only offering
some general information. If you have related break/fix issues during the
tests, you are welcome to post back in this newsgroup. We are happy to help
you with them. Thank you for your understanding.



Best regards,

Frances He


Microsoft Online Partner Support
Get Secure! - www.microsoft.com/security

=====================================================

When responding to posts, please "Reply to Group" via your newsreader so
that others may learn and benefit from your issue.

=====================================================
This posting is provided "AS IS" with no warranties, and confers no rights.

.



Relevant Pages

  • Re: Fixing a registry permissions issue?
    ... restore points to use.... ... your registry with a default ... because its permissions were set wrong. ... can do nothing but hit the reset on the tower.... ...
    (microsoft.public.windowsxp.help_and_support)
  • Re: [Error number: 0x800704DD]
    ... NB: If you had no anti-virus application installed or the subscription had expired *when the machine first got infected* and/or your subscription has since expired and/or the machine's not been kept fully-patched at Windows Update, don't waste your time with any of the below: Format & reinstall Windows. ... I've tried by stopping system restore and rebooting both in safe mode and normal. ... In the dialog box that should appear, if Administrators is present make sure it has Full Permissions selected. ... Important This section, method, or task contains steps that tell you how to modify the registry. ...
    (microsoft.public.windowsupdate)
  • Re: Back up error on xp
    ... To backup your 'system state' - which includes the registry - all ... you need to do is to create a restore point. ...
    (microsoft.public.windowsxp.perform_maintain)
  • Re: Active Directory domain policy not available - Windows cannot access the registry information (5
    ... shuffling the registry around as a result. ... >What share permissions did you change? ... >SYSVOL and NETLOGON shares aren't accessible. ... >the domain controller is changed but the DNS still points to the old IP ...
    (microsoft.public.backoffice.smallbiz2000)
  • Re: ISA 2004 - Disk activity after SP1 or 2 installation
    ... configurations into the registry. ... permissions to the key and the sub keys: ... This newsgroup only focuses on SBS technical issues. ... you may want to contact Microsoft CSS directly. ...
    (microsoft.public.windows.server.sbs)