Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations gkittelson on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

logon script to map network printers based on users office.

Status
Not open for further replies.

kb0ogt

IS-IT--Management
Jul 20, 2001
102
US
i need a bit of help in adding to our logon script to add a users network printer. the catch is that i have about 50 different offices and each office has 2-3 printers. I can not allow a office in Cali to see or even print to a printer in Florida.

i have no idea how to do this.

any help will be greatly appreciated.
 
Deploy printers using the printer deployment tools in 2003 R2. Tie a GPO to deploy the printer to an AD group, and allow only that AD group the right to print to it.

Pat Richard MVP
Plan for performance, and capacity takes care of itself. Plan for capacity, and suffer poor performance.
 
Do you have roaming users that need a different printer depending on which office they happen to be on a given day? Do you have a DC in each office? If so, you could look at the LOGONSERVER environment variable to see what they authenticated against and assign printers based on that.

Jeff
[small][purple]It's never too early to begin preparing for [/purple]International Talk Like a Pirate Day
"The software I buy sucks, The software I write sucks. It's time to give up and have a beer..." - Me[/small]
 
New Post58sniper (MIS)
12 May 10 21:50
Deploy printers using the printer deployment tools in 2003 R2. Tie a GPO to deploy the printer to an AD group, and allow only that AD group the right to print to it.

i have been playing around with this since you posted. it seems like the most logical path for our environment. I can not get it to work. i assigned a test user to the AD group but the printer does not show up.
 
i am trying to get this working so i can deploy wyse thin clients out to our field offices so users can access published apps on our xen farm. this printing issue is the last thing holding me back from actually deploying them.
 
try this for one of your containers. i found this way pretty easy.

Dim net
Set net = CreateObject("WScript.Network")
net.AddWindowsPrinterConnection "\\ServerName\PrinterName"
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top