Windows 10 How to remove a printer via powershell added via RUNDLL32 PRINTUI.DLL?

  • Thread starter Thread starter rafaeljsc
  • Start date Start date
R

rafaeljsc

Guest
A while ago I added some printers via cmd with this command:

RUNDLL32 PRINTUI.DLL,PrintUIEntry /ga /z /n\\server\Printer

This add a printer to computer instead of to user. When a new user logs on in the computer the printers added with RUNDLL32 PRINTUI.DLL are installed and if I remove the printers via powershell, in the next boot the printers returns.

I need of a powershell script to remove those printers added per computer, you know a way to do it???

More...
 
Back
Top