44
14
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.
44
14
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.
58
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.
3
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).
+1 Despite the fact this is an old thread, this should be the accepted answer. There's absolutely no need to play with registry keys. @Corporate Geek : In fact it's opening the properties window but with the default values, so you just click "OK" and your command prompt comes back to his default look and feel. Also, you will note that this method works for PowerShell as well. – TwystO – 2016-04-23T22:31:58.440
@Twist Wrong. "Defaults" sets properties for all cmd windows. "Properties" sets properties for the current cmd windows only. – DavidPostill – 2016-07-04T17:32:09.517
1That does not return the Command Prompt window to the default look and feel. It just opens the customization window where you can change the way it looks. But, there's no reset option, no restore defaults, etc. – Corporate Geek – 2013-06-20T09:08:07.850
3
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
0
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.
That worked for the cmd window. But I usually run a python script that opens a cmd window. Even I have deleted the
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. – Sнаđошƒаӽ – 2017-10-15T05:56:01.1601This seems to be the only trick that works... What's strange though is that the Command Prompt defaults for its main window are different from computer to computer. This is really strange. If you delete these keys the Command Prompt will look different on different computers. – Corporate Geek – 2013-06-26T11:36:13.003
I checked on a single PC only, but that's weird. Perhaps there's some sort of auto-customisation done based on certain conditions? Not sure... – Karan – 2013-06-26T17:13:38.610
1On a closer look, the settings are generally the same everywhere. The Command Prompt looks different because screen resolutions are different, etc. The same font and size will look different on different displays. – Corporate Geek – 2013-06-27T18:14:28.357