I am aware of your aspirations and so sat on my hands until now but had to defend SubInAcl as you seemed to have the misconception it cannot give ownership to any user.
I am less a purist and more results (with the least effort) oriented. SubInAcl worked fine for me. In fact, I didn't even wrap it in a KiX script. I did a DIR /B >DIRLIST.TXT and then brought in into Excel. There, the line was all that was needed:
Quote:
=CONCATENATE("subinacl /subdirectories \\server\home$\users\",A1,"\ /setowner=domain\",A1," >>Results.txt")
Copy the formula to all the cells and then copy the output to a DOS box, and Bob's your uncle. We do our whole AD migration the same way. 3000 users done and 3000 more to go!
_________________________
Give a man a fish and he will be back for more. Slap him with a fish and he will go away forever.