Is there a command-line way to set the default printer?

Question

Grade: Education Subject: Support
Is there a command-line way to set the default printer?
Asked by:
55 Viewed 55 Answers

Answer (55)

Best Answer
(242)
Yes, you can use the `rundll32 printui.dll,PrintUIEntry /y` command in the Run dialog (Windows Key + R). This command will set the currently selected printer as the default. You'll need to select the printer first before running the command.