Unable to reset PowerShell back to default colors

Anonymous
2025-01-10T04:27:31+00:00

A while back I changed the PowerShell colors from the default settings and I'd like to change them back. However, there doesn't seem to be any instructions on how to reset PowerShell to return to default colors. I've tried the standard user and Administrator PowerShell windows and any changes I make to the properties or default properties do not appear to take effect. What is more confusing is that when I compare the settings between the modified PowerShell properties on System 1 and look at the PowerShell properties on System 2 they appear to be identical. However System 2 has the default colors. No $profile is saved on either system.

Any suggestions would be appreciated.

Windows for home | Windows 10 | Settings

Locked Question. This question was migrated from the Microsoft Support Community. You can vote on whether it's helpful, but you can't add comments or replies or follow the question.

0 comments No comments
{count} vote

17 answers

Sort by: Most helpful
  1. Ramesh Srinivasan 68,890 Reputation points Independent Advisor
    2025-01-10T05:10:01+00:00

    Hi, This is Ramesh.

    Please open PowerShell and run:

    $host.PrivateData
    
    [Console]::ResetColor()
    
    test-path $profile
    
    dir "$Env:appdata\Microsoft\Windows\Start Menu\Programs\Windows PowerShell"
    

    Post the output here.

    Also, see if running "powershell.exe" via the Run dialog shows the default colors.

    1 person found this answer helpful.
    0 comments No comments
  2. Anonymous
    2025-01-10T05:25:25+00:00

    I ran the commands but encountered an error stating the file did not exist. In addition, when I run PowerShell.exe from the Run option, the colors are different, but not the default colors.

    0 comments No comments
  3. Ramesh Srinivasan 68,890 Reputation points Independent Advisor
    2025-01-10T05:30:08+00:00

    After running "[Console]::ResetColor()", please try "CLS".

    Please close PowerShell and see if it defaults to standard colors.

    Also, try copying the PowerShell shortcuts from this folder:

    C:\Users\default\AppData\Roaming\Microsoft\Windows\Start Menu\Programs\Windows PowerShell

    to this folder, overwriting the destination files.

    C:\Users\%username%\AppData\Roaming\Microsoft\Windows\Start Menu\Programs\Windows PowerShell
    
    0 comments No comments
  4. Anonymous
    2025-01-10T05:46:30+00:00

    Performing a clear screen doesn't change the colors back to the default after attempting to reset the console colors. I copied the files from the default user folder and running those link files still opens PowerShell with the current grey-colored background.

    0 comments No comments
  5. Ramesh Srinivasan 68,890 Reputation points Independent Advisor
    2025-01-10T06:07:08+00:00

    Open Regedit.exe and go to:

    Computer\HKEY_CURRENT_USER\Console\%SystemRoot%_System32_WindowsPowerShell_v1.0_powershell.exe

    Check the color settings in the right pane.

    I've uploaded the default values below.

    Once done, close Regedit.exe.

    Run "powershell.exe" from the Win + R dialog.

    0 comments No comments