how to remove network printer that no longer exists on the server

    General discussion

  • Hi all,

    i am trying to script the process of removing and adding a printer that has changed name on a server.

    i tried cmd with

    rundll32 printui.dll,PrintUIEntry /dn /q /n \\server\printer
    sometimes this comes back with an error saying the printer cannot be found. other times i get nothing but it does not remove it
    that is as far as my knowledge with scripting goes.
    please help
    • Moved by Bill_Stewart Monday, July 28, 2014 10:07 PM Abandoned
    Monday, September 26, 2011 1:24 AM

All replies