How to Reset the Looks of the Command Prompt or PowerShell Window
After you work for a while with the Command Prompt or PowerShell, you will surely end up customizing the way they look. After all, they both look boring. You will change the font, its size, the color of the background and other things. But, what do you do when you want to reset them to their default look and feel? There's no "Restore Defaults" button available! As always, there's a small hack you can use.
The Simple Method - Download & Run our Registry File
If you don't want to get your hands dirty, follow this simple procedure:
- Create a System Restore point, to make sure you can revert your system to its current settings, in case you don't like the end result.
- Download & extract the file attached at the end of this article.
- Inside the archive you will find a file named command_prompt.reg. Run it!
- An UAC (User Account Control) prompt is displayed. Confirm that you want to go ahead. Then, you will be asked whether you are sure you want to continue. Click or tap Yes.
- A few changes will be performed to the Windows registry. They are explained, in detail, in the second section of this article. The Registry Editor confirms that the changes were performed successfully.
- Click or tap OK.
Both the Command Prompt and PowerShell are now reset to their default look and feel. This is because they share the same registry folders. You cannot just reset one of them to their default looks.
The Second Method - Manually Edit the Windows Registry
The second method involves more knowledge on the user's part. If you consider yourself a power-user, then go ahead. If not, it is safer to stick to the first method.
Start by creating a System Restore point, so that you can revert back in case you made a mistake or you are not happy with the end result.
Then, you need to start the Registry Editor. To do this, you need to type
regedit, directly in Windows 8's Start screen or in Windows 7's Start Menu search box.
Click or tap the appropriate search result. You can also use the Run window and type one of the two commands mentioned earlier.
Then, press Enter on your keyboard or click OK.
The Registry Editor needs administrative permissions in order to work, so an UAC (User Account Control) prompt is displayed. Confirm that you want to launch the Registry Editor with administrative permissions.
On the left side panel, go to "Computer -> HKEY_CURRENT_USER". Expand it with a double click. Then, find the Console folder/registry key.
This is where the Command Prompt and PowerShell keep their settings related to how their windows are displayed. You need to delete this folder/registry key, so that Windows resets all values to their defaults.
Right click or press and hold on Console and select Delete
Confirm that you want to delete this key and all its subkeys. Close the Registry Editor and you are done.
Both the Command Prompt and PowerShell are now reset to their defaults. One thing to keep in mind though - they are reset only for your user account. The visual settings of these tools are stored on a "per user" basis. If you want to reset their windows for other user accounts, you need to go through the same procedure again, while logged on with those user accounts.
If you are looking for other interesting tips related to the Command Prompt, don't hesitate to read our recommendations below.
Download Link: command_prompt.zip.