create new user folder upon creating new user ad user/computers

Posted on 2006-04-18
Last Modified: 2010-04-18
when i create a new user in active directory users and computer i would like automatically

1.  have a new user folder created
 - location - d:\data\timecards
 - format - LastName, space FirstName for example Bowie, David

2.  the security
 - Administrators-  full control
 - David Bowie-  modify, read/execute, list folder contents, read, write
 - Admin1 - modify, read/execute, list folder contents, read, write

Also, is there a way to modiy permissions security for many folders at  one time? The above solution would help when we add new users but we have 30 existing users that I would like to automatically change their security withouth going to each individual folder and changing. for example below.

they are all in the same folder d:\data\timecards
so  only Administrator, Admin 1 and David Bowie can add files to Bowie, David
and only Administrator, Admin 1 and Steve Smith can add files to Smith, Steve
and only Administrator, Admin 1 and Sharon Stone can add files to Stone, Sharon
and you get the idea.


Question by:sfejc411
    1 Comment
    LVL 51

    Accepted Solution

    You cannot do this using the builtin interface, but you can script it.

    XCACLS.exe is the tool for bulk permission changes, but only one entity can be modified over multiple folders.

    You'll need to use VBScript and run it after creating the user.  You should post a 20pt Q here:

    and link to this Question.

    Someone that is strong in scripting can assist.


    Write Comment

    Please enter a first name

    Please enter a last name

    We will never share this with anyone.

    Featured Post

    Looking for New Ways to Advertise?

    Engage with tech pros in our community with native advertising, as a Vendor Expert, and more.

    So you have two Windows Servers and you have a directory/folder/files on one that you'd like to mirror to the other?  You don't really want to deal with DFS or a 3rd party solution like Doubletake. You can use Robocopy from the Windows Server 200…
    The HP utility "HP Lights-Out Online Configuration Utility for Windows Server 2003/2008" could be of great use when it comes to remotely configure a HP servers ILO WITHOUT rebooting the server. We would only need to create and run scripts using thi…
    Hi everyone! This is Experts Exchange customer support.  This quick video will show you how to change your primary email address.  If you have any questions, then please Write a Comment below!
    In this sixth video of the Xpdf series, we discuss and demonstrate the PDFtoPNG utility, which converts a multi-page PDF file to separate color, grayscale, or monochrome PNG files, creating one PNG file for each page in the PDF. It does this via a c…

    759 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

    11 Experts available now in Live!

    Get 1:1 Help Now