How to Back Up and Restore NTFS and Share Permissions

Argomenti vari di carattere sistemistico
Post Reply
daniele
Posts: 333
Joined: 04 Mar 2009, 13:59

How to Back Up and Restore NTFS and Share Permissions

Post 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.
Post Reply