What version of the Codex App are you using (From “About Codex” dialog)?
26.601.10930
What subscription do you have?
ChatGPT Pro
What platform is your computer?
Windows 11, x64
What issue are you seeing?
The Codex Windows app cannot set up its sandbox. The issue appears global, not workspace-specific.
Exact error shown in the Codex app:
Couldn't set up non-admin sandbox
Retry setup to continue
Earlier I also saw:
Couldn't set up Agent sandbox with Admin permissions
You can continue with the non-admin sandbox
I tested this in two different workspaces:
-
Main workspace:
D:\Download\download\GPT Ethiopia Podcast\AS
-
Clean test workspace:
C:\temp\codex_test_clean
The clean test workspace was newly created and empty. The same sandbox setup error still occurred there.
Troubleshooting already attempted:
- Fully closed Codex from Task Manager.
- Relaunched Codex as administrator.
- Tried Retry setup multiple times.
- Changed permission mode away from Full access to Ask for approval.
- Opened Codex settings → Configuration.
- Ran Diagnose issues in Codex Workspace.
- Diagnose result:
Codex dependencies look healthy.
- Renamed the main workspace
.codex folder to:
.codex_broken_20260605
- Added this config:
[windows]
sandbox = "elevated"
- Restarted Codex and tested again.
- Then changed it to:
[windows]
sandbox = "unelevated"
- Restarted Codex and tested again.
- Opened a clean workspace at:
C:\temp\codex_test_clean
- Retry setup still failed in the clean workspace.
Expected behavior:
Codex should initialize the Windows sandbox and allow a task to start.
Actual behavior:
Codex repeatedly fails before any task can run. Since the same error happens in a brand-new clean C:\temp workspace, this seems to be a global Windows sandbox setup failure rather than corruption in my original project folder.
What steps can reproduce the bug?
- Install/open Codex Desktop on Windows 11.
- Open a workspace.
- Try to start any task.
- Codex shows:
Couldn't set up non-admin sandbox.
- Click
Retry setup.
- The same sandbox setup error returns.
- Close Codex completely using Task Manager.
- Relaunch Codex as administrator.
- Try setup again.
- Codex still fails.
- Create a brand-new clean folder:
C:\temp\codex_test_clean.
- Open that clean folder as a new Codex workspace.
- Try
Retry setup again.
- The same non-admin sandbox setup failure occurs in the clean workspace.
What is the expected behavior?
Codex should successfully initialize the Windows sandbox in a normal local workspace, including a clean folder such as C:\temp\codex_test_clean, and then allow a task to start.
Additional information
Additional notes:
- The issue happens before any Codex task can run.
- The Codex settings diagnostic says:
Codex dependencies look healthy.
- The failure persists after restarting Codex and relaunching as administrator.
- The failure persists after testing both
windows.sandbox = "elevated" and windows.sandbox = "unelevated".
- The failure also persists in a new clean local folder, so it does not appear to be caused only by my original project workspace.
- Screenshots are available showing the repeated sandbox setup failure.
What version of the Codex App are you using (From “About Codex” dialog)?
26.601.10930
What subscription do you have?
ChatGPT Pro
What platform is your computer?
Windows 11, x64
What issue are you seeing?
The Codex Windows app cannot set up its sandbox. The issue appears global, not workspace-specific.
Exact error shown in the Codex app:
Couldn't set up non-admin sandboxRetry setup to continueEarlier I also saw:
Couldn't set up Agent sandbox with Admin permissionsYou can continue with the non-admin sandboxI tested this in two different workspaces:
Main workspace:
D:\Download\download\GPT Ethiopia Podcast\ASClean test workspace:
C:\temp\codex_test_cleanThe clean test workspace was newly created and empty. The same sandbox setup error still occurred there.
Troubleshooting already attempted:
Codex dependencies look healthy..codexfolder to:.codex_broken_20260605[windows]sandbox = "elevated"[windows]sandbox = "unelevated"C:\temp\codex_test_cleanExpected behavior:
Codex should initialize the Windows sandbox and allow a task to start.
Actual behavior:
Codex repeatedly fails before any task can run. Since the same error happens in a brand-new clean
C:\tempworkspace, this seems to be a global Windows sandbox setup failure rather than corruption in my original project folder.What steps can reproduce the bug?
Couldn't set up non-admin sandbox.Retry setup.C:\temp\codex_test_clean.Retry setupagain.What is the expected behavior?
Codex should successfully initialize the Windows sandbox in a normal local workspace, including a clean folder such as
C:\temp\codex_test_clean, and then allow a task to start.Additional information
Additional notes:
Codex dependencies look healthy.windows.sandbox = "elevated"andwindows.sandbox = "unelevated".