Apply a home directory to an entire group?

Discussion in 'Windows Server Systems' started by illmaticone, Sep 18, 2006.

  1. illmaticone

    illmaticone OSNN Junior Addict

    Messages:
    45
    i have a group with about 1000 users, when they were generated they werent assigned a home directory,

    my goal is to assign them a home directory (using the %username% variable of course) to the entire group.

    thanks for your time!
     
  2. madmatt

    madmatt Bow Down to the King Political User

    Messages:
    13,312
    Location:
    New York
    If you highlight all the users you want, then right click and choose properties, you will be able to fill in certain fields using variables.

    i.e. \\server\%username%$
     
  3. Electronic Punk

    Electronic Punk Administrator Staff Member Political User Folding Team

    Messages:
    18,590
    Location:
    Copenhagen, Denmark
    well would recommend a share in there or do you not use that matt?

    \\server\<shareaname\%username%

    wouldn't you need to create a new share for each new user?
     
  4. madmatt

    madmatt Bow Down to the King Political User

    Messages:
    13,312
    Location:
    New York
    What I normally do is create a shared directory for each user under another directory.

    E.g.
    D:\Home Directories\matt$
    D:\Home Directories\punk$

    The directory 'matt' is shared out, privately. The same goes for 'punk'.

    Then, I use '\\server\%username%$'.
     
  5. Electronic Punk

    Electronic Punk Administrator Staff Member Political User Folding Team

    Messages:
    18,590
    Location:
    Copenhagen, Denmark
    But if you created it my way with the permission on the folder being shared as creator/owner full control on anything created and modify for your users on that shared folder only it should autocreate those folders with teh correct permissions.

    Just curious as that is how I do it, let it do it itself, was just making sure I hadn't missed something.
     
  6. madmatt

    madmatt Bow Down to the King Political User

    Messages:
    13,312
    Location:
    New York
    Honestly, that makes sense but I have never done it that way. I will give it a try on my next project because it would be easier.
     
  7. kcnychief

    kcnychief █▄█ ▀█▄ █ Political User Folding Team

    Messages:
    16,948
    Location:
    Massachusetts
    Interesting approach indeed EP, I have always done it manually

    Hooray for automation!
     
  8. illmaticone

    illmaticone OSNN Junior Addict

    Messages:
    45
    thanks for the quick responses!! in my case the folders are already generated and polices are set, just the home directory was not configured for all.

    thanks this worked just as i expected!

    Electronic Punk - glad to see your still around, (i remember u since xperience.org)