from>https://www.digitalcitizen.life/how-reset-looks-command-prompt-or-powershell-window/ ------------保存以下内容到[reset-ps-console-color.reg]后执行即可重置------------ Windows Registry Editor Version 5.00 [-HKEY_CURRENT_USER\Console] ------------------------------------------------------------------------------------------ After you work for a while with the Command Prompt or PowerShell, you are likely to end up customizing the way they look. After all, by default, their looks and colors look quite dull for many. You might change the font, its size, the color of the background, and other things. What do you do if you want to reset PowerShell to its default settings and colors? Can you reset Command Prompt's (cmd) colors and settings? Unfortunately, there's no "Restore console default" button available anywhere! Fortunately, as always, there is something you can do. Read this guide to learn how to reset PowerShell or the Command Prompt to its default settings: NOTE: Before following any of the methods from this guide, you should create a System Restore point. That assures you that you can revert your system to its current settings if you don't like the result. How to reset PowerShell to its default color settings PowerShell's colors and overall console looks are stored in its shortcut file instead of a separate file or registry key. In other words, to reset PowerShell to its default color settings, you need to reset PowerShell's shortcut from the Start Menu. Start by