bsohn417
asked on
Group Policy Login Script to Map Drive for Users in Multiple OUs
The environment I am currently working on maps drives via group policy. All users in each OU have their own login script. I need to map a drive for users in multiple OUs.
1) What would you recommend be the best approach to a situation like this?
2) Is filtering the login script GPO based on group membership the way to go?
3) If so, how would this affect the performance of group policy processing?
1) What would you recommend be the best approach to a situation like this?
2) Is filtering the login script GPO based on group membership the way to go?
3) If so, how would this affect the performance of group policy processing?
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
ASKER
On Error Resume Next
' *** Drive Map Letters and Paths ***
strDriveLetter1 = "N:"
strDrivePath1 = "\\Nas01\Network Applications"
strDriveLetter2 = "L:"
strDrivePath2 = "\\Nas01\Staff Data\Justice Action Center"
strDriveLetter3 = "H:"
strDrivePath3 = "\\Nas01\Staff Data"
strDriveLetter4 = "G:"
strDrivePath4 = "\\Nas01\Student Data\Law Review"
' **************************
Set objNetwork = CreateObject("WScript.Netw
' *** Section which removes drives before mapping
objNetwork.RemoveNetworkDr
objNetwork.RemoveNetworkDr
objNetwork.RemoveNetworkDr
objNetwork.RemoveNetworkDr
' *** Section which maps drives
objNetwork.MapNetworkDrive
objNetwork.MapNetworkDrive
objNetwork.MapNetworkDrive
objNetwork.MapNetworkDrive
' *** AuditWizard Audit Scan ***
On Error Resume Next
Set fso = CreateObject("Scripting.Fi
Set f2 = fso.GetFile("c:\station.a2
f2.Delete
Set objShell = CreateObject("WScript.Shel
objShell.Run chr(34) & "\\nas01\network applications\auditwizard\n