I have a simular problem that is shown in the following question:
I downloaded and installed the SUBINACL , I then copied and modified Shift-3's script and named it ownership.bat. Below is that script...
REM The directory containing the home folders.
REM Your domain name
for /F "usebackq tokens=*" %%G in (`dir "%homeroot%" /A:D /B`) do (
subinacl /file "%homeroot%\%%G" /setowner="%dom%\%%G"
I then went to the Start>Program files>Windows Resource Kits tols>Command Shell and ran ownership.bat and got the results below.
I had orginally run Shift-3's 1st script in that answer, but got the same results as indicated below....
Elapsed Time: 00 00:00:00
Done: 0, Modified 0, Failed 0, Syntax errors 0
The Home folders for the users is located on a SAN so not sure if NTFS Permissions need to be set and not sure how to do this sort of thing either.
Any help on this would be apperciated.
edit One more thinkg worth adding, I was using xcacls to give users permissions to their home and profile directories. I also had a version of this that set up ownership but it seems to not work so was looking for alternate solutions.