Windows desktop app: all shell commands fail with CryptUnprotectData error 0x8009000B

Resolved 💬 1 comment Opened Jul 30, 2026 by takon-gi Closed Jul 30, 2026
💡 Likely answer: A maintainer (github-actions[bot], contributor) responded on this thread — see the highlighted reply below.

Codex App version

26.721.4979.0

Platform

Windows
Japanese Windows environment
Codex desktop app

Problem

All shell commands launched from the Codex desktop app fail before
PowerShell starts.

Exact error:

windows sandbox: CryptUnprotectData failed: 2148073483

Decimal error 2148073483 corresponds to 0x8009000B
(NTE_BAD_KEY_STATE).

Steps to reproduce

  1. Open the Codex desktop app.
  2. Start a local Codex task.
  3. Ask Codex to execute a simple PowerShell command, for example:

Get-Location

  1. The command fails immediately with the CryptUnprotectData error.

Troubleshooting already performed

  • Reset the Codex app
  • Fully terminated Codex-related processes
  • Restarted Windows
  • Started a new Codex task
  • Retried multiple PowerShell commands
  • Retried access to both workspace and external folders

The problem persists after all these steps.

Additional information

Codex CLI is not installed globally.
Running codex --version in an external PowerShell returns
CommandNotFoundException.

The failure appears to occur in the desktop app's bundled Windows
sandbox before the requested PowerShell process starts.

Feedback/thread ID:
(/feedbackで表示されたID)

View original on GitHub ↗

1 Comment

github-actions[bot] contributor · 29 days ago

Potential duplicates detected. Please review them and close your issue if it is a duplicate.

  • #35841

Powered by Codex Action