Question : NTFS Permissions *Bulk Change*

So I'm in the process of building a new File Server.  I have used the Microsoft FSMT (File Server Migration Tool) to copy all the shares/data from the old file server to the new one in a new domain.  The new domain and old domain have trusts setup already.  I have also created all the user accounts from the old domain over to the new domain.  My question is how can I easily add the NTFS permissions for the new domain accounts to the new file server.

Example right now I have shares on the new file server giving ([email protected]) access to the files.  I need a script/program to traverse through all the sub folders/files and see that [email protected] has access to the folder/file and add [email protected] with the matching NTFS permissions.

Answer : NTFS Permissions *Bulk Change*

Take a look on subinacl.exe that is part of resource kit

Replace a single user:
subinacl.exe /subdirectories c:\path\to\folder /replace=olddomain\olduser=newdomain\newuser

Replace domain:
subinacl.exe /subdirectories c:\path\to\folder /changedomain=olddomain=newdomain

changedomain action can be used with a mapping file if you only want to affect specific users. The trailing "=both" is used if it shall both first check for a match in the mapping file and also use the replace of having same username in old and new domain.

subinacl.exe /subdirectories c:\path\to\folder /changedomain=olddomain=newdomain=mappingfile=both

subinacl.exe is downloadable from MS:
http://www.microsoft.com/downloads/details.aspx?FamilyID=E8BA3E56-D8FE-4A91-93CF-ED6985E3927B&displaylang=en
Random Solutions  
 
programming4us programming4us