For most users, adding printers, removing printers, and changing printer properties using Windows' graphical interface is sufficient. However, some instances require the greater degree of control and flexibility provided by the command line. This is most notably the case in larger organizations, where a system administrator seeks to remove a printer from hundreds or thousands of machines, but it does not have the time or resources to do so manually on each computer. Running a single command can solve this problem.
Open a command prompt. Click the Windows Start button and select "Run." Enter "cmd" (without quotation marks) and click "OK."
Video of the Day
Enter the following command in the command prompt:
rundll32 printui.dll,PrintUIEntry /dl /n "printer_name" /c\computer_name
Change the "printer name" variable to the exact name of the printer you want to remove (e.g. "HP Color LaserJet 2600n"). Also change the "computer_name" variable to the name of the computer or server from which the named printer should be removed.
Press the "Enter" key to run the command. The printer is generally removed from the target computer within seconds.