Results 1 to 6 of 6

Thread: [resolved] Win2003 : Active Directory : User directories

  1. #1

    Thread Starter
    PowerPoster
    Join Date
    Jul 2002
    Location
    Dublin, Ireland
    Posts
    2,148

    [resolved] Win2003 : Active Directory : User directories

    How do I create user directories on a Win2003 server which uses Active Directory?

    i.e.
    On the server we have
    C:\Users\Duncan
    C:\Users\Christina etc.

    and when a user logs on to the server that directory appears on their local machine as, for example, the H:\ drive?
    Last edited by Merrion; Jan 27th, 2004 at 04:56 AM.

  2. #2
    Frenzied Member Ideas Man's Avatar
    Join Date
    Aug 2002
    Location
    Australia
    Posts
    1,718
    Can you explain it a little more?

    If you are trying to move the Documents and Settings folder on the local machine to the H:\ drive, get the powertoys for Windows XP, there's a setting in there for it I think.
    I use Microsoft Visual Basic 2005. (Therefore, most code samples I provide will be based around the .NET Framework v2.0, unless otherwise specified)

  3. #3

    Thread Starter
    PowerPoster
    Join Date
    Jul 2002
    Location
    Dublin, Ireland
    Posts
    2,148
    I have a server set up for Win2003 small business edition
    I have installed Active Directory on this and made it the domain server.
    I have added a number of users and added the three laptops (wifi connections) to that domain and added 5 users which can use any of those laptops.
    What I want to happen is that no matter which laptop the user "Duncan" logs into a share is added to \\server\users\Duncan and mapped as the H:\ drive...

  4. #4
    Frenzied Member Ideas Man's Avatar
    Join Date
    Aug 2002
    Location
    Australia
    Posts
    1,718
    Ah, ok, that's easy to do.

    1. Download the batch file attached. Remove the .zip part to the filename. Place it in the share \\servername\SYSVOL\domainname\scripts share on your domain controller.
    2. Open Active Directory and the OU with the users and create a new policy, call it something like Map H:.
    3. Open User Configuration -> Windows Settings -> Scripts (Logon/Logoff) -> Logon.
    4. Click Add.
    5. In the path, type in the path where the script is stored as a share name and then include the file ie \\servername\SYSVOL\domainname\scripts\Map H Drive.bat
    6. Click OK, OK.

    Logon as one of the users in the OU and it should now map a H: drive to the share.
    Attached Files Attached Files
    I use Microsoft Visual Basic 2005. (Therefore, most code samples I provide will be based around the .NET Framework v2.0, unless otherwise specified)

  5. #5

    Thread Starter
    PowerPoster
    Join Date
    Jul 2002
    Location
    Dublin, Ireland
    Posts
    2,148

    [Resolved] Win2003 : Active Directory : User directories

    Resolved thanks
    net use H: \\Server\users\%username%
    added to the script..

  6. #6
    Frenzied Member Ideas Man's Avatar
    Join Date
    Aug 2002
    Location
    Australia
    Posts
    1,718
    No problem.

    Also, it might be better to but the resolved bit on the first post where it's visible from the thread list.
    I use Microsoft Visual Basic 2005. (Therefore, most code samples I provide will be based around the .NET Framework v2.0, unless otherwise specified)

Posting Permissions

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



Click Here to Expand Forum to Full Width