Share via

PowerShell Font when run as admin

Brian C 0 Reputation points
2024-02-15T23:43:22.8066667+00:00

Hi,

Every time I let powershell to "run as administrator", it will use the system default font which is not what I set for the "normal" run (not run as admin). Is there a way to change that?

I found this post 10 yrs ago but there is no answer.

https://answers.microsoft.com/en-us/windows/forum/all/change-the-powershell-default-font/671782a0-4748-45b4-9917-1255b9f9af71

Thanks,

Brian

Windows for business | Windows Server | User experience | PowerShell
0 comments No comments

1 answer

Sort by: Most helpful
  1. Vahid Ghafarpour 23,605 Reputation points
    2024-02-17T06:10:01.14+00:00

    Thanks for posting your question in the Microsoft Q&A forum.
    Run this command in a PowerShell window (run as administrator).

    Set-ItemProperty -Path "HKCU:\Console" -Name "FaceName" -Value "YourDesiredFontName" 
    

    I hope after that it will be fixed.

    ** Please don't forget to close up the thread here by upvoting and accept it as an answer if it is helpful **

    Was this answer helpful?

    0 comments No comments

Your answer

Answers can be marked as 'Accepted' by the question author and 'Recommended' by moderators, which helps users know the answer solved the author's problem.