I have made several customizations to how the Command Prompt window looks in Windows and now I want to reset it to its original state.
How can I do that? I just want it to look that way it does after you install Windows.
Try deleting the entire HKEY_CURRENT_USER\Console
key (export it first just in case) from the registry. It's re-created when you customise any cmd window again, and seems to have done the trick for me in Win7.
Console
registry entry and I got default settings back for "cmd" window, I still see my customizations to the cmd window opened by my python script. Note that cmd opened by script is named the same as the script file name, if that helps.
Oct 15, 2017 at 5:56
To reset windows console (CMD):
RegEdit
right click it and run as admin
.HKEY_CURRENT_USER\Console\%SystemRoot%_system32_cmd.exe
%SystemRoot%_system32_cmd.exe
Is this what you are looking for?
You can also check HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Command Processor
registry key and delete all the values (upon reopening cmd
the default values should be set).
The only solution that works OK is the one proposed by @Karan. However, while experimenting, I did learn a couple of important things:
In order to help others, I summarized all my learning in a complete step by step tutorial. Also, I created a registry file that can be run in order to reset all visual settings as quickly as possible. Everything can be found here: How to Reset the Looks of the Command Prompt or PowerShell Window.
Thank you all for helping me out. This problem was really bugging me.