• Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 1070
  • Last Modified:

Silent install of network printers

I am using

rundll32 printui.dll,PrintUIEntry /q /dn /n\\Printsvr\NetPrint  // delete printer
rundll32 printui.dll,PrintUIEntry /q /in /n\\Printsvr\NetPrint   // add printer

for managing the available printers on notebooks, as them often are at locations with no access to the home-based printers.

It works well, except one thing that bugs me; despite using the /q(uiet) parameter, on each occassion when installing the printers a "Connecting to..." window pops up until the connection is established.

Any possibility to work around/suppress this?

1 Solution
Aland CoonsSystems EngineerCommented:
I hate to say it but I believe the answer is no.

You may be able to use a utility to hide the resulting window. Maybe something like this ...
QTCCKAuthor Commented:
Looks like you are right, alandc.

The link provided seems to be the best solution possible, so I accept it as answer. Thanks.
Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

Join & Write a Comment

Featured Post

Free Tool: Port Scanner

Check which ports are open to the outside world. Helps make sure that your firewall rules are working as intended.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

Tackle projects and never again get stuck behind a technical roadblock.
Join Now