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 app Settings no longer shows the WSL section, so I can't switch the agent runtime to WSL #14925
What version of the Codex App are you using (From “About Codex” dialog)?
26.313.4956.0
What subscription do you have?
API based
What platform is your computer?
Microsoft Windows NT 10.0.26100.0 x64
What issue are you seeing?
The Codex Windows app no longer shows the "Windows Subsystem for Linux (WSL)" section in Settings, so I cannot switch the agent runtime from Windows native to WSL.
What I see:
The integrated terminal can be set to WSL.
The separate WSL settings section is missing from Settings.
Because of that, I can no longer change the agent runtime to WSL.
Why this looks like a bug:
The state file still contains a WSL runtime flag in %USERPROFILE%\.codex\.codex-global-state.json.
In my case, the relevant values are:
integratedTerminalShell: "wsl"
runCodexInWindowsSubsystemForLinux: false
This suggests the underlying setting still exists, but the Settings UI to control it has disappeared.
What steps can reproduce the bug?
Steps to reproduce:
Open Codex on Windows.
Open Settings.
Look for the Windows Subsystem for Linux (WSL) section.
Observe that the section is not present.
What is the expected behavior?
Expected behavior:
Settings should show the WSL section and allow switching the agent runtime from Windows native to WSL.
Actual behavior:
The WSL section is missing.
I can set the terminal to WSL, but the agent still runs as Windows native.
Additional information
Additional context:
Attempts to force WSL execution from the current session fail with Wsl/Service/CreateInstance/E_ACCESSDENIED
This makes it impossible to move the agent runtime into WSL from the UI
Settings does not show the WSL / agent runtime section.
The integrated terminal can still be pointed at WSL.
Because the WSL runtime setting is missing, I cannot try the documented Windows-native -> WSL workaround path from the UI.
Why this mattered in my case:
I was debugging a Windows in-app browser / Browser Use failure where the page itself loads, but Codex-side browser inspection/control fails with: failed to start codex app-server: The system cannot find the path specified. (os error 3)
The natural workaround would have been to switch the agent runtime to WSL, but this Settings section is not present.
Potentially related local Windows symptom on the same install:
Get-Command rg resolves to bundled C:\Program Files\WindowsApps\OpenAI.Codex_26.422.1952.0_x64__2p2nqsd0c76g0\app\resources\rg.exe
executing that bundled rg.exe fails with Access is denied
So there may be a broader Windows Store / WindowsApps runtime problem here, and the missing WSL runtime UI removes an important escape hatch for affected users.
Related issue for the browser-side failure: #19187.
Activity
lczanna commentedon Mar 18, 2026
this is now ok in the current version
CMadden8 commentedon Apr 23, 2026
Another reproducible case of this on Windows, with a likely related downstream consequence.
Environment:
26.422.1952.0Get-AppxPackage OpenAI.Codexinstall location:C:\Program Files\WindowsApps\OpenAI.Codex_26.422.1952.0_x64__2p2nqsd0c76g0What I see:
Why this mattered in my case:
failed to start codex app-server: The system cannot find the path specified. (os error 3)Potentially related local Windows symptom on the same install:
Get-Command rgresolves to bundledC:\Program Files\WindowsApps\OpenAI.Codex_26.422.1952.0_x64__2p2nqsd0c76g0\app\resources\rg.exerg.exefails withAccess is deniedSo there may be a broader Windows Store / WindowsApps runtime problem here, and the missing WSL runtime UI removes an important escape hatch for affected users.
Related issue for the browser-side failure: #19187.