Windows: `/app` command fails to launch Codex Desktop from MSIX installation (Access Denied)

Open
#33,960 1 comment 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Assessment

Difficulty
3/5
Estimated time
1-2 days
Newbie friendliness
52/100
Issue type
Bug
Clarity
Mostly clear
Activity status
Quiet
Tech stack
powershell, rust

Research direction

Start by tracing the /app command's Codex CLI launch path and reproducing it in PowerShell 7 on Windows 11 with the Microsoft Store/MSIX installation. Investigate how the CLI starts Codex Desktop from the WindowsApps directory; done means the current session opens without an access denied error.

Written by the indexing model from the issue text.

Description

bug CLI windows-os

Description

On Windows, using /app from Codex CLI fails when trying to open the current session in Codex Desktop.

The CLI attempts to start Codex Desktop through the executable inside the WindowsApps MSIX installation directory, but Windows rejects the launch with an access denied error.

Environment

  • OS: Windows 11
  • Codex CLI version: 0.144.5
  • Codex Desktop version: 26.715.2305.0
  • Installation type: Microsoft Store / MSIX package
  • Shell: PowerShell 7
Dominant language
Rust
Stars
125k
Forks
19.5k
Avg merge
1m
Merged PRs (30d)
1k

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

More from openai/codex

All issues in openai/codex

Similar issues

More Rust issues

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.