How to set the default printer via command line in Windows

windows command prompt

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

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

More info can be found here from Microsoft.

If you have the issue where your new printer is not appearing in Control Panel – “Devices and Printers”. This article has the fix.

Would you like to know how to set the printing preferences via command line in Windows? Read this article.

Did our article help you? Here are some ways you can help us.

1. Have a look at our IT Tech Tool Kit List, need ideas on what to buy? I have listed my top 29 tools here.

2. Consider donating to go towards our website hosting costs. Thank you!

PayPal Donation options
(Visited 294 times, 1 visits today)
No votes yet.
Please wait...

2 Comments

Leave a Reply

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