After update, windows terminal settings.json overwritten to default #19403

Closed
opened 2026-01-31 06:42:15 +00:00 by claunia · 3 comments
Owner

Originally created by @nairobi02 on GitHub (Feb 16, 2023).

Windows Terminal version

1.16.10261.0

Windows build number

19045.2486

Other Software

No response

Steps to reproduce

Update windows terminal on microsoft store
open windows terminal

Expected Behavior

the old settings.json, prior to update should still be used, or atleast backed up.

Actual Behavior

default configuration is showing up everywhere across the terminal. including appearance for each profile.
the settings.json has been overwritten, only default settings remain.

Originally created by @nairobi02 on GitHub (Feb 16, 2023). ### Windows Terminal version 1.16.10261.0 ### Windows build number 19045.2486 ### Other Software _No response_ ### Steps to reproduce Update windows terminal on microsoft store open windows terminal ### Expected Behavior the old settings.json, prior to update should still be used, or atleast backed up. ### Actual Behavior default configuration is showing up everywhere across the terminal. including appearance for each profile. the settings.json has been overwritten, only default settings remain.
claunia added the Needs-TriageIssue-BugNeeds-Author-Feedback labels 2026-01-31 06:42:16 +00:00
Author
Owner

@zadjii-msft commented on GitHub (Feb 17, 2023):

That's extremely unexpected. When you open the settings and hit "Open JSON File", what's the path of the file that opens?

Do you have Terminal Preview installed as well/?

@zadjii-msft commented on GitHub (Feb 17, 2023): That's extremely unexpected. When you open the settings and hit "Open JSON File", what's the path of the file that opens? Do you have Terminal Preview installed as well/?
Author
Owner

@nairobi02 commented on GitHub (Feb 17, 2023):

That's extremely unexpected. When you open the settings and hit "Open JSON File", what's the path of the file that opens?

Do you have Terminal Preview installed as well/?

The path is C:\Users\Nair\AppData\Local\Packages\Microsoft.WindowsTerminal_8wekyb3d8bbwe\LocalState

I don't know what terminal preview is, and so i don't think i have it installed.
I'm not sure how this happened, all i know is, this happened after it got updated from microsoft store.

@nairobi02 commented on GitHub (Feb 17, 2023): > That's extremely unexpected. When you open the settings and hit "Open JSON File", what's the path of the file that opens? > > Do you have Terminal Preview installed as well/? The path is C:\Users\Nair\AppData\Local\Packages\Microsoft.WindowsTerminal_8wekyb3d8bbwe\LocalState I don't know what terminal preview is, and so i don't think i have it installed. I'm not sure how this happened, all i know is, this happened after it got updated from microsoft store.
Author
Owner

@zadjii-msft commented on GitHub (Feb 20, 2023):

Huh. That's perfectly normal. Any chance you had the settings file open in an editor of any sort/? Something that might have locked the file, or done a swap-to-save sorta operation?

Sorry this happened! But I really don't know how we'd be able to investigate if this isn't something that reproduces readily 😕 This might have even just been the appx/msix service botching the update, which would be terribly sad and entirely out of our control.

@zadjii-msft commented on GitHub (Feb 20, 2023): Huh. That's perfectly normal. Any chance you had the settings file open in an editor of any sort/? Something that might have locked the file, or done a swap-to-save sorta operation? Sorry this happened! But I really don't know how we'd be able to investigate if this isn't something that reproduces readily 😕 This might have even just been the appx/msix service botching the update, which would be terribly sad and entirely out of our control.
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: starred/terminal#19403