Running a really simple ICACLS command after I copied a directory over to a new server with permissions intact. I need to change a SID from an old server user group to a new server user group.
Copied folder with ROBOCOPY source dest /SEC...
Got the SID of the old server user group and new server user group using PSGetSid.
icacls folder /save acl /t
icacls folder /substitute S-blahold S-blahnew /restore acl
I get an error that says: s-blahold: No mapping between account names and security IDs was done.
I've tried replacing the SID with the servername\group. I'm running as Administrator account that has admin access to old and new servers.
Source server is Windows 2003, destination is Server 2008.