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.
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!
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.
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.
@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.
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
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.