The easy way to delete local printers from your Windows network pc’s.
By Chris on Feb 18, 2008 in Hardware, How to, Windows
You could go around to every PC in your network and delete the local printer that way. Hopefully you don’t have over 10,000 PC’s across the globe cause otherwise you’re about to blow your budget for the remainder of the year. Luckily for you, I found a little script that can run in command line or be written in a bigger script (if you know how) to delete those printers and maybe if you’re lucky, the company will give you a raise for saving them a lot of time and money. (I wouldn’t hold your breath)
- Open command line by going to the start button and selecting run. Then type in cmd.exe
- Type or copy this script into the command line interface…
- rundll32 printui.dll,PrintUIEntry /dl /n “LOCAL” /c\\SERVER
- Replace the word LOCAL with the exact name of the printer. It should look something like this “HP printer 16″ or “bastard copier printer from hell”
- Replace the word SERVER with the exact name of the computer that you want to delete the printer from.
- When the script is complete, hit enter and the printer should delete itself from the target PC.
That’s it, now you can take a two week vacation and when your boss asks you where you have been, you can say that you are still deleting the printers in Hawaii.
I also found a bunch of other cmd line printer commands that are very helpful. Check em out
Popularity: 7% [?]







hariharan | Apr 9, 2008 | Reply
I want to know how to rename a printerwhich is installed in a local pc using a DOS cammand
Chris | Apr 10, 2008 | Reply
Sometimes I impress myself… ok here it is.
This will get you to the properties of any local printer on your network. I tested it out by changing the name on my bosses computer. (im going to catch hell for that one, but I don’t care) and even I am impressed that it works. Changed the name and anything else you can do in properties. WOOT!! I’m also going to write up a new article including this info.
rundll32 printui.dll,PrintUIEntry /p /n\\machine\printer
make sure to change “machine” to the name of the PC you want to change and “printer” of the name of the printer you are trying to access.