Tom's Guide | Tom's Hardware | Tom's Games
![]() |
![]() |
![]() |
Hi
I'm fairly new to windows server 2003.
I'm having a problem with the login script.
The script is just to map drives. So when users login, it should auto map the drive for them but its not.I also set a policy to redirect the mydocuments of all users to a folder on the server, and that's not working either.
Any ideas what's going on? All the computers on the network are WinXP.

Can you show us the script you are trying to use? Also if you just created your scripts will have to wait a while for the clients computers to update (20min?).
On my server I have created several Security group objects. I then assigned the users to be members of the proper group. Below is part of my script:
On Error Resume Next
Set objSysInfo = CreateObject("ADSystemInfo")
Set objNetwork = CreateObject("Wscript.Network")strUserPath = "LDAP://" & objSysInfo.UserName
Set objUser = GetObject(strUserPath)For Each strGroup in objUser.MemberOf
strGroupPath = "LDAP://" & strGroup
Set objGroup = GetObject(strGroupPath)
strGroupName = objGroup.CNSelect Case strGroupName
Case "drv.assy"
objNetwork.MapNetworkDrive "h:", "\\data-1\files\assembly"Case "drv.bacon"
objNetwork.MapNetworkDrive "n:", "\\email\bacon"End Select
Next

![]() |
![]() |
![]() |

This post is quite old and has been locked from receiving new replies. Please create a new posting instead.
| Ads by Google |