We help IT Professionals succeed at work.
Get Started

Install Printer on Seperate Machine?

Last Modified: 2013-12-17
I'm not sure if this is possible, as I would imagine the security risks would be dangerous, but I've been tasked with installing all printers on our various print servers (13 in total) on our Production boxes (8 in total), and it appears to be a boring manual task, especially as selecting all and pressing Enter prompts a dialog, and right clicking and selecting Connect throws an error when it attempts to access private printers.

So, I was wondering if it's possible for me to install them on the target machines via code that will run on my machine.   And if it is possible, how to go about it? I know the account credentials for the boxes, so I can use impersonation to run any code I write.

I should state, I would be doing this in C# (not a script) as I can't put anything on the boxes, and my machine is XP and the target boxes are Win2000.
Watch Question
Most Valuable Expert 2012
Top Expert 2008
This problem has been solved!
Unlock 3 Answers and 4 Comments.
See Answers
Why Experts Exchange?

Experts Exchange always has the answer, or at the least points me in the correct direction! It is like having another employee that is extremely experienced.

Jim Murphy
Programmer at Smart IT Solutions

When asked, what has been your best career decision?

Deciding to stick with EE.

Mohamed Asif
Technical Department Head

Being involved with EE helped me to grow personally and professionally.

Carl Webster
CTP, Sr Infrastructure Consultant
Ask ANY Question

Connect with Certified Experts to gain insight and support on specific technology challenges including:

  • Troubleshooting
  • Research
  • Professional Opinions
Did You Know?

We've partnered with two important charities to provide clean water and computer science education to those who need it most. READ MORE