github / github/copilot-cli

Local sandbox on Windows failed to run command with error E_NOTIMPL

Open
#3,849 0 comments 1 reaction 0 assignees View on GitHub
area:permissions area:platform-windows
Dominant language
Shell
Stars
11.2k
Forks
1.9k
Avg merge
14h 16m
Merged PRs (30d)
6

Description

### Describe the bug

Enable local sandbox on Windows, and then try to run command, it would failed as below with error `Experimental_CreateProcessInSandbox returned E_NOTIMPL.`

```bash
╭─╮╭─╮
╰─╯╰─╯ Copilot v1.0.64-0 uses AI.
█ ▘▝ █ /experimental
▔▔▔▔

● Tip: /remote
└ Toggle remote control from GitHub web and mobile

● Sandboxing has been enabled.

❯ run dir command, if failed, give me error message

⌄ Thought for 1s
│ The user wants me to run the `dir` command. On Windows PowerShell, `dir` is an alias for `Get-ChildItem`, so it should work.

● SHELL Run dir command in home directory (sandboxed) 3 lines…
dir

● The  dir  command failed with the following error:

Experimental_CreateProcessInSandbox returned E_NOTIMPL.
The following velocity keys are not enabled: 61389575, 61155944.
Enable them and retry, or use schema version '0.4.0-alpha'
to fall back to the AppContainer backend.

This is a sandbox backend error — the sandbox environment couldn't create the process due to missing velocity keys. You may want to review your sandbox configuration using the  /sandbox  command.
```

### Affected version

v1.0.64-0

### Steps to reproduce the behavior

_No response_

### Expected behavior

_No response_

### Additional context

_No response_

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.