script or gpo

What are the steps to setup a script or GPO setting to auto install network printers on computers once they are added to the domain?
Who is Participating?
I wear a lot of hats...

"The solutions and answers provided on Experts Exchange have been extremely helpful to me over the last few years. I wear a lot of hats - Developer, Database Administrator, Help Desk, etc., so I know a lot of things but not a lot about one thing. Experts Exchange gives me answers from people who do know a lot about one thing, in a easy to use platform." -Todd S.

Depending on your scripting approach, this would be the command you need:
rundll32 printui.dll PrintUIEntry /in /n \\MyComputer\PrinterName"

Open in new window

Where MyComputer is the name of the machine sharing the printer, and PrintName is the share name of the printer.

Here is a TechNet article to walk you through using GPO to deploy printers:
Dope ADMSr. Systems EngineerCommented:
My advice, use GPO w/o script, it's easier to t-shoot
mkramer777Author Commented:
So what are the steps to use GPO w/o script?  Is it within the technet article or can you simplify?
Price Your IT Services for Profit

Managed service contracts are great - when they're making you money. Yes, you’re getting paid monthly, but is it actually profitable? Learn to calculate your hourly overhead burden so you can master your IT services pricing strategy.

The Technet article doesn't involve scripting. I gave the command in case scripting was what you were using (I've done more batch files than I have scripts in small scenarios, but the commands still apply).
Andy BartkiewiczNetwork AnalystCommented:
If you are using a print server I would recommend using a gpo to push out a bat file. All you have to do is use "start \\server\printer" for the printer you want to install. You can put multiple lines on the same bat if you want.
Shaun VermaakTechnical SpecialistCommented:
Why not use GPO printer preferences?
mkramer777Author Commented:
How do you use GPO printer pref?  Where is this located?  Do you have step by step instructions?
You'd be using the Group Policy Management Editor to get things set up. Assuming the GP Management role is set on the domain controller (which it should be), you'd just be looking within your apps.

Here's an article that will walk you through the steps of using GPO printer preferences:

Experts Exchange Solution brought to you by

Your issues matter to us.

Facing a tech roadblock? Get the help and guidance you need from experienced professionals who care. Ask your question anytime, anywhere, with no hassle.

Start your 7-day free trial
mkramer777Author Commented:
Do I need the role in the screenshot installed to be able to do the above steps?
It's more than this solution.Get answers and train to solve all your tech problems - anytime, anywhere.Try it for free Edge Out The Competitionfor your dream job with proven skills and certifications.Get started today Stand Outas the employee with proven skills.Start learning today for free Move Your Career Forwardwith certification training in the latest technologies.Start your trial today
Printers and Scanners

From novice to tech pro — start learning today.