Jump to content

Recommended Posts

Posted

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 drives

For 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 Select

Next

example # 2

If InStr(strGroups, istest) Then

WSHNetwork.MapNetworkDrive "R:", "\\servername\share"

End If


Posted

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....

Please sign in to comment

You will be able to leave a comment after signing in



Sign In Now
  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...