Skip to content

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

Closed

Description

@takon-gi

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
  4. 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)

Activity

  1. added
    bug
    app
    windows-os
    sandbox
    on Jul 30, 2026
  2. github-actions commented on Jul 30, 2026

    @github-actions
    Contributor

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

    Powered by Codex Action

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    appbugsandboxwindows-os

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions