Repository navigation
Description
What version of the Codex App are you using (From “About Codex” dialog)?
Unknown - app does not start, About dialog not reachable
What subscription do you have?
Plus
What platform is your computer?
Microsoft Windows NT 10.0.26200.0 x64
What issue are you seeing?
On launch, the Windows app shows a dialog titled "Organization settings could not be loaded".
(My UI is German: "Organisationseinstellungen konnten nicht geladen werden".)
The text says the app is paused until the organization settings can be loaded safely, and
suggests a network, proxy or firewall problem. Options: Retry / Sign out / Quit.
Retry does not help.
I use a personal account without any organization or workspace, on a private device.
What I tried:
- Same error on a different network (mobile hotspot)
- The web version works with the same account
- %USERPROFILE%.codex does not exist
- %ProgramData%\OpenAI\Codex does not exist
- [hier ergänzen, was du noch versucht hast, z. B. Neuinstallation]
Expected: app starts normally.
Actual: app stays paused on the error dialog.
What steps can reproduce the bug?
- Install the Codex / ChatGPT desktop app for Windows (personal account, no organization).
- Launch the app and sign in.
- The dialog "Organization settings could not be loaded" appears and the app is paused.
- Click "Retry" -> same dialog again. The app never reaches the main screen.
Notes:
- Reproducible every time, also on a different network (mobile hotspot).
- The web version works with the same account.
- No session id / token usage available, because the app does not get past the startup dialog.
What is the expected behavior?
The app should start normally and show the main screen after sign-in, without being paused by an organization settings error.
Additional information
- Personal account, private device, no organization or workspace.
- Same error on a different network (mobile hotspot), so it does not seem to be caused by my network, firewall or proxy.
- The web version (Try on web) works with the same account.
- %USERPROFILE%.codex and %ProgramData%\OpenAI\Codex do not exist, so no local config.toml or requirements.toml is involved. The app seems to fail before creating its local files.
- UI language: German. Original message: "Organisationseinstellungen konnten nicht geladen werden".
- Screenshot attached.
Activity
github-actions commentedon Oct 22, 2026
Potential duplicates detected. Please review them and close your issue if it is a duplicate.
Powered by Codex Action
MrMVC commentedon Oct 22, 2026
I reviewed #55207. The symptom looks similar, but my case differs in several points, so I'm keeping this issue open:
It may share a root cause with #55207, but the circumstances differ, so I'd rather not close this as a duplicate. Happy to provide more details or logs if you tell me where to find them on Windows.
ZHAO-1221 commentedon Oct 25, 2026
I’m experiencing the same issue.
Additional diagnostics from my affected computer:
https://chatgpt.com/codexworks normally with the same account.codex logincompletes successfully.codex doctorreports no proxy environment variables.HTTP 101 Switching Protocols./feedbackcannot be submitted.Last reproduced: 2026-10-25T11:50:10Z.
A sanitized
codex-login.logis available if maintainers need it through an appropriate channel.eunjae0505-png commentedon Oct 28, 2026
I'm experiencing the same issue with the ChatGPT/Codex Windows desktop app.
My environment:
Troubleshooting already attempted:
None of these steps resolved the issue.
The web version works normally, but the Windows desktop app cannot get past the startup error.
My local Codex sessions still exist, and I have backed up my data. I would prefer to avoid a Windows app Reset unless necessary.
Is this a known issue with the current Windows app version? Are there any additional non-destructive workarounds or fixes available?
yolo1225 commentedon Oct 29, 2026
我也是,CLI是能够正常使用的,桌面版不行
Ankur-218 commentedon Nov 2, 2026
I managed to fix this issue on my Windows 11 machine, so I'm sharing what worked for me in case it helps someone else facing the same problem.
Initially, Codex was showing:
"Organization settings could not be loaded"
After investigating the logs, I found that Codex was failing during startup with the following warning:
After creating the missing
.codexdirectory, another error appeared:The actual problem turned out to be Windows folder permissions. I had created the
.codexdirectory using Administrator PowerShell, but my normal Windows account didn't have permission to create folders inside it.How I fixed it
1. Open PowerShell as Administrator
Search for PowerShell in the Start menu, right-click it and select Run as administrator.
2. Create the
.codexdirectoryIf it already exists, there's no need to recreate or delete it.
3. Give your Windows account Modify permission
Run this in the same Administrator PowerShell window:
4. Verify the permissions
icacls "$env:USERPROFILE\.codex"You should see your Windows account listed with
(OI)(CI)(M)permissions.5. Close Administrator PowerShell
Now open a normal PowerShell window (without Administrator privileges) and run:
Check whether the directory was created:
It should return
True.6. Restart Codex
Close Codex completely and launch it again normally, without running it as Administrator.
Result
This fixed the issue on my machine. Codex was finally able to create its SQLite database and launch successfully without showing the organization settings error.
Hopefully, this helps someone else who is stuck in the same Retry/Sign out loop.
Environment: Windows 11, Codex Desktop
26.1021.3705.0.Note: This is a workaround for the specific folder-permission issue I encountered. Other causes of the same organization settings error may require different fixes.
MrMVC commentedon Nov 7, 2026
Thank you for sharing your solution. I followed the steps on my Windows 11 system, and the folder permission fix was successful. However, I encountered an additional issue: the ChatGPT desktop application was running in the background (visible in Task Manager), but the application window would not open.
Initially, I attempted to launch the application through PowerShell using an incorrect executable path. I then identified the correct application ID using the following command:
Get-StartApps | Where-Object {$_.Name -like "*ChatGPT*"} | Format-List *This returned the application ID:
OpenAI.Codex_2p2nqsd0c76g0!AppI then launched the application directly using:
Start-Process "explorer.exe" -ArgumentList "shell:AppsFolder\OpenAI.Codex_2p2nqsd0c76g0!App"After another launch attempt, the ChatGPT desktop application finally opened successfully.
Hopefully, this additional information will help other Windows 11 users experiencing similar startup issues. Thanks again for sharing your fix!
Lizhenghe-Chen commentedon Nov 9, 2026
Found another root cause:
CODEX_HOMEpath is occupied by a regular file发现了另一种根因:
CODEX_HOME路径被普通文件占用I managed to resolve this issue. In my case, the problem was not related to network connectivity, proxy settings, or organization policies.
我已经成功解决了这个问题。在我的案例中,故障并非由网络连接、代理配置或组织策略引起。
The root cause was that
~/.codexexisted as a zero-byte regular file instead of a directory.实际原因是:
~/.codex路径下存在一个 0 字节普通文件,而不是 Codex 预期的目录。This prevented Codex from initializing its local application state.
这导致 Codex 无法正常初始化本地应用状态。
Diagnostic evidence / 诊断证据
The decisive evidence came from
codex doctor:关键证据来自
codex doctor:The filesystem check confirmed that the path was a file, not a directory:
通过 PowerShell 进一步确认,该路径是文件而非目录:
Resolution / 解决方法
I renamed the conflicting file instead of reinstalling or resetting the application:
我没有重新安装或重置应用,而是直接重命名了冲突文件:
Then restarted Codex:
随后重新启动 Codex:
Codex successfully recreated
~/.codexas a directory, initialized its state databases, and started normally.Codex 随后成功将
~/.codex重新创建为目录,完成状态数据库初始化,并恢复正常运行。Suggestion / 改进建议
It may be worth improving
CODEX_HOMEinitialization:建议改进
CODEX_HOME的初始化逻辑:Verify that the configured path is actually a directory, not just that it exists.
Handle unexpected filesystem object types and directory access failures explicitly.
Provide actionable initialization errors instead of a generic organization-settings or network error.
不仅检查路径是否存在,还应验证其是否确实为目录。
明确处理异常文件系统对象类型和目录访问权限问题。
提供明确、可操作的初始化错误信息,而不是笼统地提示组织设置或网络错误。
Although my case involved a zero-byte file, other filesystem conflicts or permission issues could potentially cause similar symptoms.
虽然我的案例涉及一个 0 字节文件,但其他文件系统路径冲突或权限问题也可能导致类似症状。
The key takeaway: An "Unable to load organization settings" error does not necessarily indicate a network or organization-policy problem. Checking
codex doctorand validating the actual filesystem type ofCODEX_HOMEcan help identify local initialization failures.核心结论:「无法加载组织设置」不一定意味着网络或组织策略存在问题。通过
codex doctor检查诊断信息,并验证CODEX_HOME的实际文件系统类型,有助于定位本地初始化故障。Hope this helps other Windows users!
希望这能帮助遇到类似问题的其他 Windows 用户!