Microsoft allows users of the Windows Command Prompt and the Windows PowerShell on Windows 10 to have the User Experience of the consoles customized. This customization brings in different color combinations, changing the font type, font sizes and more. But some times, these actions mess up the command line applications and hence result in difficulties in rolling back the changes or to reset PowerShell and Command Prompt to default settings. Due to the lack of a Reset my settings button, it is nearly impossible for an average user to revert back these customizations to the defaults.
Before you proceed, we recommend you creating a System Restore Point so that whenever such errors take place, you can just roll back to the previously known stable state of your computer.
Reset PowerShell to default settings
There are two variants of Windows PowerShell that are installed on an x64 installation of Windows 10 namely:
- Windows PowerShell.
- Windows PowerShell (x86).
If you use an x86 installation, there will just be Windows PowerShell.
If you wish to reset Windows PowerShell, you need to replace the shortcut as default. For that, download the default versions of shortcuts for Windows PowerShell from our servers. The link is given at the end of this post.
Now, navigate to the following path:
C:\Users\<USERNAME>\AppData\Roaming\Microsoft\Windows\Start Menu\Programs\Windows PowerShell
Here, <USERNAME> defines the user account for which you wish to reset the Windows PowerShell command line.
Now, get any shortcut from our archive and replace it on your computer.
Windows PowerShell on your computer has now been reset to the default settings now.
Reset Command Prompt to default settings
Download this file from our servers. You will get a .reg file inside it.
Run the file and if it gives you a security warning, select Run.
Select Yes to the UAC or the User Account Control prompt you get.
And select Yes to the Registry Editor warning prompt that you get.
You will get a message that the registry configuration has been modified.
Reboot your computer and have the Windows Command Prompt with default settings on your computer.
If you wish to do it manually, you can do that too.
Hit the WINKEY + R button combination to launch the Run utility, type in regedit and hit Enter. Once Registry Editor opens, navigate to the following key-
Now, right-click on the folder named Console on the left side panel and click Delete.
Select Yes for the confirmation prompt that you get.
Reboot your computer and you will find Windows Command Prompt reset to default settings on your computer.