After launching Cursor, the Windows Command Prompt window keeps popping up repeatedly

Where does the bug appear (feature/product)?

Cursor IDE

Describe the Bug

When I’m using the Cursor IDE, Windows CMD windows sometimes pop up frequently and immediately close. This issue only started after a recent update, and it also occurs with Agent Windows. The windows pop up and close repeatedly even when no session is active.

Steps to Reproduce

No idea how to reproduce this bug—it just happens as soon as I open Cursor.
But I do have a popup blocker log tool that can catch this anomaly.

Screenshots / Screen Recordings

b90e36a9-1a00-44aa-8275-01b4d871a21c.png

Operating System

Windows 10/11

Version Information

Version: 3.13.10 (user setup)
VS Code Extension API: 1.128.0
Commit: 4f02290ccd9304f0e6bf8ee85f6e9106f02ac1f0
Date: 2026-07-23T21:41:07.333Z
Layout: IDE
Build Type: Stable
Release Track: Nightly
Electron: 40.10.3
Chromium: 144.0.7559.236
Node.js: 24.15.0
V8: 14.4.258.32-electron.0
xterm.js: 6.1.0-beta.256
OS: Windows_NT x64 10.0.26200

Does this stop you from using Cursor

No - Cursor works, but with this issue

Attach a screenshot

Hi @Aebestach_Z

Thank you for reporting this! Sorry you are running into this.

This is a known issue on Windows, and our engineering team is actively investigating. I’ve added your report to the bug ticket where we’re tracking this issue.

Do you have the full process path + command line from their popup-blocker log? That would be a helpful data point!

I saw these two. But I can’t see the command itself, because the window disappears in a flash.

cmd.exe is popping up crazy when an agent is running and it is not getting closes, ultimately freezing the machine to do anything.
Is there any update on this issue or any fixes or workarounds? This is issue is deeply impacting my work.


This was reported already and fixed. Seems like the bug is popping again.

@Colin Do you have any update on this? This is making the life harder work with Cursor.

Still happening on Cursor 3.15.19 (user setup) / Windows 11 (10.0.26200).

Confirmed details:

  • Legacy Terminal Tool is ON (Agents → Inline Editing & Terminal)
  • Fully quit and relaunched Cursor after enabling it
  • Flashing console still appears on every Agent Shell tool call
  • Disabling terminal.integrated.shellIntegration.enabled did NOT help (reverted)
  • Commands still succeed; the issue is the visible OS console window stealing focus

Process parent chain observed while an agent command ran:
Explorer.exe → Cursor.exe → Cursor.exe (NodeService utility) → pwsh.exe -c “”

This matches the earlier root cause: console process spawned without CREATE_NO_WINDOW (0x08000000). Not a Windows user setting; not fixed by Legacy Terminal.

Please re-escalate - this looks like the regression others reported after the earlier “fixed” status.

@fayas_paym No update to share yet, except that the issue’s priority was recently bumped internally. Hope to have news to share soon!

@Colin I hope the priority change set to bring a fix. One thing to note that in my team of three uses Cursor, only one doesn’t have this issue. Other two are having this issue. All are using in WIndows 11 and same version of Cursor.

Hey @fayas_paym Tarun here!

I am unable to reproduce this on my windows 11 machine.
Can you try setting terminal.integrated.windowsUseConptyDll: true and see if that fixes.
It basically tells the program to use the ConPTY that comes bundled with our app instead of the built in one.

Hi @tarun
I applied here in the JSON \AppData\Roaming\Cursor\User\settings.json as you mentioned.
It didn’t fix the issue. I have reset my Windows recently and reinstalled latest Cursor version. Still the issue persists.

Hey @fayas_paym
Can you help me with some info.
Can you share your windows version, the cursor version, how you are opening the IDE (whether its through start menu or task bar or through CLI)
And also the steps you took, so i can try to reproduce from my end.

Would also appreciate sharing the logs via Capture and send debugging data option

@tarun Find the version

Version: 3.18.9 (user setup)
VS Code Extension API: 1.128.0
Commit: 2ba48ff3f7514cc4643c52ca9f7b3173d9b66130
Date: 2026-08-27T01:42:22.092Z
Layout: IDE
Build Type: Stable
Release Track: Default
Electron: 40.10.3
Chromium: 144.0.7559.236
Node.js: 24.15.0
V8: 14.4.258.32-electron.0
xterm.js: 6.1.0-beta.291
OS: Windows_NT x64 10.0.26200

Edition Windows 11 Pro
Version 25H2
Installed on ‎22/‎08/‎2026
OS build 26200.9278
Experience Windows Feature Experience Pack 1000.26100.360.0

How to capture and send debug data?

Hey @Aebestach_Z,

A fix for the console windows flashing up on Windows has landed and will be included in an upcoming version of Cursor. It hides the windows that were popping up when the agent runs commands and hooks, including the ones that could appear in the background while Cursor is idle.

Once you’ve updated to the next version, please give it another try and let me know if you still see any windows flashing, and if so, whether it happens during agent runs or when using the integrated terminal.

cc @fayas_paym @mwolfe

Cursor: 3.22.12
Windows: 10.0.26200

Every Agent Shell invocation flashes 3–4 PowerShell windows.

Minimal reproduction:
Write-Output “test”

Observed process chain:
Cursor.exe --type=utility (NodeService)
→ powershell.exe -ExecutionPolicy Bypass -NonInteractive
→ %TEMP%\ps-script-.ps1

Troubleshooting completed:

  • Full Windows reboot
  • Legacy Terminal Tool disabled
  • ConPTY workaround tested; no improvement
  • All plugin hooks disabled and verified clean
  • Issue persists with a basic Write-Output command

Hey @Andrew_Dickson

3.23 is around the corner (rolling out soon) and should include a fix.

Hey @Colin ,
any update on this issue ?
its so annoying as I cant do anything else thatn waiting for cursor to finsh the task.

Hi @Vinod_Negi

The issue should be resolved in the latest versions of Cursor. What version of Cursor are you using?