We help IT Professionals succeed at work.

Add Network Printer from CMD printui.dll

spd21 asked
Medium Priority
Last Modified: 2013-12-15
I have a network printer shared under \\myserver\myprinter$

I want to add this printer to a local computer using printui.dll

I am using:

rundll32 printui.dll,PrintUIEntry /ga /n\\myserver\myprinter$

All the path are correct: I can get printer properties using

rundll32 printui.dll,PrintUIEntry /p /n\\myserver\myprinter$

But when I try /ga nothing happens.
Watch Question

I believe that you should use the /in parameter instead of /ga (if you want to add a normal network printer connection
like this
rundll32 printui.dll,PrintUIEntry /in /n\\myserver\myprinter
/ Mikael

Not the solution you were looking for? Getting a personalized solution is easy.

Ask the Experts


You believe correctly
Access more of Experts Exchange with a free account
Thanks for using Experts Exchange.

Create a free account to continue.

Limited access with a free account allows you to:

  • View three pieces of content (articles, solutions, posts, and videos)
  • Ask the experts questions (counted toward content limit)
  • Customize your dashboard and profile

*This site is protected by reCAPTCHA and the Google Privacy Policy and Terms of Service apply.


Please enter a first name

Please enter a last name

8+ characters (letters, numbers, and a symbol)

By clicking, you agree to the Terms of Use and Privacy Policy.