Windows Terminal may not open if profiles.json is corrupted #2028

Open
opened 2026-01-30 22:44:53 +00:00 by claunia · 0 comments
Owner

Originally created by @Karl-WE on GitHub (Jun 24, 2019).

Environment

Windows build number: Windows 10 1903

Windows Terminal version (if applicable): 0.2.1715.0

Any other software?

Steps to reproduce

edit profiles.json e.g. I tried to copy and paste some schemas from this templated
https://gist.github.com/mehulmpt/16826be279bb9bf70310b465ca9c5de3

After saving everything was fine and I really took care about not doing a mistake in the json formatting. However after closing and reopening Windows terminal

copy line 63 to 131 at the appropriate spot in profiles.json
https://gist.github.com/fcharlie/7530d36175bc5249f1ae92be536238cd

Expected behavior

The file should be checked for errors on startup of Windows Terminal. If there is an error it should fallback to a default config
also see #1404

Actual behavior

Windows Terminal does not start. no error message.

workaround

fully reset the app in app and features

Originally created by @Karl-WE on GitHub (Jun 24, 2019). <!-- 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. Please use this form and describe your issue, concisely but precisely, with as much detail as possible. --> # Environment Windows build number: Windows 10 1903 Windows Terminal version (if applicable): 0.2.1715.0 Any other software? # Steps to reproduce edit profiles.json e.g. I tried to copy and paste some schemas from this templated https://gist.github.com/mehulmpt/16826be279bb9bf70310b465ca9c5de3 After saving everything was fine and I really took care about not doing a mistake in the json formatting. However after closing and reopening Windows terminal <!-- A description of how to trigger this bug. --> copy line 63 to 131 at the appropriate spot in profiles.json https://gist.github.com/fcharlie/7530d36175bc5249f1ae92be536238cd # Expected behavior The file should be checked for errors on startup of Windows Terminal. If there is an error it should fallback to a default config also see #1404 # Actual behavior Windows Terminal does not start. no error message. # workaround fully reset the app in app and features
claunia added the Resolution-Fix-AvailableArea-SettingsIssue-BugProduct-Terminal labels 2026-01-30 22:44:53 +00:00
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: starred/terminal#2028