Windows Codex Desktop always shows "Profile Error" after the second launch
What version of the Codex App are you using (From “About Codex” dialog)?
26.715.61943
What subscription do you have?
ChatGPT Free or ChatGPT Plus
What platform is your computer?
Microsoft Windows NT 10.0.26200.0 x64
What issue are you seeing?
When launching Codex Desktop on Windows, I consistently receive two profile-related error dialogs.
The first dialog says:
A profile error occurred. The system could not read your preferences. Some features may not be available, and changes to preferences will not be saved.
The second dialog says:
There was a problem opening your profile. Some features may not be available.
After dismissing both dialogs, Codex continues to work normally.
However, the same dialogs appear every time the application is restarted.
<img width="540" height="213" alt="Image" src="https://github.com/user-attachments/assets/3a4e5b20-f6d1-4007-9454-0525f7780aa0" />
<img width="485" height="213" alt="Image" src="https://github.com/user-attachments/assets/d0a6c481-62af-4925-a523-e4d8f61cb615" />
What steps can reproduce the bug?
- Launch Codex Desktop.
- Two "Profile Error" dialogs appear.
- Click OK.
- Codex works normally.
- Close Codex.
- Launch Codex again.
- The same dialogs appear again.
What I have already tried
I renamed the profile directory:
C:\Users\<USERNAME>\AppData\Local\Packages\OpenAI.Codex_2p2nqsd0c76g0\LocalCache\Roaming\Codex
to
Codex.backup
After doing this:
- Codex recreated a new profile.
- The first launch completed without any profile error.
- After closing Codex, the second launch immediately showed the same profile errors again.
This suggests that a newly created profile becomes invalid after the application exits or during the next startup.
What is the expected behavior?
_No response_
Additional information
The actual profile location for the MSIX version appears to be:
C:\Users\<USERNAME>\AppData\Local\Packages\OpenAI.Codex_2p2nqsd0c76g0\LocalCache\Roaming\Codex\web\Codex
I also noticed that the repair script generated by Codex attempts to repair:
%APPDATA%\Codex
However, that directory does not exist on the MSIX installation.
It looks like the generated repair script still assumes the classic installation layout instead of the packaged (MSIX) version.
Please let me know if any logs or additional diagnostic information would be helpful.