Oops_my_bad Posted January 3, 2009 Posted January 3, 2009 Hi All, After having moved all our home drives onto a new server I now need to set the owners, as we use quotas. NTFS permissions have been preserved it's just the owner. I have found the following code to run in a batch file: for /d %%i in (*) do subinacl /errorlog=subinacl.err /subdirectories %%i\*.* /setowner=DOMAIN\%%i Home directories have the same name as the username However it is not actually setting anything - subinacl shows 0 for processed and no errors :/ Am I missing something? I've also tried setowner without the domain just in case. Thanks
Ric_ Posted January 3, 2009 Posted January 3, 2009 The wiki is your friend Reset the file permissions on homedrives 3
mthomas08 Posted March 31, 2010 Posted March 31, 2010 I think I am not having much luck with this thing.. I got the script running fine, I had to click okay several times per home area.. im guessing down to windows security All it does is set the domain admin and nothing more - folders are named as usernames as well.
User3204 Posted March 31, 2010 Posted March 31, 2010 I'm gonna ask the obvious question... Did you change the bit that says "BAINS" into whatever your domain is called ?
glennda Posted March 31, 2010 Posted March 31, 2010 can you not just change the path in ad on bulk and then it should give every1 the correct permissions anyway. I have a script on the machine at work if you pm tomorrow i will send it across
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now