Windows: Claude Code fails to launch from Codex with “Access is denied”
Nobody has claimed this yet.
- Dominant language
- Rust
- Stars
- 125k
- Forks
- 19.4k
- PR merge metrics
- PR metrics pending
Description
What version of the Codex App are you using (From “About Codex” dialog)?
26.901.51231
What subscription do you have?
Plus
What platform is your computer?
Microsoft Windows NT 10.0.26200.0 x64
What issue are you seeing?
Claude Code v2.1.263 runs normally in PowerShell, but the Codex desktop agent cannot launch the same executable. Even running it with --version fails with:
Program 'claude.exe' failed to run: An error occurred trying to start process. Access is denied.
The executable is installed under:
%LOCALAPPDATA%\Microsoft\WinGet\Packages\Anthropic.ClaudeCode_Microsoft.Winget.Source_8wekyb3d8bbwe\claude.exe
Granting read access through the agent's permission request and restarting Codex did not resolve the error.
What steps can reproduce the bug?
- On Windows, install Claude Code using:
winget install Anthropic.ClaudeCode - Reopen PowerShell and confirm Claude Code launches successfully.
- Open a Codex desktop task with Default permissions.
- Ask the agent to run the installed claude.exe using its absolute path and the --version argument.
- Observe “Access is denied” before Claude starts.
Platform: Microsoft Windows NT 10.0.26200.0 x64.
What is the expected behavior?
Codex should run the executable when the required scoped permissions are granted, or explain which permission or policy prevents execution and how to request the necessary access while keeping the sandbox enabled.
Additional information
No response
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
No repository file or test is named. Reproduce the Windows launch through the Codex desktop agent, compare it with PowerShell execution, and trace the permission or sandbox handling for the absolute executable path. Done means Claude Code launches with the required scoped permission, or Codex clearly identifies the blocking policy and how to request access while keeping the sandbox enabled.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- powershell, rust
- Domain
- devtools, operating-systems, security
- Issue type
- Bug
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Active
- Clarity
- Mostly clear
- Newbie friendliness
- 48/100