You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
[Windows Desktop 26.1021.2667.0] Cannot load organization settings; Retry and Sign out fail #56680
appIssues related to the Codex desktop appauthIssues related to authentication and accountsbugSomething isn't workingwindows-osIssues related to Codex on Windows systems
On startup, Codex repeatedly fails to load organization settings and becomes unusable. Previously this error occurred on virtually every launch but a single click on Retry always resolved it. Today, Retry no longer works. Clicking Sign out also displays the same error.
Troubleshooting already performed (all unsuccessful)
Retry
Sign out
Force-close all Codex processes and relaunch
Windows app Repair
Remove notify entry from config.toml
Rename .codex to allow fresh configuration
Checked Windows Application event errors and common log locations; no relevant logs found
Expected
App loads organization settings and opens normally.
Actual
App stays blocked on organization settings error, including after clicking Sign out.
Please investigate this regression and provide a verified recovery path that preserves local project data and conversations. Screenshots can be provided on request. No credentials or local configuration paths are included here.
Additional troubleshooting update (2026-10-24): The user has now also performed a full Windows app Reset, and the same organization-settings loading error persists. This is in addition to Windows Repair, sign-out, retry, process restart, removing notify, and starting with a fresh .codex directory. Please investigate an app-side authentication/organization bootstrap failure and provide a data-preserving workaround.
Running Restart-Service -Name "CodexSandboxService.OpenAI.Codex" -ErrorAction Stop in elevated PowerShell completed without error, but the organization settings loading failure persisted.
Get-AppxPackage -AllUsers *Codex* | Select-Object Name, Version, Status, InstallLocation returned only OpenAI.Codex, version 26.1021.2667.0, Status: Ok. No OpenAI.CodexPrimaryRuntime package appeared in the results.
Windows app Reset also did not help.
This resembles #56620, which also reported the Primary Runtime package absent after reinstall, but we cannot establish that absence as the root cause. Could maintainers confirm whether the separate Primary Runtime package is expected for this build, and provide a supported diagnosis/recovery procedure?
I have been investigating recurring "Organization settings could not be loaded" errors in Codex Desktop on Windows 11.
After several occurrences and extensive troubleshooting, I isolated a workaround that successfully restored the application without reinstalling it or resetting the entire .codex directory.
Environment
Windows 11
Codex Desktop 26.1027.3384.0
ChatGPT organizational account
Web client remained accessible throughout the failures.
Observations
Retry did not reliably resolve the error.
Clicking Sign out closed the error dialog, but the Codex process remained running and the same dialog reappeared.
Comparing auth.json before and after Sign out showed no changes.
Restoring multiple previously working .codex backups did not resolve the issue.
The problem persisted after a Windows reboot.
Confirmed workaround
Completely close Codex Desktop.
Navigate to %USERPROFILE%\.codex.
Rename auth.json to auth.json.save.
Launch Codex Desktop again.
Complete the new browser-based authentication.
Accept the requested restart to apply workspace settings.
Result: Codex Desktop started successfully and became fully operational.
The same .codex profile that previously failed was used, with only auth.json renamed.
Comparing the old and newly generated authentication files showed changes to the access token, refresh token, ID token, login owner identifier, and last refresh timestamp.
Possible underlying issue
The client appears unable to recover correctly from certain unusable persisted authentication states. The Sign out action in the error dialog does not appear to invalidate or replace that state reliably.
The exact reason the previous credentials became unusable remains unknown.
This workaround may help other affected users and may provide a useful direction for investigating the authentication recovery logic.
Security note:auth.json contains sensitive authentication tokens and must not be shared publicly.
appIssues related to the Codex desktop appauthIssues related to authentication and accountsbugSomething isn't workingwindows-osIssues related to Codex on Windows systems
Activity
github-actions commentedon Oct 24, 2026
Potential duplicates detected. Please review them and close your issue if it is a duplicate.
Powered by Codex Action
shine0509h-pixel commentedon Oct 24, 2026
Additional troubleshooting update (2026-10-24): The user has now also performed a full Windows app Reset, and the same organization-settings loading error persists. This is in addition to Windows Repair, sign-out, retry, process restart, removing
notify, and starting with a fresh.codexdirectory. Please investigate an app-side authentication/organization bootstrap failure and provide a data-preserving workaround.shine0509h-pixel commentedon Oct 24, 2026
Additional diagnostic results (2026-10-24):
Restart-Service -Name "CodexSandboxService.OpenAI.Codex" -ErrorAction Stopin elevated PowerShell completed without error, but the organization settings loading failure persisted.Get-AppxPackage -AllUsers *Codex* | Select-Object Name, Version, Status, InstallLocationreturned onlyOpenAI.Codex, version26.1021.2667.0,Status: Ok. NoOpenAI.CodexPrimaryRuntimepackage appeared in the results.This resembles #56620, which also reported the Primary Runtime package absent after reinstall, but we cannot establish that absence as the root cause. Could maintainers confirm whether the separate Primary Runtime package is expected for this build, and provide a supported diagnosis/recovery procedure?
psfbc commentedon Nov 13, 2026
Workaround confirmed: renaming
auth.jsonrestores Codex DesktopI have been investigating recurring "Organization settings could not be loaded" errors in Codex Desktop on Windows 11.
After several occurrences and extensive troubleshooting, I isolated a workaround that successfully restored the application without reinstalling it or resetting the entire
.codexdirectory.Environment
26.1027.3384.0Observations
auth.jsonbefore and after Sign out showed no changes..codexbackups did not resolve the issue.Confirmed workaround
%USERPROFILE%\.codex.auth.jsontoauth.json.save.Result: Codex Desktop started successfully and became fully operational.
The same
.codexprofile that previously failed was used, with onlyauth.jsonrenamed.Comparing the old and newly generated authentication files showed changes to the access token, refresh token, ID token, login owner identifier, and last refresh timestamp.
Possible underlying issue
The client appears unable to recover correctly from certain unusable persisted authentication states. The Sign out action in the error dialog does not appear to invalidate or replace that state reliably.
The exact reason the previous credentials became unusable remains unknown.
This workaround may help other affected users and may provide a useful direction for investigating the authentication recovery logic.
Security note:
auth.jsoncontains sensitive authentication tokens and must not be shared publicly.