multiple domain accounts and their settings

Posted on 2004-11-14
Last Modified: 2010-08-05
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.
Question by:hafka
    LVL 23

    Expert Comment


    You should set permissions on the folders manually.. So the script doesn't take care of permissons on the folder..

    Author Comment

    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.
    LVL 23

    Expert Comment

    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..
    LVL 11

    Accepted Solution

    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.

    Author Comment

    I tryied XCACLS, and I think it can do the job inside the script.

    Featured Post

    Live: Real-Time Solutions, Start Here

    Receive instant 1:1 support from technology experts, using our real-time conversation and whiteboard interface. Your first 5 minutes are always free.

    Join & Write a Comment

    Preface Having the need * to contact many different companies with different infrastructures * do remote maintenance in their network required us to implement a more flexible routing solution. As RAS, PPTP, L2TP and VPN Client connections are no…
    On July 14th 2015, Windows Server 2003 will become End of Support, leaving hundreds of thousands of servers around the world that still run this 12 year old operating system vulnerable and potentially out of compliance in many organisations around t…
    It is a freely distributed piece of software for such tasks as photo retouching, image composition and image authoring. It works on many operating systems, in many languages.
    Polish reports in Access so they look terrific. Take yourself to another level. Equations, Back Color, Alternate Back Color. Write easy VBA Code. Tighten space to use less pages. Launch report from a menu, considering criteria only when it is filled…

    754 members asked questions and received personalized solutions in the past 7 days.

    Join the community of 500,000 technology professionals and ask your questions.

    Join & Ask a Question

    Need Help in Real-Time?

    Connect with top rated Experts

    23 Experts available now in Live!

    Get 1:1 Help Now