Wednesday, February 6, 2008

Adding a Network Printer to All Users

Usually if you add a network printer under one user on Windows XP, you have to add the same printer on the other user accounts on the same computer. Here is how you can permanently add a network printer that is visible to all users logging into that computer:

rundll32 printui.dll,PrintUIEntry /ga /c\\[Local Computer Name] /n\\[Network Computer name]\[Shared Printer Name].

Then, you need to restart the printer spooler service by doing the following:

1. Go to Control Panel --> Administrative Tools --> Services
2. Locate "Print Spooler" and right-click it.
3. Click Restart

The new printer should now show up in Control Panel-->Printers and Faxes.

I hope somebody else finds this useful.

6 comments:

Unknown said...

Awsome tip... just one question. How do i get the printer to stop showing up, say if i get a diffrent printer or change the name?

Mike
ragar31@gmail.com

Russell Jensen said...

Good question Mike,

It looks like you can change the /ga switch to /gd to delete the printer.

If you open a command line and run:

rundll32 printui.dll,PrintUIEntry /?

it should show several options and what each one does. I hope that helps!

Calvin said...

Thanks dude...you saved me a lot of work

ET solutions LLC said...
This comment has been removed by the author.
ET solutions LLC said...

Great post and your tips are awesome. Facing any printing issues then, get help from Printer technical support who will resolve any technical issues related to the printers.

Printer Offline Fix said...

Thanks for sharing the post on the printer repair services. Fix Printer Online from Printer Offline Fix who is professional in providing the printer repair services.