You can reset Windows Terminal to defaults in Windows 10 if you have issues with opening or using it. It stores its settings in a special JSON file, and automatically creates a backup copy of that file each time you change the app options.
Windows Terminal is a modern terminal software for command-line users that has plenty of features you won't find in the classic Command Prompt and PowerShell tools. It comes with tabs, a GPU accelerated DirectWrite/DirectX-based text rendering engine, profiles, and more.
Thanks to profiles, you can have instances of Command Prompt, PowerShell, and Windows Subsystem for Linux running in tabs. Another great thing about the app is that it is fully open-sourced, so anyone can contribute. It is available on GitHub.
The current Windows Terminal app settings are stored in the following file: "%LocalAppData%\Packages\Microsoft.WindowsTerminal_8wekyb3d8bbwe\LocalState\settings.json"
. The app stores its settings separately for each user account.
When you change the app options, it automatically creates a backup of the previous settings and saved to another file to with added date and time to its name, e.g. "%LocalAppData%\Packages\Microsoft.WindowsTerminal_8wekyb3d8bbwe\LocalState\settings.json.2021-05-12T11-29-25.backup"
using the settings.json.Year-Month-DayTHour-Minute-Seconds.backup naming scheme.
You may need to reset all Windows Terminal app settings back to its default without having to reset the app. There are three methods you can use.
Reset Windows Terminal to Defaults in Windows 10
- Close Windows Terminal if you have it open.
- Open a new command prompt.
- Type or copy-paste the following command:
del /f /s /q /a "%LocalAppData%\Packages\Microsoft.WindowsTerminal_8wekyb3d8bbwe\LocalState\settings.json"
. - The
settings.json
is now deleted, so you can close the command prompt and open Windows Terminal.
The similar can be done in PowerShell.
Restore default Windows Terminal settings using PowerShell
- Close the Windows Terminal app if you have it running.
- Open a new PowerShell.
- Type or copy-paste this command and hit Enter:
Remove-Item -Path "$env:LOCALAPPDATA\Packages\Microsoft.WindowsTerminal_8wekyb3d8bbwe\LocalState\settings.json" -Force
. - The
settings.json
is now deleted, so you can close the PowerShell window and open Windows Terminal.
Finally, you can simply delete the settings.json file right from File Explorer.
Reset Windows Terminal Settings from File Explorer
- Close the Windows Terminal app.
- Open File Explorer (Press Win + E on the keyboard).
- Click on its address bar (or press Ctrl + L), and paste the following folder location:
%LocalAppData%\Packages\Microsoft.WindowsTerminal_8wekyb3d8bbwe\LocalState
. Hit Enter. - Select the
settings.json
file and press the Del key to remove it. You can also right-click it and select Delete from the context menu. - You can now close File Explorer and re-open Windows Terminal.
Done! Regardless of the method you decided to go with, the settings.json file will be removed. This will reset Windows Terminal to defaults.
Support us
Winaero greatly relies on your support. You can help the site keep bringing you interesting and useful content and software by using these options: