Help with Active Directory

Last post 06-25-2009 3:30 PM by FileFoundException. 3 replies.

Sort Posts:

  • Help with Active Directory

    06-24-2009, 6:29 PM
    • Member
      77 point Member
    • QWERTYtech
    • Member since 06-17-2007, 2:32 AM
    • Wichita Falls, TX
    • Posts 362

    I have recently booted up my Server 2008 test machine and decided to learn about Active Directory.  Upon doing so I got active directory installed and setup with no problems.  I have joined one of my local machines to the domain and have my account on it also.  But there are a few problems I'm having.


    1. I want to write a script to map 3 drives for users.  I need it to map a M & S drive.  One for music and the other for share.
    2. I want my users "Profile" items store on the server and mapped upon logon.  Example:  C:\Documents and Settings\User contents saved housed on my server and mapped upon logon.

    I hope someone could help me with this.

    Thanks in advance.

    QWERTYtech
    QWERTYtech
  • Re: Help with Active Directory

    06-25-2009, 3:00 AM

    You want to set-up the Logon script for your users. There are two ways as 

    http://www.petri.co.il/setting-up-logon-script-through-active-directory-users-computers-windows-server-2008.htm

    http://www.petri.co.il/setting-up-logon-script-through-gpo-windows-server-2008.htm [Group policy]

    I've used the first one but the second one seems more flexible

    in your logon script, use the NET USE command to mount shared folders something like

    NET USE M: \\fileservername\music_folder

    obviously you want to make sure that your users have access to this folder [use groups to manage folders security, instead of assigning to individual users]

    your script can add more logic for example to check if the shared folder has been mounted and so on.


    hope this helps.


    There are two ways to write error-free programs; only the third one works. ["Epigrams in Programming", by Alan J. Perlis]
  • Re: Help with Active Directory

    06-25-2009, 10:29 AM
    • Member
      77 point Member
    • QWERTYtech
    • Member since 06-17-2007, 2:32 AM
    • Wichita Falls, TX
    • Posts 362

    Okay,

      I setup a script called General.vbs and put the following code in it:

       NET USE M: \\SERVERNAME\Music

       NET USE S: \\SERVERNAME\Share


    How do I setup my users HOME directory?

    QWERTYtech
    QWERTYtech
  • Re: Help with Active Directory

    06-25-2009, 3:30 PM

    Under your Active Directory user's properties dialog box and in the Profile tab, there is a Home Folder, check connect , specify a drive letter and shared folder to mount on that drive letter. I am sure if you google/bing you'll find some good tutorials on this.

    One more thing, not sure but I think your logon script has to have .bat extension.

    There are two ways to write error-free programs; only the third one works. ["Epigrams in Programming", by Alan J. Perlis]
Page 1 of 1 (4 items)