Skip to content

Local sandbox on Windows failed to run command with error E_NOTIMPL #3849

@SLdragon

Description

@SLdragon

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.

  ╭─╮╭─╮
  ╰─╯╰─╯  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

Metadata

Metadata

Assignees

No one assigned

    Labels

    area:permissionsTool approval, security boundaries, sandbox mode, and directory restrictionsarea:platform-windowsWindows-specific: PowerShell, cmd, Git Bash, WSL, Windows Terminal

    Type

    No fields configured for Bug.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions