windows: backing up and restoring NTFS permissions

backing up:
icacls <directory path> /save ntfsperms.txt /t /c

restoring:
icacls <drive letter> /restore ntfsperms.txt

when a attaching a drive with existing NTFS permissions to a new system the NTFS permissions will be retained. share permissions, however, will not be. share permissions can be exported and imported (details in the source link)…but i don’t find it problematic to simply recreate the share permissions…they are usually much less involved than NTFS permissions.

i have also discovered that FSRM quota data is stored on the volume. when attaching an existing drive to a new system the quota values will be retained. however, the template names will be lost unless exported. backing up/restoring FSRM info here: http://technet.microsoft.com/en-us/library/cc771319%28v=ws.10%29.aspx

source:
http://blogs.technet.com/b/askds/archive/2008/11/24/how-to-back-up-and-restore-ntfs-and-share-permissions.aspx

This entry was written by resinblade , posted on Wednesday December 10 2014at 06:12 pm , filed under IT . Bookmark the permalink . Post a comment below or leave a trackback: Trackback URL.

Comments are closed.