RSS

How to add printers for ALL users in Windows 7

21 Sep

Adding printers for all users in Windows XP was easy. A registry tweek here and there and all users would get the same printers. But of course, Windows 7 changed all that. But I found a solution.

Open an elevated command prompt (right click Command Prompt and choose Run As Administrator)
Type in this command:

rundll32 printui.dll,PrintUIEntry /ga /n{printer queue name} /Y

for example:

rundll32 printui.dll,PrintUIEntry /ga /n\\172.16.1.1\Library /Y

The ‘/Y’ is to make the printer default.
The /ga command is “global add”

If you want to delete the printer, you can use this command:

rundll32 printui.dll,PrintUIEntry /gd /n\\172.16.1.1\Library

The /gd command is “global delete” – can only delete printers created by /ga

Stop and Start the print spooler once completed or reboot.

net stop spooler

net start spooler

Advertisements
 
Leave a comment

Posted by on September 21, 2011 in Printers, Windows 7

 

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s

 
%d bloggers like this: