Skip to content

Maxim #34329

Open
Open

Description

@mkalachenkov-tech

Windows 10: "Complete Windows setup" fails with codex-windows-sandbox-setup.exe

Summary

The Microsoft Store version of ChatGPT/Codex cannot complete the initial "Complete Windows setup" process.

After selecting either Yes or No, the application immediately fails with an error related to codex-windows-sandbox-setup.exe.

The application never finishes initialization and cannot be used.


Environment

Operating System

  • Windows 10 Pro
  • Version 22H2
  • Build 19045

ChatGPT Desktop

  • Installed from Microsoft Store
  • Package: OpenAI.Codex
  • Version: 26.715.7063.0

Hyper-V is enabled and detected by Windows.


Steps to reproduce

  1. Install ChatGPT/Codex from Microsoft Store.
  2. Launch the application.
  3. The application displays Complete Windows setup.
  4. Click Yes or No.
  5. Initialization fails with an error mentioning:
codex-windows-sandbox-setup.exe

Expected behavior

The setup should complete successfully and ChatGPT should launch normally.


Actual behavior

The application cannot complete Windows setup and exits.


Diagnostics already performed

Windows integrity

Verified:

  • DISM
  • SFC

No integrity problems found.


Hyper-V

Verified that Hyper-V is present and enabled.


Package installation

Verified that the Microsoft Store package is installed correctly.

Package:

OpenAI.Codex

Version:

26.715.7063.0

Package contents

Verified that the package contains Codex.exe.


Local runtime cache

Verified:

%LOCALAPPDATA%\OpenAI\Codex\bin

Contents:

codex.exe
codex-command-runner.exe
codex-code-mode-host.exe
codex-windows-sandbox-setup.exe
rg.exe

The helper executable is present.


Sandbox helper

Launching

codex-windows-sandbox-setup.exe

manually works.

It exits with:

Error: helper_request_args_failed: expected payload argument

This indicates:

  • Windows can execute the helper.
  • The executable is functional.
  • It expects arguments from the parent process.

Digital signature

Verified using:

Get-AuthenticodeSignature

Result:

Status: Valid

Publisher:

OpenAI OpCo, LLC

Certificate chain is valid through Microsoft.


LocalState

Verified that

%LOCALAPPDATA%\Packages\OpenAI.Codex_2p2nqsd0c76g0\LocalState

exists.

No useful application logs are created before failure.


Reinstallation attempts

Performed multiple times:

  • uninstall
  • reinstall
  • remove application data
  • remove .codex
  • reinstall from Microsoft Store

The issue persists.


Windows Error Reporting

Windows records WER events during startup attempts.

Most recent report:

StoreAgentInstallFailure1

This appears related to Microsoft Store acquisition rather than the application crash.

No useful crash report for codex.exe or
codex-windows-sandbox-setup.exe
is generated.


Conclusion

The issue does not appear to be caused by:

  • missing executable
  • damaged executable
  • invalid signature
  • broken installation
  • missing runtime files
  • disabled Hyper-V

The helper executable:

  • exists,
  • launches correctly,
  • has a valid OpenAI signature,
  • is trusted by Windows.

This suggests the failure occurs while the desktop application attempts to invoke the helper during the "Complete Windows setup" phase.


Request

Could you please investigate whether this is a regression in:

OpenAI.Codex 26.715.7063.0

on

Windows 10 Pro 22H2 (Build 19045)

The issue occurs before the application produces useful logs, making local troubleshooting extremely difficult.

Activity

  1. added
    bug
    app
    windows-os
    sandbox
    on Jul 20, 2026
  2. changed the title [-]Ьфчшь[/-] [+]Maxim[/+] on Jul 20, 2026
  3. github-actions commented on Jul 20, 2026

    @github-actions
    Contributor

    English translation:

    Windows 10: "Complete Windows setup" fails with codex-windows-sandbox-setup.exe

    Summary

    The Microsoft Store version of ChatGPT/Codex cannot complete the initial "Complete Windows setup" process.

    After selecting either Yes or No, the application immediately fails with an error related to codex-windows-sandbox-setup.exe.

    The application never finishes initialization and cannot be used.


    Environment

    Operating System

    • Windows 10 Pro
    • Version 22H2
    • Build 19045

    ChatGPT Desktop

    • Installed from Microsoft Store
    • Package: OpenAI.Codex
    • Version: 26.715.7063.0

    Hyper-V is enabled and detected by Windows.


    Steps to reproduce

    1. Install ChatGPT/Codex from Microsoft Store.
    2. Launch the application.
    3. The application displays Complete Windows setup.
    4. Click Yes or No.
    5. Initialization fails with an error mentioning:
    codex-windows-sandbox-setup.exe
    

    Expected behavior

    The setup should complete successfully and ChatGPT should launch normally.


    Actual behavior

    The application cannot complete Windows setup and exits.


    Diagnostics already performed

    Windows integrity

    Verified:

    • DISM
    • SFC

    No integrity problems found.


    Hyper-V

    Verified that Hyper-V is present and enabled.


    Package installation

    Verified that the Microsoft Store package is installed correctly.

    Package:

    OpenAI.Codex
    

    Version:

    26.715.7063.0
    

    Package contents

    Verified that the package contains Codex.exe.


    Local runtime cache

    Verified:

    %LOCALAPPDATA%\OpenAI\Codex\bin
    

    Contents:

    codex.exe
    codex-command-runner.exe
    codex-code-mode-host.exe
    codex-windows-sandbox-setup.exe
    rg.exe
    

    The helper executable is present.


    Sandbox helper

    Launching

    codex-windows-sandbox-setup.exe
    

    manually works.

    It exits with:

    Error: helper_request_args_failed: expected payload argument
    

    This indicates:

    • Windows can execute the helper.
    • The executable is functional.
    • It expects arguments from the parent process.

    Digital signature

    Verified using:

    Get-AuthenticodeSignature
    

    Result:

    Status: Valid
    

    Publisher:

    OpenAI OpCo, LLC
    

    Certificate chain is valid through Microsoft.


    LocalState

    Verified that

    %LOCALAPPDATA%\Packages\OpenAI.Codex_2p2nqsd0c76g0\LocalState
    

    exists.

    No useful application logs are created before failure.


    Reinstallation attempts

    Performed multiple times:

    • uninstall
    • reinstall
    • remove application data
    • remove .codex
    • reinstall from Microsoft Store

    The issue persists.


    Windows Error Reporting

    Windows records WER events during startup attempts.

    Most recent report:

    StoreAgentInstallFailure1
    

    This appears related to Microsoft Store acquisition rather than the application crash.

    No useful crash report for codex.exe or
    codex-windows-sandbox-setup.exe
    is generated.


    Conclusion

    The issue does not appear to be caused by:

    • missing executable
    • damaged executable
    • invalid signature
    • broken installation
    • missing runtime files
    • disabled Hyper-V

    The helper executable:

    • exists,
    • launches correctly,
    • has a valid OpenAI signature,
    • is trusted by Windows.

    This suggests the failure occurs while the desktop application attempts to invoke the helper during the "Complete Windows setup" phase.


    Request

    Could you please investigate whether this is a regression in:

    OpenAI.Codex 26.715.7063.0

    on

    Windows 10 Pro 22H2 (Build 19045)

    The issue occurs before the application produces useful logs, making local troubleshooting extremely difficult.

  4. github-actions commented on Jul 20, 2026

    @github-actions
    Contributor

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

    Powered by Codex Action

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

    appbugsandboxwindows-os

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions