Backup Windows ACLs
I was reading through SP2 feature list, and I noticed a command called icacls. I had used cacls to set permissions before, and secedit to restore the default windows permissions. But this tool lets you back up any set of ACLs on a computer, and back it up, and restore it later or to a different machine. (sid must match)
So lets say you want to back up permissions on d:\fileroot to a file named saveAcls
icacls d:\fileroot\* /save saveAcls /T
and to restore those ACLs on the new server
icacls n:\fileroot\ /restore saveAcls
Nice tool, it also exists in Vista, although i don't know when microsoft added this to Windows Server.

0 Comments:
Post a Comment
Links to this post:
Create a Link
<< Home