Add Network Printer from CMD printui.dll

Posted on 2009-02-18
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.
Question by:spd21

Accepted Solution

activephoto earned 2000 total points
ID: 23668532
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

Author Comment

ID: 23669222
You believe correctly

Featured Post

Technology Partners: We Want Your Opinion!

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Sometimes people don't understand why download speed shows differently for Windows than Linux.Specially, this article covers and shows the solution for throughput difference for Windows than a Linux machine. For this, I arranged a test scenario.I…
For both online and offline retail, the cross-channel business is the most recent pattern in the B2C trade space.
Two types of users will appreciate AOMEI Backupper Pro: 1 - Those with PCIe drives (and haven't found cloning software that works on them). 2 - Those who want a fast clone of their boot drive (no re-boots needed) and it can clone your drive wh…
Please read the paragraph below before following the instructions in the video — there are important caveats in the paragraph that I did not mention in the video. If your PaperPort 12 or PaperPort 14 is failing to start, or crashing, or hanging, …
Suggested Courses

850 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question