+ Post New Thread
Results 1 to 5 of 5
How do you do....it? Thread, Home Directory Creation - how ?? in Technical; I have just imported 200+ students and need to set them up with homedirectories. I have a csv file with ...
  1. #1
    pooley's Avatar
    Join Date
    Sep 2005
    Location
    S Wales
    Posts
    1,141
    Thank Post
    80
    Thanked 120 Times in 101 Posts
    Rep Power
    67

    Home Directory Creation - how ??

    I have just imported 200+ students and need to set them up with homedirectories.


    I have a csv file with usernames etc and need a script to create the home folders and set permissions on them, if its possible.

    I have seen a fe pieces of software I could buy but thought I'd ask here 1st for a free option.

    Cheers

    Si

  2. #2

    maniac's Avatar
    Join Date
    Feb 2007
    Location
    Kent
    Posts
    3,068
    Thank Post
    210
    Thanked 430 Times in 310 Posts
    Rep Power
    144

    Re: Home Directory Creation - how ??

    It depends how your home folders are setup. For my user home folders I have one main share (\\server\student data$) and each users home folder is a sub directory of this. (i.e \\server\student data$\year\studentname)
    Folder security prevents users from browsing the root of the share and accessing other students work. When you have it set up like this, active directory can be used to create all the home folders by doing the following;

    1. Highlight them all in Active Directory
    2. RH click, and open properties
    3. Click the profile tab
    4. Tick the home folder box, select the 'connect' option and choose the drive letter you want to use
    5. Type the following in the box. '\\SERVERNAME\SHARENAME\%username%'

    This will create a folder for each user named as their username within the share \\SERVERNAME\SHARENAME\ and set the security on the folder and properties for each user acordingly. I'm not sure if older versions of active directory allow you to modify multiple objects, i'm running Server 2003 SP1 which lets you do this. It works for me, 200 folders created in an instant!

    Hope that helps,

    Mike.

  3. #3

    Ric_'s Avatar
    Join Date
    Jun 2005
    Location
    London
    Posts
    7,600
    Thank Post
    109
    Thanked 769 Times in 598 Posts
    Rep Power
    181

    Re: Home Directory Creation - how ??

    @maniac: I concurr

  4. #4
    apeo's Avatar
    Join Date
    Sep 2005
    Location
    Lost
    Posts
    1,612
    Thank Post
    95
    Thanked 115 Times in 111 Posts
    Rep Power
    42

    Re: Home Directory Creation - how ??

    Looks like maniac's solution should work for you but if you still need a script to do it, let me know what your directory structure is and ill fiddle with my script to match what you need (when i get a spare moment). My script is taylored for our network and is used to for the whole process (i.e. create user, home dir and share) so i will need to rip elements out to get it to work for you.

  5. #5
    pooley's Avatar
    Join Date
    Sep 2005
    Location
    S Wales
    Posts
    1,141
    Thank Post
    80
    Thanked 120 Times in 101 Posts
    Rep Power
    67

    Re: Home Directory Creation - how ??

    Doh how dull do I feel - tried this the other day and it didnt work- wrong permissions set on share.

    Thanks guys

SHARE:
+ Post New Thread

Similar Threads

  1. Active Directory - Single and Bulk User creation and FREE!!
    By siuko in forum How do you do....it?
    Replies: 39
    Last Post: 20th June 2012, 11:29 AM
  2. Blocking ALL Executables in Students Home Directory
    By markwilliamson2001 in forum Windows
    Replies: 31
    Last Post: 9th March 2010, 08:51 AM
  3. Home directory not mapping
    By Oops_my_bad in forum Windows
    Replies: 9
    Last Post: 25th October 2007, 04:34 PM
  4. Mass Home Folder Creation?
    By Blind in forum Windows
    Replies: 11
    Last Post: 1st September 2007, 08:05 PM
  5. Active Directory Creation Tool
    By dsnanra in forum Jokes/Interweb Things
    Replies: 4
    Last Post: 7th July 2007, 02:25 AM

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •