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?
mkramer777Asked:
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.

masnrockCommented:
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:
https://blogs.technet.microsoft.com/canitpro/2015/02/03/step-by-step-setting-up-printers-via-group-policy/
1
Dope ADMSr. Systems EngineerCommented:
My advice, use GPO w/o script, it's easier to t-shoot
0
mkramer777Author Commented:
So what are the steps to use GPO w/o script?  Is it within the technet article or can you simplify?
0
Powerful Yet Easy-to-Use Network Monitoring

Identify excessive bandwidth utilization or unexpected application traffic with SolarWinds Bandwidth Analyzer Pack.

masnrockCommented:
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).
0
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.
0
Shaun VermaakTechnical Specialist/DeveloperCommented:
Why not use GPO printer preferences?
image14-1-.png
0
mkramer777Author Commented:
How do you use GPO printer pref?  Where is this located?  Do you have step by step instructions?
0
masnrockCommented:
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: https://community.spiceworks.com/how_to/11413-group-policy-preferences-printer-deployment
0

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?
Screen-Shot-2018-01-22-at-12.06.27-P.png
0
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.