Skip to content

Windows: Python and FFmpeg fail with Access is denied in desktop chats #58615

Open

Description

@yastrebtsovdmitrii-cmyk

What version of the Codex App are you using (From “About Codex” dialog)?

Unknown — diagnostics included in Feedback ID

What subscription do you have?

Paid workspace subscription; exact plan name unknown.

What platform is your computer?

Windows, OS version 10.0.26300.0

What issue are you seeing?

Local command execution fails in new Windows desktop chats.

Python 3.12.10 and FFmpeg 9.0.2 both run successfully from my own PowerShell. However, launching the same executables by their full paths through ChatGPT fails.

Errors (personal paths redacted):

ResourceUnavailable: Program 'python.exe' failed to run: An error occurred trying to start process '[USER_PROFILE]...\python.exe' with working directory '[WORKSPACE]'. Access is denied.

ResourceUnavailable: Program 'ffmpeg.exe' failed to run: An error occurred trying to start process '[USER_PROFILE]...\ffmpeg.exe' with working directory '[WORKSPACE]'. Access is denied.

Both PowerShell calls exit with code 1. The executables do not start.

whoami succeeds with exit code 0 and returns:
[COMPUTER_NAME]\codexsandboxoffline

Other errors observed during troubleshooting:

exec_command failed: CreateProcess { message: "Rejected("Failed to create unified exec process: exec-server transport disconnected")" }

An additional-access attempt returned:
aborted by user after 0.1s

A subsequent attempt ended after the assistant announced it would request permission, without a result or visible approval prompt.

Prompt used (translated from Russian):
"Check Python and FFmpeg versions using their full paths. If Access is denied occurs, request additional permission through the standard tool. If the request is unavailable, report the active approval_policy. Do not reinstall anything or change Windows permissions."

Full access is enabled in General. Configuration is explicitly set to On request and Workspace write. Earlier affected sessions reported approval_policy=never and workspace-write despite Full access being enabled.

Restarting the computer 3–5 times did not resolve the issue. The original chat previously performed video editing successfully; new chats fail.

Feedback ID: 2f46409e-3fdd-4630-b9f8-acca29918e6c

What steps can reproduce the bug?

Feedback ID: 2f46409e-3fdd-4630-b9f8-acca29918e6c

What is the expected behavior?

The desktop app should launch Python and FFmpeg successfully when the required access is granted.

If sandbox restrictions prevent execution, the app should display an actionable approval request. After approval, it should run the command and return its output, or report a clear error explaining why execution remains blocked.

Permission settings shown in the UI should be consistent with the effective session permissions, or explain any overriding restrictions.

The assistant should return the command result or an explicit failure instead of ending after announcing that it will run the command.

Additional information

Feedback ID: 2f46409e-3fdd-4630-b9f8-acca29918e6c

The affected conversation and diagnostic logs were successfully submitted through /feedback. Browser tabs and browser logs were excluded.

Windows OS version reported by diagnostics: 10.0.26300.0.

The checked executables and project files exist. Free disk space at the time of testing was approximately 36 GB on C: and 160 GB on D:.

No programs were reinstalled and no Windows file permissions were changed during troubleshooting.

A separate browser issue was also observed: Edge tabs were detected, but attempting to access them returned:
Timed out after 10000ms waiting for CDP command Emulation.setFocusEmulationEnabled.

It is unknown whether the browser issue is related to the local execution problem.

Activity

  1. added
    app
    on Nov 1, 2026
  2. added
    bug
    windows-os
    sandbox
    tool-calls
    on Nov 1, 2026
  3. github-actions commented on Nov 1, 2026

    @github-actions
    Contributor
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

    appbugsandboxtool-callswindows-os

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions