Skip to content

Windows app shows "Organization settings could not be loaded" on startup (personal account) #56122

Open

Description

@MrMVC

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?

  1. Install the Codex / ChatGPT desktop app for Windows (personal account, no organization).
  2. Launch the app and sign in.
  3. The dialog "Organization settings could not be loaded" appears and the app is paused.
  4. 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.
Image

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

  1. added
    app
    on Oct 22, 2026
  2. added
    bug
    windows-os
    connectivity
    on Oct 22, 2026
  3. github-actions commented on Oct 22, 2026

    @github-actions
    Contributor

    Potential duplicates detected. Please review them and close your issue if it is a duplicate.

    Powered by Codex Action

  4. MrMVC commented on Oct 22, 2026

    @MrMVC
    Author

    I reviewed #55207. The symptom looks similar, but my case differs in several points, so I'm keeping this issue open:

    • No proxy: I have no HTTP proxy configured, and the error also occurs on a mobile hotspot.
    • No local files: %USERPROFILE%.codex does not exist at all, so the app fails before creating any local config, state or logs. In [Windows 10] Codex Desktop 26.1013.4894.0 stuck on "Unable to load organization settings" despite working CLI and app-server #55207 config.toml and the local app data exist and were isolated for testing.
    • Fresh install: the app has never started successfully on this machine.
    • Dialog text: my (German) UI shows "Organisationseinstellungen konnten nicht geladen werden" ("Organization settings could not be loaded"), not "Unable to load organization settings".
    • Web version works with the same personal account (no organization or workspace).

    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.

  5. ZHAO-1221 commented on Oct 25, 2026

    @ZHAO-1221

    I’m experiencing the same issue.

    Additional diagnostics from my affected computer:

    • ChatGPT Plus, Personal workspace
    • Codex desktop app: 26.1021.3705.0
    • Windows 11, build 26200, x64
    • The app worked previously and now stops at “Unable to load organization settings.”
    • Retry, sign-out, Windows Repair, Reset, uninstall/reinstall, and reauthentication did not resolve it.
    • The issue also occurs on a mobile hotspot.
    • https://chatgpt.com/codex works normally with the same account.
    • codex login completes successfully.
    • codex doctor reports no proxy environment variables.
    • WebSocket connectivity succeeds with HTTP 101 Switching Protocols.
    • ChatGPT endpoints and the desktop assets CDN are reachable.
    • The desktop error appears before the composer is available, so /feedback cannot be submitted.

    Last reproduced: 2026-10-25T11:50:10Z.

    A sanitized codex-login.log is available if maintainers need it through an appropriate channel.

  6. eunjae0505-png commented on Oct 28, 2026

    @eunjae0505-png

    I'm experiencing the same issue with the ChatGPT/Codex Windows desktop app.

    My environment:

    • Windows 11, build 26100
    • App package: OpenAI.Codex 26.1021.3705.0
    • Personal ChatGPT Plus account
    • Error: "Organization settings could not be loaded"

    Troubleshooting already attempted:

    • Reinstalled and repaired the Windows app
    • Restarted the Codex Windows Sandbox Service
    • Tested a mobile hotspot
    • Verified WebSocket connectivity (HTTP 101)
    • Confirmed ChatGPT authentication
    • Temporarily separated app cache folders
    • Checked Windows Event Viewer

    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?

  7. yolo1225 commented on Oct 29, 2026

    @yolo1225

    我也是,CLI是能够正常使用的,桌面版不行

  8. Ankur-218 commented on Nov 2, 2026

    @Ankur-218

    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:

    Desktop startup policy read failed
    phase=home-creation
    reason=home-creation
    

    After creating the missing .codex directory, another error appeared:

    ChatGPT cannot access its local database.
    
    Error: EPERM: operation not permitted,
    mkdir 'C:\Users\<username>\.codex\sqlite'
    

    The actual problem turned out to be Windows folder permissions. I had created the .codex directory 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 .codex directory

    New-Item -ItemType Directory -Path "$env:USERPROFILE\.codex" -Force

    If 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:

    $account = (whoami).Trim()
    icacls "$env:USERPROFILE\.codex" /grant:r "$($account):(OI)(CI)M"

    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:

    New-Item -ItemType Directory -Path "$env:USERPROFILE\.codex\sqlite" -Force

    Check whether the directory was created:

    Test-Path "$env:USERPROFILE\.codex\sqlite"

    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.

  9. MrMVC commented on Nov 7, 2026

    @MrMVC
    Author

    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!App

    I 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!

  10. Lizhenghe-Chen commented on Nov 9, 2026

    @Lizhenghe-Chen

    Found another root cause: CODEX_HOME path 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 ~/.codex existed 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:

    CODEX_HOME   ...\.codex (file)
    log dir      missing
    state DB     missing
    app-server-daemon\settings.json (missing)
    

    The filesystem check confirmed that the path was a file, not a directory:

    通过 PowerShell 进一步确认,该路径是文件而非目录:

    Test-Path "$HOME\.codex" -PathType Leaf
    # True
    
    Test-Path "$HOME\.codex" -PathType Container
    # False

    Resolution / 解决方法

    I renamed the conflicting file instead of reinstalling or resetting the application:

    我没有重新安装或重置应用,而是直接重命名了冲突文件:

    Rename-Item "$env:USERPROFILE\.codex" ".codex.stale-file.bak"

    Then restarted Codex:

    随后重新启动 Codex:

    Start-Process "shell:AppsFolder\OpenAI.Codex_2p2nqsd0c76g0!App"

    Codex successfully recreated ~/.codex as a directory, initialized its state databases, and started normally.

    Codex 随后成功将 ~/.codex 重新创建为目录,完成状态数据库初始化,并恢复正常运行。

    Suggestion / 改进建议

    It may be worth improving CODEX_HOME initialization:

    建议改进 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 doctor and validating the actual filesystem type of CODEX_HOME can help identify local initialization failures.

    核心结论:「无法加载组织设置」不一定意味着网络或组织策略存在问题。通过 codex doctor 检查诊断信息,并验证 CODEX_HOME 的实际文件系统类型,有助于定位本地初始化故障。

    Hope this helps other Windows users!

    希望这能帮助遇到类似问题的其他 Windows 用户!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    appbugconnectivitywindows-os

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions