I am new to scripting and see the boundless opportunities. I admin about
100 pcs for a small private school and looking for a way to create printers
based on AD security groups. The script will run within their logon script.

Situation:
The users DO NOT have admin priviledges on the pcs. We have 5 network
printers that are different make and models. They are connected directly to
the network and we access with an ip address. Different users share the
same pc. Also I want to keep from having to touch each pc if possible.

Here are my questions:
1) Will I be required to go to each pc and install the drivers for the
printers that pc will use?

2) Will only the printers that are created and mapped with the script show
up in the printers folders?

3) Can a user w/o local admin rights run the script to install the printer.

4) Should I share the printers off the server rather than printing directly
to them over the network?

5) If printers are accessed as a share can varibles be used so that if the
share moves to another server only the varible needs to be changed (thinking
about varibles in a batch file)?


Here is my logon batch file

@echo off
net use * /delete /y
net use u: \\server\users\%username%
cscript %logonserver%\netlogon\logon.vbs


This is my logon.vbs script. I map drives based on groups

On Error Resume Next
Set objSysInfo = CreateObject("ADSystemInfo")
Set objNetwork = CreateObject("Wscript.Network")

strUserPath = "LDAP://" & objSysInfo.UserName
Set objUser = GetObject(strUserPath)

For Each strGroup in objUser.MemberOf
strGroupPath = "LDAP://" & strGroup
Set objGroup = GetObject(strGroupPath)
strGroupName = objGroup.CN

Select Case strGroupName
Case "group 1"
objNetwork.MapNetworkDrive "F:", "\\server\share1$"

Case "group 2"
objNetwork.MapNetworkDrive "G:", "\\server\share2"

End Select

Next