Windows Terminal settings reset on reinstall #7966

Closed
opened 2026-01-31 01:17:10 +00:00 by claunia · 6 comments
Owner

Originally created by @dgellow on GitHub (May 6, 2020).

Environment

Windows build number: [run `[Environment]::OSVersion` for powershell, or `ver` for cmd]

Platform ServicePack Version      VersionString
-------- ----------- -------      -------------
 Win32NT             10.0.18363.0 Microsoft Windows NT 10.0.18363.0

Windows Terminal version (if applicable):

Version: 0.11.1251.0

Any other software?

-

Steps to reproduce

  1. Install Windows Terminal from Microsoft Store
  2. Modify Windows Terminal settings
  3. Uninstall Windows Terminal
  4. Reinstall Windows Terminal from Microsoft Store

At this point notice how you just lost your precious Windows Terminal settings and start crying.

Expected behavior

Windows Terminal settings are stored in the user data and should persist between reinstallation.

Actual behavior

Settings are reset each time the application is installed.

Originally created by @dgellow on GitHub (May 6, 2020). <!-- 🚨🚨🚨🚨🚨🚨🚨🚨🚨🚨 I ACKNOWLEDGE THE FOLLOWING BEFORE PROCEEDING: 1. If I delete this entire template and go my own path, the core team may close my issue without further explanation or engagement. 2. If I list multiple bugs/concerns in this one issue, the core team may close my issue without further explanation or engagement. 3. If I write an issue that has many duplicates, the core team may close my issue without further explanation or engagement (and without necessarily spending time to find the exact duplicate ID number). 4. If I leave the title incomplete when filing the issue, the core team may close my issue without further explanation or engagement. 5. If I file something completely blank in the body, the core team may close my issue without further explanation or engagement. All good? Then proceed! --> <!-- This bug tracker is monitored by Windows Terminal development team and other technical folks. **Important: When reporting BSODs or security issues, DO NOT attach memory dumps, logs, or traces to Github issues**. Instead, send dumps/traces to secure@microsoft.com, referencing this GitHub issue. If this is an application crash, please also provide a Feedback Hub submission link so we can find your diagnostic data on the backend. Use the category "Apps > Windows Terminal (Preview)" and choose "Share My Feedback" after submission to get the link. Please use this form and describe your issue, concisely but precisely, with as much detail as possible. --> # Environment ```none Windows build number: [run `[Environment]::OSVersion` for powershell, or `ver` for cmd] Platform ServicePack Version VersionString -------- ----------- ------- ------------- Win32NT 10.0.18363.0 Microsoft Windows NT 10.0.18363.0 Windows Terminal version (if applicable): Version: 0.11.1251.0 Any other software? - ``` # Steps to reproduce 1. Install Windows Terminal from Microsoft Store 2. Modify Windows Terminal settings 3. Uninstall Windows Terminal 4. Reinstall Windows Terminal from Microsoft Store At this point notice how you just lost your precious Windows Terminal settings and start crying. # Expected behavior <!-- A description of what you're expecting, possibly containing screenshots or reference material. --> Windows Terminal settings are stored in the user data and should persist between reinstallation. # Actual behavior Settings are reset each time the application is installed.
claunia added the Resolution-By-DesignNeeds-TriageNeeds-Tag-Fix labels 2026-01-31 01:17:10 +00:00
Author
Owner

@DHowett-MSFT commented on GitHub (May 7, 2020):

This is, unfortunately, how applications deployed through the store work. When you uninstall them, their settings are cleared.

@DHowett-MSFT commented on GitHub (May 7, 2020): This is, unfortunately, how applications deployed through the store work. When you uninstall them, their settings are cleared.
Author
Owner

@dgellow commented on GitHub (May 7, 2020):

Isn't the Roaming Folder exactly for that purpose? I.e: keep user data between an application installation.

@dgellow commented on GitHub (May 7, 2020): Isn't the [Roaming Folder](https://docs.microsoft.com/en-us/uwp/api/windows.storage.applicationdata.roamingfolder) exactly for that purpose? I.e: keep user data between an application installation.
Author
Owner

@DHowett-MSFT commented on GitHub (May 7, 2020):

We used to store settings in the roaming folder, but it turns out that people have different WSL distributions and powershell installations on different computers, and really do want different things on their other machines. We moved out of the roaming folder, and then found that it was resurrecting settings from very old versions of Terminal back into the roaming folder.

This is an area of active development, but "move settings back to the roaming folder" isn't going to be a viable solution. Sorry!

@DHowett-MSFT commented on GitHub (May 7, 2020): We used to store settings in the roaming folder, but it turns out that people have different WSL distributions and powershell installations on different computers, and really do want different things on their other machines. We moved _out_ of the roaming folder, and then found that it was resurrecting settings from _very old_ versions of Terminal back into the roaming folder. This is an area of active development, but "move settings back to the roaming folder" isn't going to be a viable solution. Sorry!
Author
Owner

@dgellow commented on GitHub (May 8, 2020):

Hey @DHowett-MSFT. Thanks for answering, I appreciate.

If it is an area of active development, is there an issue number I can subscribe to if I want to follow the discussion? If there isn't one yet, would it then make sense to reopen this issue? Or is the discussions and development happening outside of the GitHub repository?

I'm fine with the issue being closed, I just want to know where I can get update on that development, even just by intellectual curiosity.

@dgellow commented on GitHub (May 8, 2020): Hey @DHowett-MSFT. Thanks for answering, I appreciate. If it is an area of active development, is there an issue number I can subscribe to if I want to follow the discussion? If there isn't one yet, would it then make sense to reopen this issue? Or is the discussions and development happening outside of the GitHub repository? I'm fine with the issue being closed, I just want to know where I can get update on that development, even just by intellectual curiosity.
Author
Owner

@DHowett-MSFT commented on GitHub (May 9, 2020):

The best issue you can follow for this is gonna be #2933. Thanks!

@DHowett-MSFT commented on GitHub (May 9, 2020): The best issue you can follow for this is gonna be #2933. Thanks!
Author
Owner

@chylex commented on GitHub (Oct 23, 2022):

In case someone else finds this issue after it happened to them, if you have system backups (which you should), you can restore the settings by copy/pasting contents of this folder from the backup:

C:\Users\<USERNAME>\AppData\Local\Packages\Microsoft.WindowsTerminal_8wekyb3d8bbwe
@chylex commented on GitHub (Oct 23, 2022): In case someone else finds this issue after it happened to them, if you have system backups (which you should), you can restore the settings by copy/pasting contents of this folder from the backup: ``` C:\Users\<USERNAME>\AppData\Local\Packages\Microsoft.WindowsTerminal_8wekyb3d8bbwe ```
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: starred/terminal#7966