NTFS rights for auto creating home directory
When a user logs on into a new environment, whether or not managed by RES PowerFuse, it’s always good to have a backup script in place for setting up the missing home drive. For instance my file share for hosting the home directories is \FILESERVER\USERS$. There everyone has a folder equal to his Username. So my home directory would be \FILESERVER\USERS$\Jeroen
But. When the folder Jeroen doesn’t exist I want to auto create it by an ‘External Task’ (RES PowerFuse) or login script.
To do this, add the following line in the loginscript.
Or create an External Task (before running any other task, runonce, no time-out, wait before continue), in RES PowerFuse with that line.
Now the tricky part. Because that script is run with the users his credentials, the NTFS rights on the share must be pretty damn good . Otherwise, other users can access folders from other users.
|Administrators (Or Domain Admins)||Full Control||This folder, subfolders and files|
|Authenticated Users||Traverse Folder, List Folder, Read Attribute, Create Folder, Read Permissions||This folder only|
|CREATOR OWNER||Modify||Subfolders and files only|
|SYSTEM||Full Control||This folder, subfolders and files|