Quickly Change a Default Printer From CMD Prompt (windows)

Discussion in 'Tutorials' started by Mun, Oct 19, 2015.

  1. Mun

    Mun Administrator

    If you have ever needed to change a whole lab worth of default printers this may be a helpful command:
    RUNDLL32 PRINTUI.DLL,PrintUIEntry /y /n "\\ipp://butler.example.org\PB_CLAB_LJ4100N"
    This is where "\\ipp://butler.example.org\PB_CLAB_LJ4100N" is the name of the printer.

    Now if you get the below error it means the name is typed in improperly.
    "Operation could not be completed (error 0x00000709). Double check the printer name and make sure that the printer is connected to the network."
    The best way to resolve the above issue is to go into regedit and look for the name record. It will be under:
    You will have to determine which printer it is under that section and find the name record, simply copy and paste into the quoted section of the command and away it should go.

    You can find more options for these type of commands here: http://www.robvanderwoude.com/2kprintcontrol.php

Share This Page

  1. This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
    By continuing to use this site, you are consenting to our use of cookies.
    Dismiss Notice