I would like to script or elsewise automate the setting of NTFS permissions on users home directories.
My setup is consisting of 1 000 users, all with their home directories on a common root;
Users A to E
Users E to K
Users K to Z
The solution would preferably be a script that runs of the Root, searching through all subfolders, and assigning the rights, plus ownership of the subfolders, to the various users.
The users home directories are identical to the usernames of the users.