ICC Home  /  Members  /  Meetings  /  Peer Support  /  Documentation  /  Projects


Advertising
printers to all users


Return to IT/SA Services Documentation: Active Directory

(with thanks to Joe Gasper)

Now that we are using multiple logons for machines, there is the problem of how to setup a printer for everyone to use--without having to supply instructions so each person can do this for themselves. Fortunately, you can "advertise" that printer to all users using the printui.dll tool.

If you are setting this up locally on a machine you would use the syntax:
rundll32 printui.dll,PrintUIEntry /ga /n\\myserver\myprintershare

If you are setting this up remotely you would use the syntax:
rundll32 printui.dll,PrintUIEntry /ga /c\\remotePCname /n\\myserver\myprintershare

You may add "/y" to these to make that printer the default. The complete list of options is available via the "rundll32 printui.dll,PrintUIEntry /? " command.

for more details see:
http://support.microsoft.com/kb/314486/EN-US
http://members.shaw.ca/bsanders/NetPrinterAllUsers.htm
http://techsupt.winbatch.com/TS/T000001031F17.html


last edited 28 July 2008 by Steve Lasley