This is strange, all of the Registry settings in Current User as well as the users in the Users hive have those exact settings.
Unable to reset PowerShell back to default colors
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.
17 answers
Sort by: Most helpful
-
Anonymous
2025-01-10T15:46:20+00:00 -
Ramesh Srinivasan 68,905 Reputation points Independent Advisor
2025-01-10T16:15:55+00:00 Open this folder:
C:\Users%username%\AppData\Roaming\Microsoft\Internet Explorer\Quick Launch\User Pinned\TaskBar
Delete the PowerShell shortcut.
Start "powershell.exe" and pin it again.
If that doesn't help, please create a new local admin account to determine if the problem is per-user. To create a new local admin account, open admin Command Prompt and run these commands:
net user USERNAME PASSWORD /add net localgroup administrators USERNAME /add(Note: Replace the placeholder text "USERNAME" and "PASSWORD" with the new user name and password, respectively.)
Login to the newly created account and run PowerShell..
-
Anonymous
2025-01-11T02:07:32+00:00 When I log onto the system with the local admin account the PowerShell colors are the default color scheme. I created a new user and that user also has a default color scheme with PowerShell. I attempted to upgrade PowersShell and even after installing 7.4.6 the color scheme is using the modified grey background I'm trying to remove. I was expecting the 7.46 upgrade to remove version 5.1, but that is still installed. This version also is using the grey background I'm trying to remove.
-
Ramesh Srinivasan 68,905 Reputation points Independent Advisor
2025-01-11T02:43:55+00:00 Please run a ProcMon trace from your original account and share the zipped log on OneDrive.
- Download Process Monitor: http://live.sysinternals.com/procmon.exe
- Launch Process Monitor.
- Reset the filter options and click OK.
- If tracing does not start automatically, press Ctrl + E.
- Run PowerShell.
- After the PowerShell loads with the grey bacground, close the window. Switch to Process Monitor and stop tracing (Ctrl + E).
- Save "All Events" in a PML log file.
- *Zip* the log file and upload it to your OneDrive.
The PML log size will be huge. Zipping it reduces the size by 90%.
Share OneDrive files and folders - Microsoft Support: https://support.microsoft.com/en-us/office/shar...
OneDrive sharing options - screenshot: https://imgur.com/a/vZyxpY9
-
Anonymous
2025-01-11T16:36:00+00:00 I am not comfortable sharing logs with the public. Do you have an email I can share the log file with?