HOW TO ADD A PRINTER FOR ALL USERS (PER MACHINE CONNECTION) – PrintUI.dll

HOW TO ADD A PRINTER FOR ALL USERS (PER MACHINE CONNECTION) – PrintUI.dll

1-) Log in as “Administrator” in Windows

2-) Browse once \\Print to enter the credentials of someone who has access to print server.

3-) Open “CMD” and type the following command to add a printer connection on the machine.

Rundll32 printui.dll PrintUIEntry /ga /n\\Print\PRIXXXX

 

HOW TO REMOVE A PRINTER FOR ALL USERS (PER MACHINE CONNECTION) – PrintUI.dll

1-)Repeat the steps “1” - “2” and “3” as explained above.

Enter the following command to delete a per connection printer from the machine.

Rundll32 printui.dll PrintUIEntry /gd /n\\Print\PRIXXXX

After these steps, you have to reboot the computer.

Next time a user with an Active Directory account connects to this computer, the user will have all the printers that were added with this method.

Kubilay Elmas

Comments

Popular posts from this blog

System.Messaging.MessageQueueException (0x80004005): A workgroup installation computer does not support the operation (Public Queue create issue)

Veeam Backup Error : Failed to prepare guest for hot backup. Error: VSSControl

warning: Win32API is deprecated after Ruby 1.9.1; use fiddle directly instead - Chef Development Kit Update