Page 1 of 1

How to Back Up and Restore NTFS and Share Permissions

Posted: 15 Nov 2017, 12:45
by daniele
ORIGINAL ARTICLE: https://blogs.technet.microsoft.com/ask ... rmissions/

ALL RIGHTS RESERVED TO THE AUTHOR(S) / OWNERS(S) OF THE ORIGINAL ARTICLE(S)

ESTRATTO:

Backup and Restore of NTFS Permissions


Use this command to backup NTFS permissions:

Code: Select all

icacls d:data /save ntfsperms.txt /t /c

Use this command to restore them:

Code: Select all

icacls d: /restore ntfsperms.txt
Note that in the command to save the permissions, I specified the target folder D:Data, but when I restored them, I specified just D: as the target. Icacls is a little funky like that, and here’s why.