Removing Network Printer with Script
Posted on 2013-11-21
We are on Windows Domain with mostly Windows XP machines. We had a Dell Network Printer that was being shared on the server and it is listed on every machine. We recently replaced this printer and now we want to have it removed from being listed on every machine and under every profile on the machine. These worstations are located in a schools library so there are a lot of users that are still seeing the old printer and attempting to print to it.
I had a script that does remove the printer and i thought it was supposed to do it for all users but it is only doing it for the user that is logged that runs the script.
Rundll32 printui.dll,PrintUIEntry /dn /q /n"\\sh_print\Dell Color Laser 5110cn PCL6"
Any help would be appreciated. Thanks