Solved

windows 7 add printers

Posted on 2013-12-06
4
458 Views
Last Modified: 2013-12-14
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
Comment
Question by:JeffBeall
  • 2
4 Comments
 
LVL 21

Assisted Solution

by:wyliecoyoteuk
wyliecoyoteuk earned 250 total points
ID: 39702784
You would do better using a policy to deploy the printers.
Server from 2008 r2 onwarrds has much better tools for deploying printers.
0
 
LVL 24

Accepted Solution

by:
Sandeshdubey earned 250 total points
ID: 39702803
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
 
LVL 1

Author Comment

by:JeffBeall
ID: 39703793
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
 
LVL 1

Author Closing Comment

by:JeffBeall
ID: 39719200
thank you
0

Featured Post

Backup Your Microsoft Windows Server®

Backup all your Microsoft Windows Server – on-premises, in remote locations, in private and hybrid clouds. Your entire Windows Server will be backed up in one easy step with patented, block-level disk imaging. We achieve RTOs (recovery time objectives) as low as 15 seconds.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

Article by: Lee
Windows 7 Ultimate and Enterprise (and 2008 R2) introduced a new feature you may not be aware of - Boot from VHD.   Boot from VHD (or what Microsoft refers to asNative Boot allows you to install Windows to a VHD (Virtual Hard Disk) file that is t…
A quick guide on how to use Group Policy to create a custom power plan and set it active on Windows 7.
This Micro Tutorial will teach you how to change your appearance and customize your Windows 7 interface to your unique preference. This will be demonstrated using Windows 7 operating system.
This Micro Tutorial will give you a introduction in two parts how to utilize Windows Live Movie Maker to its maximum editing capability. This will be demonstrated using Windows Live Movie Maker on Windows 7 operating system.

932 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

12 Experts available now in Live!

Get 1:1 Help Now