Sign in with
Sign up | Sign in
Your question
Solved

Install Network Printers Remotely via Command Line

Tags:
  • Servers
  • Printers
  • Command Prompt
  • Business Computing
  • Command Line
Last response: in Business Computing
Share
August 27, 2013 7:17:11 AM

Greetings all!

I work in a help desk type environment and we have several printers installed onto our print server. All of the people on our network have access to the print server, and we can give them the link to it at a moments notice.

But, here is what I would like to know how to do:

I want to install the printers to a client's machine via cmd prompt from my machine. I know I can remote into their machine (we use Dameware) and use cmd prompt there, but it would be just as simple to type in the print server link. But I mainly would like to know how for my personal interest/knowledge.

I have used the sytax of "rundll32 printui.dll,PrintUIEntry /?" to see what my options are, and it looks like '/in' is what I am needing. However, there are no examples that use that trigger.

I have tried things to the extent of "rundll32 printui.dll,PrintUIEntry /in /c\\*domainname*\*machinename* /n\\*printserver*\*printer*". Substituting the acutal names, of course.

Any assistance?

More about : install network printers remotely command line

Best solution

August 27, 2013 12:06:03 PM

You'd want to add a per system printer, not a per user one. Make sure the account you run this on has local admin rights on the remote system. You don't put in the domain in front of the computer name.

RUNDLL32 PRINTUI.DLL,PrintUIEntry /ga /c\\PCName /n\\ServerName\printer
Share
!