For anyone looking for a good script to map User Home directories and other specific drives and installs Printers via the user's group membership here's a script from Microsoft and few other places. I had issues with the orginal M$ script but finally got it working. Here is the final script in a nutshell:
============================
' VB Script Document
'Maps the user's home drive and matches their login name to their home folder
Dim WshNetwork
Set WshNetwork = WScript.CreateObject("WScript.Network")
on error resume next
'WShNetwork.RemoveNetworkDrive "H:", True, True
WshNetwork.MapNetworkDrive "H:","\\Server\drive\" & WshNetwork.UserName
'These next three lines map the CityShare
on error resume next
'WShNetwork.RemoveNetworkDrive "U:", True, True
WshNetwork.MapNetworkDrive "U:","\\Server\drive\City_Share"
On Error Resume Next
Set objSysInfo = CreateObject("ADSystemInfo")
Set objNetwork = CreateObject("Wscript.Network")
'These next lines map the Central Services Aficio Copiers
objNetwork.AddWindowsPrinterConnection "\\Server\CMO Aficio 2060", "CMO Aficio 2060"
objNetwork.AddWindowsPrinterConnection "\\Server\CMO Aficio 2232C", "CMO Aficio 2232C"
objNetwork.AddWindowsPrinterConnection "\\Server\Purchasing Aficio 2060", "Purchasing Aficio 2060"
objNetwork.AddWindowsPrinterConnection "\\Server\Purchasing Aficio 2232C", "Purchasing Aficio 2232C"
strUserPath = "LDAP://" & objSysInfo.UserName
Set objUser = GetObject(strUserPath)
For Each strGroup in objUser.MemberOf
strGroupPath = "LDAP://" & strGroup
Set objGroup = GetObject(strGroupPath)
strGroupName = objGroup.CN
' This is for the City_Database Drive, reads the first seven characters of the database groups and adds the x drive, thanks to PHV.
If Left(strGroupName, 7) = "COO_DB_" Then
objNetwork.MapNetworkDrive "X:", "\\Server\drive\City_Databases"
End If
Select Case strGroupName
' These are for the Department's Main S: Drive Share
Case "COO_AP_Airport"
objNetwork.MapNetworkDrive "S:", "\\Server\Drive\Airport"
objNetwork.AddWindowsPrinterConnection "\\Server\Airport HP LaserJet 4000", "Airport HP LaserJet 4000"
Case "COO_Auditor"
objNetwork.MapNetworkDrive "S:", "\\Server\Drive\Auditor"
Case "COO_BLD_Building"
objNetwork.MapNetworkDrive "S:", "\\Server\Drive\Building"
objNetwork.AddWindowsPrinterConnection "\\Server\Building Inspectors LaserJet 2200", "Building Inspectors LaserJet 2200"
objNetwork.AddWindowsPrinterConnection "\\Server\Building LaserJet 4500", "Building LaserJet 4500"
objNetwork.AddWindowsPrinterConnection "\\Server\Zoning Code Enforcement 2500C", "Zoning Code Enforcement 2500C"
objNetwork.AddWindowsPrinterConnection "\\Server\Zoning LaserJet 4200", "Zoning LaserJet 4200"
' These are for the Department's Secondary T: Drive Share
Case "COO_AP_Administration"
objNetwork.MapNetworkDrive "T:", "\\Server\Drive\Airport\COO_AP_Administration"
Case "Department Group Name"
objNetwork.MapNetworkDrive "T:", "\\Server\Drive\Department_Share"
' Extra Drive letter code.
' Case "COO_XX_XXXXX"
'objNetwork.MapNetworkDrive "T:", "\\server\Drive\XXXXXXXX"
End Select
Next
=================================
Let me know if you find any errors that need correcting or any suggestions since I'm not the best programmer ...

)
Sincerely,
Tommy