For script policies read this :
http://www.win2000mag.com/
Main Topics
Browse All Topics
Does anyone know how the syntax in vbscript to map a drive letter, to a share on the server (ie \\something\somethingelse$
Onnnnnnne last question - if neone knows how to apply scripts (batch files, vb etc) to a group policy under 2k server/advanced server.
If someone could help me out that'd be great as i cant find nething on the net, or any of my lecture notes :\.
This Question has been solved and asker verified All Experts Exchange premium technology solutions are available to subscription members.
Experts Exchange has been collecting answers to technology questions since 1996…3 million and counting! If you have a question, chances are we already have your answer.
If you can't find the exact answer you're looking for, ask our exclusive community of 50,000 experts. You’ll get a personalized answer from a trusted professional.
Thousands of free tech tips, tricks, how-to’s and tutorials are available in our peer reviewed articles section. See for yourself how smart our experts are, no login required.
Access the answers to your technology questions today.
30-day free trial. Register in 60 seconds.
Members of the expert community talk about why the experience at Experts Exchange is different than what you will find anywhere else.

Try it out and discover for yourself.
30-day free trial. Register in 60 seconds.
Join the community of experts here and help other tech pros by answering question in your area of expertise. You can earn FREE access to all Experts Exchange's premium features and resources.
For script policies read this :
http://www.win2000mag.com/
Here's a complete example. Depending of which group the user is in, there will be other shares. Also added the printers to the example.
Option Explicit
Dim objNetwork, objUser, CurrentUser
Dim strGroup
Const Admin_Group = "cn=oly_users_admin"
Const Managers_Group = "cn=oly_users_manager"
Const Accounting_Group = "oly_users_accounting"
Const Estimate_Group = "cn=oly_users_estimate"
Const Design_East_Group = "cn=oly_design_east"
Const Design_West_Group = "cn=oly_design_west"
Const All_Users_Group = "cn=oly_users_all"
Set objNetwork = CreateObject("WScript.Netw
' Forces script to skip errors (rem below line to see errors)
on error resume next
Dim WshNetwork
Set WshNetwork = WScript.CreateObject("WScr
' Set all drives to be removed here.
WshNetwork.RemoveNetworkDr
WshNetwork.RemoveNetworkDr
WshNetwork.RemoveNetworkDr
WshNetwork.RemoveNetworkDr
WshNetwork.RemoveNetworkDr
WshNetwork.RemoveNetworkDr
WshNetwork.RemoveNetworkDr
WshNetwork.RemoveNetworkDr
WshNetwork.RemoveNetworkDr
WshNetwork.RemoveNetworkDr
WshNetwork.RemoveNetworkDr
WshNetwork.RemoveNetworkDr
WshNetwork.RemoveNetworkDr
WshNetwork.RemoveNetworkDr
Set objUser = CreateObject("ADSystemInfo
Set CurrentUser = GetObject("LDAP://" & objUser.UserName)
strGroup = LCase(Join(CurrentUser.Mem
' SETTING ALL NETWORKDRIVES THAT ARE AVAILABLE FOR EVERY USER
objNetwork.MapNetworkDrive
objNetwork.MapNetworkDrive
objNetwork.MapNetworkDrive
objNetwork.MapNetworkDrive
objNetwork.MapNetworkDrive
' SETTING THE PRINTERS, APPARANTLY FOR EVERYONE THE SAME !
Set net = CreateObject("WScript.Netw
net.AddWindowsPrinterConne
net.AddWindowsPrinterConne
net.AddWindowsPrinterConne
net.AddWindowsPrinterConne
net.AddWindowsPrinterConne
net.AddWindowsPrinterConne
net.AddWindowsPrinterConne
net.AddWindowsPrinterConne
net.AddWindowsPrinterConne
net.AddWindowsPrinterConne
' EXTRA DRIVES FOR SPECIFIC GROUP
if InStr(strGroup, Admin_Group) or instr(strGrooup, Managars_Group) or instr(strGrooup, Estimate_Group) then
objNetwork.MapNetworkDrive
objNetwork.MapNetworkDrive
end if
if InStr(strGroup, Admin_Group) or instr(strGrooup, Managars_Group) then
objNetwork.MapNetworkDrive
end if
if instr(strGroup, Managars_Group) or instr(strGroup, Design_East_Group) or =instr(strGroup,Design_Wes
objNetwork.MapNetworkDrive
end if
if instr(strGrooup, Managars_Group)
objNetwork.MapNetworkDrive
end if
if InStr(strGroup, Admin_Group) then
objNetwork.MapNetworkDrive
objNetwork.MapNetworkDrive
objNetwork.MapNetworkDrive
objNetwork.MapNetworkDrive
end if
Business Accounts
Answer for Membership
by: aelatikPosted on 2004-05-17 at 22:29:12ID: 11095480
Mapping a network drive is as follows:
ipt.Networ k") $"
Dim WSH
Set WSH = WScript.CreateObject("WScr
WSH.MapNetworkDrive "Z:", "\\something\somethingelse
Set WSH = Nothing