Improve company productivity with a Business Account.Sign Up

x
  • Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 475
  • Last Modified:

windows 7 add printers

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?
0
JeffBeall
Asked:
JeffBeall
  • 2
2 Solutions
 
wyliecoyoteukCommented:
You would do better using a policy to deploy the printers.
Server from 2008 r2 onwarrds has much better tools for deploying printers.
0
 
SandeshdubeySenior Server EngineerCommented:
As suggested you can use GP preference to map printer

How do you map a printer using Group Policy Preferences?
http://www.grouppolicy.biz/2011/01/faq-2-how-do-you-map-printer-using-group-policy-preferences/

But for Windows XP  machine for preference to work you need to install windows XP client side extention.http://www.microsoft.com/en-in/download/details.aspx?id=3628

Alternately you can use this VBscript to map printers and apply the scripot to map printer at logon:http://forums.anandtech.com/showthread.php?t=1844072-Installed multiple printer at 2003 VBSCRIPT
0
 
JeffBeallAuthor Commented:
At work I'm not in the group that can change group policy.
where I work the people that setup group polcy are in a different building and don't seem very interested in help me.
therefore I try to find alternative solutions.
the link for the VBscript seems to be for xp machines, but hopefully it would work with win7
0
 
JeffBeallAuthor Commented:
thank you
0
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: SSL Checker

Scans your site and returns information about your SSL implementation and certificate. Helpful for debugging and validating your SSL configuration.

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.

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