You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Windows: latest sandbox ignores "allow this session" permission #7811
bugSomething isn't workingextensionIssues related to the VS Code extensionsandboxIssues related to permissions or sandboxingwindows-osIssues related to Codex on Windows systems
What version of the VS Code extension are you using?
0.4.49
What subscription do you have?
Pro
Which IDE are you using?
VS Code
What platform is your computer?
Windows
What issue are you seeing?
After being prompted and agreeing to use the latest Windows sandbox, the Codex extension now prompts me to accept every change. Clicking on the "Allow this session" option has no effect, it will continue to prompt me every time.
What steps can reproduce the bug?
Install Codex extension and use latest Windows sanbbox. Prompt for edits. Select "Allow this session" - the next edit will also trigger a prompt, regardless of whether it's making another edit to the same file or a different file.
What is the expected behavior?
Selcting "Allow this session" should allow the agent to continue without my involvement.
Additional information
No response
Reacted by sybevb, Nick Gretta, Kons and Andrés Zsögön
Reacted by ae, ransona, Leafmire, Chai, Nick Gretta and Andrés Zsögön
@rudivs thanks for reporting this. The behavior leads me to believe that the sandbox did not get properly enabled, because when Codex has a sandbox, it should not need to prompt at all for edits in your workspace.
Do you have a file on your machine (located in CODEX_HOME/ ) called sandbox_commands.rust.log? If so, would you mind sharing it?
@rudivs thanks for reporting this. The behavior leads me to believe that the sandbox did not get properly enabled, because when Codex has a sandbox, it should not need to prompt at all for edits in your workspace.
Do you have a file on your machine (located in CODEX_HOME/ ) called sandbox_commands.rust.log? If so, would you mind sharing it?
I have the same issue, and I have found this log but it is huge, filled with calls to powershell.exe and codex.exe . Anything specific you're looking for that I can "ctrl+F" in the file?
@blkot, please refer to our Windows documentation. Have you tried enabling the experimental Windows sandbox?
Thanks for the guide, i quickly did a test with disable the sandbox and re-enable it in the settings, also tried running vsc as admin, but still. now i moved to macOS and everything works fine, i'll try again when i get access to my winpc.
bugSomething isn't workingextensionIssues related to the VS Code extensionsandboxIssues related to permissions or sandboxingwindows-osIssues related to Codex on Windows systems
Activity
iceweasel-oai commentedon Dec 10, 2025
@rudivs thanks for reporting this. The behavior leads me to believe that the sandbox did not get properly enabled, because when Codex has a sandbox, it should not need to prompt at all for edits in your workspace.
Do you have a file on your machine (located in CODEX_HOME/ ) called
sandbox_commands.rust.log? If so, would you mind sharing it?bASEstr commentedon Dec 17, 2025
I have the same issue, and I have found this log but it is huge, filled with calls to powershell.exe and codex.exe . Anything specific you're looking for that I can "ctrl+F" in the file?
nubpro commentedon Dec 21, 2025
how can I contribute? I am facing the same silly issue here on windows, I have to always press approve on each file even though I am on agent mode
blkot commentedon Jan 12, 2026
this issue bothers me so much
etraut-openai commentedon Jan 12, 2026
@blkot, please refer to our Windows documentation. Have you tried enabling the experimental Windows sandbox?
nubpro commentedon Jan 13, 2026
he is right, this will resolves the issue
blkot commentedon Jan 14, 2026
Thanks for the guide, i quickly did a test with disable the sandbox and re-enable it in the settings, also tried running vsc as admin, but still. now i moved to macOS and everything works fine, i'll try again when i get access to my winpc.
blkot commentedon Jan 14, 2026
thanks for the feedback, i'll test later.
andybak commentedon Jan 24, 2026
Running inside wsl causes a ton of other issues - especially for non-web projects. Can you just fix codex under Windows? Claude has managed it.
pythonaddict commentedon Mar 4, 2026
Use Pycharm with AI Chat plugin. Unlike Visual Studio Code, Codex in PyCharm doesn't ask you for confirmations for simple commands.