backup and restore Windows DACLs
To backup:
icacls “D:\test-directory” /save “C:\temp\ntfs-backup.txt” /t /c
To restore previous backup:
icacls D:/ /restore C:\temp\ntfs-backup.txt
The command also works for the network path.
Written by Mauro Barincelli
Related protips
Have a fresh tip? Share with Coderwall community!
Post
Post a tip
Best
#Backup
Authors
Sponsored by #native_company# — Learn More
#native_title#
#native_desc#