RSS Feed for This PostCurrent Article

The easy way to delete local printers from your Windows network pc’s.


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)

  1. Open command line by going to the start button and selecting run. Then type in cmd.exe
  2. Type or copy this script into the command line interface…
  3. rundll32 printui.dll,PrintUIEntry /dl /n “LOCAL” /c\\SERVER
  4. 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”
  5. Replace the word SERVER with the exact name of the computer that you want to delete the printer from.
  6. 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% [?]

Trackback URL

RSS Feed for This Post2 Comment(s)

  1. hariharan | Apr 9, 2008 | Reply

    I want to know how to rename a printerwhich is installed in a local pc using a DOS cammand

  2. 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.

1 Trackback(s)

  1. From Cmd line local and mapped printers to your will all over your network. | Pack Rat Studios | Apr 10, 2008

RSS Feed for This PostPost a Comment