Super User is a question and answer site for computer enthusiasts and power users. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

I would like to have the Consolas font set as default for Powershell on Windows 7, no matter how I launch it.

I've found very few explanations on the web for doing this, and none were really clear to me.

Well, according to this question, Powershell is started by a shortcut which normal user can't modify (it was my case).

I right-clicked the shortcut, then clicked on its "font" tab.
That time, when trying to change the font, I got the "access reserved to administrator" dialog allowing me to change the shortcut.

Unfortunately, it wasn't enough, as a subsequent launch reverted to the default font.

Is there any other method of setting a default font?

share|improve this question

Practical tips (I've written some of them because it depends on how you launch PowerShell):

1) If PowerShell is being launched by Start, Run command, you may be able to edit HKCU\Console\xxx key, where xxx is something like %systemroot%...powershell.exe. Just rename the key and test.

2) If PowerShell is being launched by a shortcut (like when you pin an item to taskbar, or in Start Screen (Win8), you must edit the shortcut. To inherit default config, I'd recommend you to create another one, login as administrator, move it to C:\ProgramData\Microsoft\Windows\Start Menu\Programs\System Tools folder, delete the original shortcut and rename yours. Then open it and pin into your taskbar if you want.

3) If you don't have write access to the folder above, just create the shortcut in Desktop, for instance, and pin it. The effect is almost the same.

share|improve this answer

With PowerShell.exe Microsoft did not allow setting the font type through commands, otherwise you could add this to your profile. All you can do is what @surfasb mentioned by setting it through the window properties. If you are working with the ISE though, there are options to set the font by looking at $psISE.Options.

share|improve this answer
up vote 2 down vote accepted

Well, according to this question, PowerShell is started by a shortcut which normal user can't modify (it was my case).

I right-clicked the shortcut, started PowerShell as administrator, then changed the font.Afterwards, Consolas font was effectively set as default.

share|improve this answer
This works for Windows 7. For Windows 8 the console starts up with the font you've chosen, then flicks back to the nasty raster font. :( – Greg Woods Nov 22 '12 at 12:38
Worked for me in Windows 8. Ran PowerShell as administrator, change font, close; next time run as normal user, new font is happy. – Daryn Dec 9 '14 at 18:57

Taking a hint from an earlier @Grawity comment, you'll notice when you open up Powershell that the window options (Ctrl Alt Space ) that the options are similar to the Console window.

So click on default and you can change the options.

share|improve this answer

You can change the default font to Consolas (though sadly not to Lucida Console), but you'll need to get an administrator to change the permissions on the shortcut first to give Users the right to Modify the shortcut.

share|improve this answer

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .