Posts

Showing posts from May, 2020

How to Back Up and Restore NTFS and Share Permissions

Image
How to Back Up and Restore NTFS and Share Permissions                One thing that has made the NTFS permissions piece of this simpler is the  Icacls   tool. Icacls was developed for Windows Vista as a replacement for tools such as  Calls ,  Xcacls , and  Xcacls.vbs . It was also included in Service Pack 2 for Windows Server 2003 and Windows Server 2008. Backup and Restore of Share Permissions To backup share permissions, export the  Shares  registry key. Open  Regedit  to the following location: HKLM\SYSTEM\CurrentControlSet\Services\LanmanServer\Shares Right-click the  Shares  registry key and select  Export . Give it a file name such as  shareperms.reg . When you want to restore the permissions, double-click  shareperms.reg  to import it back into the registry. Use the  Reg    tool to backup the registry key from ...