You can use the printui.dll method to add/remove printers from users profiles quietly like this:
To add a printer run:
rundll32 printui.dll,PrintUIEntry /in /q /n "\\Servername\Printer Share"
and to remove an existing one run:
rundll32 printui.dll,PrintUIEntry /dn /q /n "\\Servername\Printer Share"
These can be added to logon scripts, etc.
Source URL: http://www.computerperformance.co.uk/Logon/logon_printer_computer.htm
No comments:
Post a Comment