troubleshooting Question

windows 7 add printers

Avatar of JeffBeall
JeffBeallFlag for United States of America asked on
Windows XPWindows 7
4 Comments2 Solutions520 ViewsLast Modified:
I am adding printers at work using the

rundll32 printui.dll,PrintUIEntry

command and I am playing with the switches. what I have found is if I use

rundll32 printui.dll,PrintUIEntry /ga /c\\%1 /n\\%2

it seems to install the printer with no problems, but if I use

rundll32 printui.dll,PrintUIEntry /in /c\\%1 /n\\%2

I usually get an error that windows can't find the driver. I would keep using the /ga switch, but when I setup the printer using this switch, for some of the computers that are in a certain Organization Unit, if I do a

rundll32 printui.dll, PrintUIEntry /ge /c\\%1

that command only finds the local printers, not the network printers. So I was wondering  if I setup the printer using different switches then the network printers would show.
So any ideas how to use the

rundll32 printui.dll,PrintUIEntry

so that the drivers are installed automatically?
ASKER CERTIFIED SOLUTION
Sandesh Dubey
Technical Lead
Join our community to see this answer!
Unlock 2 Answers and 4 Comments.
Start Free Trial
Learn from the best

Network and collaborate with thousands of CTOs, CISOs, and IT Pros rooting for you and your success.

Andrew Hancock - VMware vExpert
See if this solution works for you by signing up for a 7 day free trial.
Unlock 2 Answers and 4 Comments.
Try for 7 days

”The time we save is the biggest benefit of E-E to our team. What could take multiple guys 2 hours or more each to find is accessed in around 15 minutes on Experts Exchange.

-Mike Kapnisakis, Warner Bros