Menu Close

Set the default printer via command line in windows

This is just one of those tips I keep coming back to and forgetting the command line switches. It works on Win 7,8 and 10.

I experienced a problem where the printers are installed however they are not listed under “devices and printers”.

How to set the default printer via command line:

1. Open command prompt “cmd”

2. Type RUNDLL32 PRINTUI.DLL,PrintUIEntry /y /n “HP Officejet Pro 8610”

The /y sets the printer as default

/n is the name of the printer

More info here.

No votes yet.
Please wait...

Leave a Reply

Your email address will not be published. Required fields are marked *


This site uses Akismet to reduce spam. Learn how your comment data is processed.

IP Blocking Protection is enabled by IP Address Blocker from