Networks A little help with login scripts required

Discussion in 'Hardware' started by jetsetjimbo, 1 Oct 2004.

  1. jetsetjimbo

    jetsetjimbo Up-up and away

    Joined:
    19 Feb 2003
    Posts:
    2,935
    Likes Received:
    0
    Just in the process of setting up a domain (server 2003) having never really done it before (alone anyway) and I want to set up a login script at group policy level that'll map a drive on the client to the 'home folder' directory.

    I have looked around on this subject and am torn between vbs script and a batch file and precisely what to and what not to include. Also I seem to be having a problem with access denied (on what i've tried so far) unless the user is a member of administrator even when the folder is shared and permissioned correctly.

    It needs to pickup which user is logging on and map the drive relating to that user ID in each case.

    Any help \ pointers would be most gratefully accepted.

    Thanks

    p.s. sorry if this should be in s/ware & O/S... couldn't decide where it should go, please move if necessary.
     
  2. hardflipman

    hardflipman What's a Dremel?

    Joined:
    27 Jul 2004
    Posts:
    140
    Likes Received:
    0
    why don't you just edit the users details to set the home folder to an appropriately named share. or are you not wanting to edit every user profile?
     
  3. jetsetjimbo

    jetsetjimbo Up-up and away

    Joined:
    19 Feb 2003
    Posts:
    2,935
    Likes Received:
    0
    But that dosen't actualy map the drive on login.
     
  4. hardflipman

    hardflipman What's a Dremel?

    Joined:
    27 Jul 2004
    Posts:
    140
    Likes Received:
    0
    it certainly should do. can't remember what the screen looks like in 2003 but in nt4 server you can choose the drive letter and name of the share. also an option for the profile location. again not sure about 2003 but in nt havin ght eprofile location different from your home folder means that your my documents etc is not in the same place as your home folder
     
  5. jetsetjimbo

    jetsetjimbo Up-up and away

    Joined:
    19 Feb 2003
    Posts:
    2,935
    Likes Received:
    0
    Have just been talking to the guys at work and that is indeed the way the homw folders are set here too, for the 6000 + users.

    It just dosen't seem to want to map at home when I try it... back to the drawing board. Could be a permissions issue i guess.
     
  6. hardflipman

    hardflipman What's a Dremel?

    Joined:
    27 Jul 2004
    Posts:
    140
    Likes Received:
    0
    are you definitely logging onto the domain? nd not the local machine...
     
  7. jetsetjimbo

    jetsetjimbo Up-up and away

    Joined:
    19 Feb 2003
    Posts:
    2,935
    Likes Received:
    0
    Definately. I shall reinstall the PDC over the weekend as it dosen't seem right.

    Cheers dude! I'll probably be back....
     
  8. coorz

    coorz Miffed

    Joined:
    25 Apr 2003
    Posts:
    1,382
    Likes Received:
    2
    Put this line in the login script(for example login.bat)
    net use x: /home
    Ofcourse put the login.bat in the right place (SYSVOL)

    Create the users home share and set permissions accordingly.
    Then in the users profile setting:
    connect x: to <pathname> for example \\servername\<user's home share>

    Should do, well at least in W2K....
     
  9. play_boy_2000

    play_boy_2000 It was funny when I was 12

    Joined:
    25 Mar 2004
    Posts:
    1,540
    Likes Received:
    87
    windows 2003 should allow you to do that all without logon scripts, just make a group, add all the people required and then set the home diretory. I forget the exact steps, but its in the user options somewhere, ive done it before.
     
Tags:

Share This Page