Link to home
Start Free TrialLog in
Avatar of edgeit
edgeit

asked on

Making Home Folders as part of a domain for individual users login names.

Hi All, I have been recently creating user accounts for a primary School and although I have now created unique login details or all children in the School I have not setup their Home folders on the server. I have added the the profile paths but I have been warned the path has been created but the home directory must be created manually with the correct permissions. This in the past has not been too much of an issue as I have been able to do exactly what it asks manually for the relatively small amounts of new users I have created.

The down side is I  have created 250+ new user accounts and all have a unique char & num based login username. I would like to create an automated batch file that will create a folder (with the same name as the users login) in the students users area on the server with full permissions for everyone. I just don't know how to automate the creation of the folder using the domain login username without doing it manualy.

I have an excel file, CSV or TSV that can be imported for each class that has their username in a columb

Any help would be appreciated

Regards

James
Avatar of ieden
ieden

I would suggest My Document folder redirection. When enabled, the username directory is automatically created as the policy is deployed. Then you can use the path created \\server\share\%USERNAME% as the home directory.
SOLUTION
Avatar of Ken Conradie
Ken Conradie
Flag of United States of America image

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
ASKER CERTIFIED SOLUTION
Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
Acbrown, very nice solution. I'm going to have to take a look at that as well. :)