Repository navigation
Description
What version of the Codex App are you using (From “About Codex” dialog)?
26.915.4065.0
What subscription do you have?
Pro
What platform is your computer?
Windows 11 Pro, version 25H2, OS Build 26200.9457, x64
What issue are you seeing?
On Windows 11, the codex-windows-sandbox service continues running as SYSTEM even after I close the ChatGPT/Codex desktop app and perform a normal Windows restart.
Environment:
- ChatGPT Windows app version: 26.915.4065.0
- Windows 11 Pro, version 25H2, OS Build 26200.9457, x64
- Codex sandbox configuration: [windows] sandbox = "elevated"
- CODEX_HOME environment variable is not set
- %USERPROFILE%.codex.sandbox\sandbox.log does not exist
Observed behavior:
- Close the ChatGPT/Codex Windows desktop app.
- Restart Windows normally.
- Log back into Windows.
- Check Task Manager.
- codex-windows-sandbox is still running under SYSTEM and is also shown as a running ChatGPT/Codex-related Windows service.
Why this matters:
I need to perform a Windows DPAPI CurrentUser validation in a separate user PowerShell process. The validation intentionally refuses to run while any codex/chatgpt-related process exists. I do not want to bypass that security check or manually force-stop/disable the SYSTEM service without an officially supported procedure.
OpenAI Support directed me to report this issue here because there is currently no documented supported procedure for temporarily stopping/restoring codex-windows-sandbox, and no documented verification procedure establishing its isolation from DPAPI CurrentUser.
Additional diagnostics:
- .sandbox/sandbox.log is not present.
- In-app feedback was submitted twice, but the feedback dialog closed immediately after submission and no session ID was displayed.
- Session records exist for 2026-09-20 with filename timestamps 13-22-57, 16-30-32, and 17-36-36.
Expected behavior / requested guidance:
Please provide a supported way to either:
- temporarily stop codex-windows-sandbox and restore it afterward, or
- officially verify that the persistent SYSTEM sandbox service is isolated from Windows DPAPI CurrentUser operations.
I have not force-stopped the service, changed the sandbox setting, or bypassed the security validation.
What steps can reproduce the bug?
- Use the ChatGPT Windows desktop app with Codex and [windows] sandbox = "elevated".
- Close the ChatGPT/Codex desktop app completely.
- Restart Windows normally.
- Sign back in to Windows.
- Do not launch ChatGPT or Codex.
- Open Task Manager and search for "codex".
- Observe that codex-windows-sandbox is still running under SYSTEM.
- In Task Manager > Services, observe the corresponding ChatGPT/Codex sandbox service is still running.
This is reproducible after a normal Windows restart. I have not force-stopped the service, disabled it, or changed the sandbox configuration.
What is the expected behavior?
After the ChatGPT/Codex Windows desktop app is closed and Windows is restarted, there should be an officially supported and documented way to place codex-windows-sandbox into a state that allows independent Windows DPAPI CurrentUser validation to be performed safely.
If the SYSTEM service is intentionally designed to remain running, please provide an officially supported method to verify that it is isolated from DPAPI CurrentUser operations.
I do not want to force-stop or disable the service, change the elevated sandbox configuration, or bypass security validation.
Additional information
No response
Activity
naoya-chujo commentedon Sep 23, 2026
Follow-up: this issue is currently blocking a production go-live for our internal business system.
We have completed the database protection, read-only production audit, migration Dry Run preflight, Commit preflight, rollback preparation, and post-migration acceptance plan.
The remaining blocker is the owner-side Windows DPAPI CurrentUser self-test. Our security gate intentionally refuses to run while any Codex/ChatGPT-related process exists, and codex-windows-sandbox continues to run as SYSTEM after the ChatGPT/Codex app is closed and Windows is restarted.
We do not want to force-stop/disable the service, change sandbox = "elevated", or bypass the security gate without an officially supported procedure.
Could an OpenAI/Codex maintainer please advise on either:
a supported way to temporarily stop codex-windows-sandbox and restore it afterward, or
an official way to verify that the persistent SYSTEM sandbox service is safely isolated from Windows DPAPI CurrentUser operations?
Environment remains:
Windows 11 Pro 25H2, OS Build 26200.9457
ChatGPT Windows app 26.915.4065.0
[windows] sandbox = "elevated"
CODEX_HOME not set
.codex.sandbox\sandbox.log not present
No production data has been modified while waiting for guidance.
Thank you. This is the final external blocker before our planned Dry Run and production migration.