Unable to open settings (profiles.json): ShellExecute in LaunchSettings returns ERROR_ACCESS_DENIED #1381
Labels
Area-Settings
Issues related to settings and customizability, for console or terminal
Issue-Bug
It either shouldn't be doing this or needs an investigation.
Product-Terminal
The new Windows Terminal.
Resolution-Duplicate
There's another issue on the tracker that's pretty much the same thing.
Environment
Steps to reproduce
Open the settings file, either through the UI or via Ctrl+,
Expected behavior
The settings file to open.
Actual behavior
Nothing visible happens.
I built and debugged locally from the 0.2.1715.0 sources (66cb7c4) and found that ShellExecute in LaunchSettings was returning 5 (ERROR_ACCESS_DENIED according to winerror.h, line 265). The value of
settingsPath
was properly formed (C:\Users\brettfo\AppData\Local\Packages\WindowsTerminalDev_<some-garbage-characters>\RoamingState\profiles.json
) and the file exists on disk with the expected contents.I also found the settings file corresponding to the app installed from the Store at
C:\Users\brettfo\AppData\Local\Packages\Microsoft.WindowsTerminal_<some-garbage-characters>\RoamingState\profiles.json
which is also correct and changed settings are appropriately reflected in the app.The text was updated successfully, but these errors were encountered: