multiple domain accounts and their settings

I have a script which creates multiple user accounts, and the script gets the user information from a csv-file.
Every user has a home-directory (Z:\) in server.
The script fills the users basic information correctly, but doesn't allow the user to acces its own home-directory.
Home directory should have permissions to user and the domain administrator.

I'm sorry but I don't have that script to show right now.
Who is Participating?
I wear a lot of hats...

"The solutions and answers provided on Experts Exchange have been extremely helpful to me over the last few years. I wear a lot of hats - Developer, Database Administrator, Help Desk, etc., so I know a lot of things but not a lot about one thing. Experts Exchange gives me answers from people who do know a lot about one thing, in a easy to use platform." -Todd S.


You should set permissions on the folders manually.. So the script doesn't take care of permissons on the folder..
hafkaAuthor Commented:
Let's imagine a situation where 500 new accounts are needed every year. For example in a school this could be possible. I just don't think they set the permissions manually for each  folder.
I'm afraid so, you will have to set them manually.. You can however make sure that the profile is created automatically, this doesn't work (yet) for home folders.. If you do this whilst creating the new user (i guess if one user a week joins, you do this manually) just add this bit into the process of creating a new user..
you can use XCACLS to automate the setting of permissions on filesystems.
just add a line to your script which is setting permissions on their home folder.

Experts Exchange Solution brought to you by

Your issues matter to us.

Facing a tech roadblock? Get the help and guidance you need from experienced professionals who care. Ask your question anytime, anywhere, with no hassle.

Start your 7-day free trial
hafkaAuthor Commented:
I tryied XCACLS, and I think it can do the job inside the script.
It's more than this solution.Get answers and train to solve all your tech problems - anytime, anywhere.Try it for free Edge Out The Competitionfor your dream job with proven skills and certifications.Get started today Stand Outas the employee with proven skills.Start learning today for free Move Your Career Forwardwith certification training in the latest technologies.Start your trial today
Windows Server 2003

From novice to tech pro — start learning today.

Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.