8 replies
by dhegner Accepted solution
by faradhi Accepted solution
A login script is just that, a script that is launched at login.
Usually this is a command shell script (DOS batch file), vb script or J script. However, I believe that it can be any scripting language as long as the client has the interpreter.
Of course, I may be just misunderstanding the question. Which probably means it is in plain english and since I live in the south (US) I do not speak english.
by dhegner Accepted solution
by faradhi Accepted solution
However, I do not think that will help you with the task to map drives according to group membership. I can think of two ways.
One, write a batch file that used the net use command. Create a group policy object to apply the script. Assign the group to have the mapped drive to the group policy object.
Two, create a vbscript, jscript or perl script that determines the if the user is a member of a group and map the drive.
I would use the second option. I am sure that there are other ways as well.
by countymat Accepted solution
by dhegner Accepted solution
by computerguyinmi Accepted solution
Set ObjGroupDict = CreateMemberOfObject(strUserDomain, strUserName)
If MemberOf(ObjGroupDict, "Domain Users") Then
WSHNetwork.MapNetworkDrive "P:", "\\dtlmain\" & strUserName & "$"
WSHNetwork.MapNetworkDrive "R:", "\\CLDTL1\Centerline"
WSHNetwork.MapNetworkDrive "S:", "\\dtlmain\shared$"
End If
by lsp Accepted solution
This discussion is closed to new replies.
Trending Networks posts
Sort by Trending