Endless “Extension Host Terminated Unexpectedly” and No Working Solutions

Where does the bug appear (feature/product)?

Cursor IDE

Describe the Bug

I’ve been getting the “Extension host terminated unexpectedly” error non‑stop since last week, which has made Cursor completely unusable.

I’ve tried every method mentioned in the forums including reinstalling the app, adjusting VPN and firewall settings, and even the latest solution posted yesterday, copying the main file from cursor-socket/dist to ./out like C:\Program Files\cursor\resources\app\extensions\cursor-socket\out\main.

But Cursor still keeps crashing. As soon as I type a prompt, it shows “Waiting for extension host”, then pops up the “Extension host terminated unexpectedly” error.

Steps to Reproduce

Just type a prompt, it shows “Waiting for extension host”. And then pops up the “Extension host terminated unexpectedly” error.

Screenshots / Screen Recordings

Operating System

Windows 10/11

Version Information

Version: 2.6.20 (system setup)
VSCode Version: 1.105.1
Commit: b29eb4ee5f9f6d1cb2afbc09070198d3ea6ad760
Date: 2026-03-17T01:50:02.404Z
Build Type: Stable
Release Track: Default
Electron: 39.8.1
Chromium: 142.0.7444.265
Node.js: 22.22.1
V8: 14.2.231.22-electron.0
OS: Windows_NT x64 10.0.26200

Does this stop you from using Cursor

Yes - Cursor is unusable

1 Like

same issue i got and i am unable to resolve this issue. how can i resolve this issue

1 Like

Hey, this is a known packaging bug. The cursor-socket extension is missing its out/ folder, so the extension host crashes on startup.

You mentioned you already tried copying the file, but the key is to copy the entire dist/ directory recursively, not just one file. Since you used the system installer, try this in Command Prompt as Administrator:

cd "C:\Program Files\cursor\resources\app\extensions\cursor-socket"
xcopy dist out\ /E /I

Then fully restart Cursor.

Another user with the same setup confirmed this exact command fixed it: Can't fix "Extension host terminated unexpectedly 3 times within the last 5 minutes" - #5 by Dev_Maestro

If that still doesn’t help, do you have any VPN software installed, even if it’s not active? That has also caused this crash for some users.

This fix is included in newer builds, so once the next update rolls out to you it should be permanently resolved. Let me know how it goes.

I tried your solution, but it still crashes. I then tested the user version as well, along with all the previously mentioned solutions including the xcopy command (I realized the cursor-socket paths are different between the system and user versions), but none of them worked.

Could you please let me know roughly when the new version will be released?

Additionally, since we purchased a subscription plan but are unable to use it until this bug is fixed, would it be possible to get a corresponding extension of the subscription period as compensation?

Thanks and look forword to your reply.