Link to home
Start Free TrialLog in
Avatar of ksservices
ksservices

asked on

Using group policy to install network printers

I  have just installed a network printer at a school site that use SBS2003. They have alot of users that log into the server.
Is there a way of using group policy to make it so whichever user logs in the printer will automatically be there ready for use.
Otherwise its a pain logging in as every different user and adding the printer manually.
Avatar of NetAdmin2436
NetAdmin2436
Flag of United States of America image

This is an article from Microsoft about deploying printers via group policy.
http://technet2.microsoft.com/WindowsServer/en/library/ab8d75f8-9b35-4e3e-a344-90d7799927231033.mspx?mfr=true

Otherwise you can add a script to the loging process. In the link below is an example if you want, but above is for group policy.
https://www.experts-exchange.com/questions/21922259/remap-network-printers-using-a-batch-file.html

Hope this helps.
I should add, I believe deploying printers through group policy on 2003, it has to be SR2.
http://www.windowsnetworking.com/articles_tutorials/Deploying-Printers-Group-Policy-Windows-R2.html

Or....If you have true network printers
Setup a local TCP/IP port on each computer for each printer (if it's a true Network printer, ie the printer has an IP address). Then no matter what student logs into that particular computer, the printer(s) will be setup for them to use. Not as convienient to use, but still better than configuring printers on a per user basis through the old fashioned way by logging in as the user.
http://www.le.ac.uk/cc/dsss/docs/print-driver.shtml
Avatar of expexchuser
expexchuser

I manage all our printer setups through login scripts at the workstation level and it works like a charm.  See this article for help on developing a script:
http://www.computerperformance.co.uk/Logon/LogonScript_Printer_Method.htm

Setting it to a workstation
http://www.computerperformance.co.uk/Logon/logon_printer_computer.htm
Here, they make it sound like you can't assign it to a computer b/c if you do, it runs the script at boot before anyone logs in, thus nobody really gets assigned the printer.  I have a workaround I've been using for nearly a year and just emailed it to him.

The goal is to have a user get a printer located near the computer regardless whether they've logged in before or not.  I don't want to set printers to users b/c sometimes users change workstations (and offices) and so the printers they need 80% of the time are not the ones they need 20% of the time, and I don't necessarily want to be contacted 20% of the time for this.
 
To accomplish my goal, I simply took the script that I had intended to assign to the computers group and place it out on a network share (ie netlogon\printers).  Then created a shortcut to it and placed the shortcut in C:\Documents and Settings\All Users\Start Menu\Programs\Startup.  Then I only need to modify the one script out on the share and all computers pulling it will be updated.  
 
I created about 8 different scripts for 8 different areas/offices.  Each computer in each area gets the corresponding script's shortcut.
 
I've been using this method for nearly a year and has worked flawlessly.  It accomplishes exactly what that page talks about wanting to accomplish while bypassing the fundamental problem.

Here is a sample script.  Anywhere you see ' means it's a comment and not a command.  The last couple have the comment mark in case you don't have a printer to remove or set to default.  To make them work, just remove the ' and set the correct path.
Sample script:

' Set printers
' ******************************
On Error Resume Next
Dim objNetwork
Set objNetwork = CreateObject("WScript.Network")
objNetwork.AddWindowsPrinterConnection "\\server\HPprinter4200"
objNetwork.AddWindowsPrinterConnection "\\server\HPprinter4250"
objNetwork.AddWindowsPrinterConnection "\\server\HP5si"
'objNetwork.RemoveWindowsPrinterConnection "\\server\printername"
'objNetwork.SetDefaultPrinter "\\server\printername"

Avatar of ksservices

ASKER

I cannot get the scripts to work. It is a Konica Minolta magicolor 5430dl  and the driver doesn't exist in the ntprint.inf

The group policy i cant do because it is not R2 of SBS

Anymore ideas


Thanks
ASKER CERTIFIED SOLUTION
Avatar of expexchuser
expexchuser

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
Otherwise the computerperformance site I linked to also goes into installing via rundll.  So does this page: https://engineering.purdue.edu/ECN/Support/KnowledgeBase/Docs/20040216090320