Windows app: "Finish Windows setup" never starts elevated sandbox setup; `sandbox = "unelevated"` works
Open 💬 4 comments Opened Jul 29, 2026 by kateriez
💡 Likely answer: A maintainer (github-actions[bot], contributor)
responded on this thread — see the highlighted reply below.
Environment
- Windows 11
- ChatGPT MSIX package
OpenAI.Codex - Version: 26.721.11231.0
Problem
On first launch the app displays Finish Windows setup. Clicking Try Windows setup again immediately returns to the same screen.
Unlike other reports, the elevated sandbox setup helper never appears to start.
Expected
The app launches the elevated sandbox setup helper, requests elevation if needed, completes setup, and starts normally.
Actual
- No UAC prompt.
codex-windows-sandbox-setup.exeis never launched.- No sandbox log is created under
%USERPROFILE%\.codex. - The app repeatedly asks to finish Windows setup.
Diagnostics
- UAC confirmed working (elevated Command Prompt prompts normally).
- Reinstalled ChatGPT.
Get-AppxPackage OpenAI.Codexreports Status = Ok.codex-windows-sandbox-setup.exeandelevation_service.exeexist in the package.- No Application Error or Windows Error Reporting events generated.
- WMI process tracing shows no launch of the sandbox setup helper after clicking Try Windows setup again.
Workaround
Creating %USERPROFILE%\.codex\config.toml with:
[windows]
sandbox = "unelevated"
allows the application to start and function normally.
This seems distinct from reports where the helper runs but setup loops, since in this case the helper never starts.
4 Comments
Potential duplicates detected. Please review them and close your issue if it is a duplicate.
Powered by Codex Action
This appears related to #34748, but the failure occurs at a different stage.
In my case, no UAC prompt appears and WMI process tracing confirms that
codex-windows-sandbox-setup.exeis never launched. No sandbox log is created. Settingsandbox = "unelevated"immediately allows the app to work.In #34748, the setup helper ran and UAC was approved, so this may be a distinct failure mode rather than a duplicate.
I can confirm this issue.
Environment
Behavior
Unlike the original report, I do receive the Windows UAC prompt.
However, after clicking "Yes", absolutely nothing happens.
The application immediately returns to:
"Windows setup incomplete"
and remains stuck in the "Finish Windows setup" loop forever.
Already tested
None of these steps changed the behavior.
Task Manager shows multiple Codex processes running while setup never completes.
Additional diagnostics:
This appears to be related to the elevated sandbox setup never completing rather than a corrupted installation.