Claude Code v2.1.337 ·
On Windows, PowerShell commands with hard-to-check paths are blocked
On Windows, PowerShell commands with a parameter missing its value, or using -Filter, -Stream or -RelativeBasePath, are now blocked
You'll noticeTier: how much it should matter to you
2Useful: my rating, 1 to 5
1Signal: worth watching, 1 to 5
PowerShellArea: what it touches
ImprovementsKind: in v2.1.337,
ImprovementsSection of the release
Unclear It is not clear whether the old "Sandbox is off" warning is still shown somewhere else.
What
On Windows, Claude Code now blocks a PowerShell command before it runs when:
- a parameter has no value
- it uses
-Filter, -Stream or -RelativeBasePath
The message says the command was not run and asks for the path to be put in -Path. This replaces a warning that began "Sandbox is off".
Why
On Windows you may now see PowerShell commands refused that used to run. Putting the path in -Path lets them through.
How sure we are
Something disagreesSomething we can check disagrees with this entry, or the writer said they could not settle it.
The writer flagged doubtIt is not clear whether the old "Sandbox is off" warning is still shown somewhere else.
See this entry in the whole of v2.1.337 →