annakin108 Posted June 22, 2005 Posted June 22, 2005 I am writing a login script for a large amount of users. The script is mapping drives and installing printers based on group membership. I have found two ways to make this happen and would like some thoughts on which is the preferred way. Or even better... is anyone else using this ... thanks in advance!If I am not clear enough please let me know and i will answer any questions....Here is one exemple using for loops... "it works great"'maps drivesFor Each GroupObj In UserObj.Groups Select Case GroupObj.Name 'Check for group memberships and take needed action Case "IStest" WSHNetwork.MapNetworkDrive "R:", "\\servername\share" End SelectNextexample # 2If InStr(strGroups, istest) Then WSHNetwork.MapNetworkDrive "R:", "\\servername\share"End If
annakin108 Posted June 27, 2005 Author Posted June 27, 2005 No one has any comments? Hmmm... Any help would be nice.Before we implement DFS in 2003 I have to convert all nt40 login scripts. We are going from "many" domains to One AD domain. The logon script is being applied via GPO and is running fine... it is just that I see it getting very large....Is there any opinions or another approach that anyone has ?thanks....
Recommended Posts
Please sign in to comment
You will be able to leave a comment after signing in
Sign In Now