Known Issue: Claude Code cannot run commands on Windows

Anthropic logo

Claude Code is Anthropic’s agentic coding tool. It can inspect and edit code, run terminal commands, and work with files in your local development environment.

Known issue: Claude Code cannot run commands when it is used directly on a Windows computer. Claude Code may open normally, but commands can fail or be refused because the required security sandbox is not available on native Windows.


Who is affected?

This issue affects people using Claude Code directly on a Windows computer with a Wharton-managed Claude account.

This article does not apply to:

  • Claude Chat in a web browser
  • Claude Code on macOS
  • A specific project, repository, or user account unless Claude Code is running directly on Windows

What you may see

Claude Code can start, but it cannot complete tasks that require terminal commands. You may see a message that a command was refused, unavailable, or could not run in the required sandbox.

What to do

  1. Confirm that you are using Claude Code directly on Windows. This issue is not a general Claude sign-in or chat issue.
  2. Do not change Claude Code security settings to work around the error. In particular, do not disable a required sandbox setting.
  3. Use the WSL2 option below if you want to try a different setup. WSL2 may support the technical sandbox requirements, but it requires local administrator access and Linux setup.
  4. Use a supported non-Windows development environment instead, if one is available to you.
Need to continue working now?
If you have access to a supported non-Windows development environment, use that environment for Claude Code. Do not move University data, repositories, credentials, or other sensitive material to an unapproved device or service.

Possible WSL2 path

WSL2 is not supported or managed by Wharton Computing as a workaround for this issue. However, it may provide a technical path forward because it can support the sandbox that Claude Code requires. If you have local administrator access and choose to set it up, you can try the steps below at your own risk.

Status

Wharton Computing is investigating this native-Windows issue. There is currently no supported Wharton Computing fix or estimated resolution date. The WSL2 route above is an unsupported, self-directed alternative.

For current vendor instructions see: