3.24.9 Windows 10: Agent shell ~100s per command (echo ok); fixed only after useLegacyTerminal in settings.json

Describe the Bug

Environment

  • Cursor: 3.24.9 (user setup)
  • Commit: cd6d2a1f2e56e9841f0ed9c7c24542087b4e69b0
  • Date: 2026-10-08
  • OS: Windows_NT x64 10.0.19045
  • Shell: PowerShell (integrated terminal default)
  • Project: local workspace (not Remote SSH)

Timeline

  • ~15 days ago (before our national holiday), Agent was fast for daily module work (~30 min per feature).
  • After auto-update to 3.24.x, the same workflows took hours; every Agent step that runs a shell command felt stuck on “running command”.

Symptoms

  • Simple command echo ok in a new Agent chat took about 1 min 40 s (~100 s) to complete.
  • The same command in the integrated terminal finishes in milliseconds.
  • Not a model/network issue: even trivial stdout-only commands hit the delay.

What did NOT work initially

  • Legacy Terminal Tool was enabled in Cursor Settings UI, but behavior did not improve.
  • Checked %APPDATA%\Cursor\User\settings.json: cursor.terminal.useLegacyTerminal was missing until added manually.

Workaround (confirmed)

Added to User settings.json:

"cursor.terminal.useLegacyTerminal": true,
"terminal.integrated.defaultProfile.windows": "PowerShell"







### Operating System
Windows 10/11

### Version Information
3.24.9

### For AI issues: which model did you use?
Composer 2.5

Hi there!

We detected that this may be a bug report, so we’ve moved your post to the Bug Reports category.

To help us investigate and fix this faster, could you edit your original post to include the details from the template below?

Bug Report Template - Click to expand

Where does the bug appear (feature/product)?

  • Editor, Tab & Chat (autocomplete, Composer, in-editor agent)
  • Terminal & commands
  • Models, pricing & API keys (availability, Auto/Max, BYOK/Bedrock)
  • MCP & tools
  • Cloud Agents & Automations (cursor.com/agents, scheduled/event)
  • BugBot & Code Review
  • Cursor CLI
  • Cursor Mobile
  • Remote (SSH / Dev Containers / WSL)
  • Account, billing & login
  • Something else…

Describe the Bug
A clear and concise description of what the bug is.


Steps to Reproduce
How can you reproduce this bug? We have a much better chance at fixing issues if we can reproduce them!

  1. …
  2. …
  3. …

Expected Behavior
What is meant to happen here that isn’t working correctly?


Screenshots / Screen Recordings
If applicable, attach images or videos (.jpg, .png, .gif, .mp4, .mov)


Operating System

  • Windows 10/11
  • MacOS
  • Linux

Version Information

  • For Cursor IDE: Menu → About Cursor → Copy
  • For Cursor CLI: Run agent about in your terminal
IDE:
Version: 2.xx.x
VSCode Version: 1.105.1
Commit: ......

CLI:
CLI Version 2026.01.17-d239e66

For AI issues: which model did you use?
Model name (e.g., Sonnet 4, Tab…)


For AI issues: add Request ID with privacy disabled
Request ID: f9a7046a-279b-47e5-ab48-6e8dc12daba1
For Background Agent issues, also post the ID: bc-…


Additional Information
Add any other context about the problem here.


Does this stop you from using Cursor?

  • Yes - Cursor is unusable
  • Sometimes - I can sometimes use Cursor
  • No - Cursor works, but with this issue

The more details you provide, the easier it is for us to reproduce and fix the issue. Thanks!

Hey @wk7418, thanks for the detailed report and the timings!

One thing worth knowing: cursor.terminal.useLegacyTerminal isn’t a setting Cursor reads from settings.json, so that line on its own isn’t what sped things up. The Legacy Terminal Tool switch in Cursor Settings is the real control. Most likely the restart after editing the file is what fixed it, since a fresh window starts from a clean state.

If it gets slow again, could you try this before restarting?

  1. Open a new Agent chat and ask it to run echo ok. Note how long it takes.
  2. In the same chat, ask it to read one small file (for example “read README.md”). Does that also take 20 seconds or more?
  3. Press Ctrl+Shift+P, run Developer: Show Running Extensions, and take a screenshot.
  4. Open the Output panel (View → Output), pick Extension Host in the dropdown, and copy the last 50 lines.
  5. Press Ctrl+Shift+P, run Developer: Reload Window, then repeat step 1.

Please reply with the results of steps 1, 2 and 5, the screenshot and log, and roughly how many Agent chats (and subagents) were open at the time. Also let us know if you have any hooks or MCP servers configured, and whether you use a VPN or proxy.

When I enable this setting, send an “ok”. Previously the response took about 1 minute and 40 seconds, but now it’s around 1–3 seconds, all because I turned on this configuration. Should I revert the configuration and then run the test following your instructions? No VPN or proxy was used during the test.

image