# Extension host terminated unexpectedly (Windows 11)

**URL:** <https://forum.cursor.com/t/extension-host-terminated-unexpectedly-windows-11/153902>\
**Category:** Bug Reports\
**Tags:** crashes, windows, extensions\
**Created:** [March 6, 2026, 4:59pm UTC](https://forum.cursor.com/t/extension-host-terminated-unexpectedly-windows-11/153902 "2026-03-06T16:59:31Z")\
**Posts on this page:** 6\
**Page:** 1

<div class="post-metadata">

**Author:** ![Jason4](https://avatars.discourse-cdn.com/v4/letter/j/a5b964/32.png) [@Jason4](https://forum.cursor.com/u/Jason4)\
**Post date:** [March 6, 2026, 4:59pm UTC](https://forum.cursor.com/t/extension-host-terminated-unexpectedly-windows-11/153902/1 "2026-03-06T16:59:31Z")

</div>

### Where does the bug appear (feature/product)?

Cursor IDE

### Describe the Bug

Cursor repeatedly shows the error “Extension host terminated unexpectedly 3 times within the last 5 minutes.” The extension host keeps restarting even when no workspace is opened and no user extensions are installed.

From Developer Tools → Console, I consistently see errors indicating that an internal Cursor module is missing:

Cannot find module …\cursor\resources\app\extensions\cursor-socket\out\main

and

Extension host (LocalProcess [role: retrieval-always-local]) terminated unexpectedly  
Running extensions:  
anysphere.cursor-always-local  
anysphere.cursor-resolver  
anysphere.cursor-retrieval

There are also related errors such as:

anysphere.cursor-socket failed: Cannot find module  
Failed to resolve module specifier ‘@anysphere/context’

This suggests that the internal Cursor AI retrieval service fails to start because the cursor-socket module cannot be found, which causes the extension host to crash repeatedly.

### Steps to Reproduce

Install Cursor on Windows 11

Launch Cursor normally

After startup, a notification appears saying:  
“Extension host terminated unexpectedly 3 times within the last 5 minutes.”

Opening Developer Tools → Console shows the missing cursor-socket module errors.

The issue occurs even with no workspace opened.

### Expected Behavior

Cursor should start normally without the extension host crashing repeatedly.

### Operating System

Windows 10/11

### Version Information

Version: 2.6.12 (user setup)  
VSCode Version: I .105.1  
Commit: 1917e900aOc4b0111 dc7975777cfff60853059dO  
Date: (1 day ago)  
Build Type: Stable  
Release Track: Default  
Electron: 39.6.0  
Chromium: 142.0.7444.265  
Node.js: 22.22.0  
V8: 14.2231.22-electron.O  
OS: Windows NTx64 10.0.26200

### Does this stop you from using Cursor

Yes - Cursor is unusable

---

<div class="post-metadata">

**Author:** ![deanrie](https://sea3.discourse-cdn.com/cursor1/user_avatar/forum.cursor.com/deanrie/32/1263_2.png) [@deanrie](https://forum.cursor.com/u/deanrie)\
**Post date:** [March 6, 2026, 6:17pm UTC](https://forum.cursor.com/t/extension-host-terminated-unexpectedly-windows-11/153902/3 "2026-03-06T18:17:09Z")

</div>

Hey, thanks for the detailed report. The `Cannot find module cursor-socket` error usually means the install is corrupted or incomplete, so the core internal extensions are missing files they need to run.

Try a clean reinstall:

- Fully close Cursor
- Uninstall it via Windows Settings \> Apps
- Delete leftover files:
  - `C:\Users\<YourUser>\AppData\Local\Programs\cursor\`
  - `%APPDATA%\Cursor\`

- Download the latest version from [Cursor · Download](https://cursor.com/download)
- Launch Cursor and check if the extension host stays stable

A couple more things to check:

- Is your antivirus (Windows Defender or a third party tool) quarantining files in the Cursor install folder? Some AV tools flag new or unknown binaries. Check your quarantine log.
- Was this a fresh install of 2.6.12, or an update from an older version?

Let me know how it goes.

---

<div class="post-metadata">

**Author:** ![Jason4](https://avatars.discourse-cdn.com/v4/letter/j/a5b964/32.png) [@Jason4](https://forum.cursor.com/u/Jason4)\
**Post date:** [March 6, 2026, 8:05pm UTC](https://forum.cursor.com/t/extension-host-terminated-unexpectedly-windows-11/153902/4 "2026-03-06T20:05:22Z")

</div>

I already tried a clean reinstall, but the issue still persists. I fully closed Cursor, uninstalled it, deleted `C:\Users\<my-user>\AppData\Local\Programs\cursor\` and `%APPDATA%\Cursor\`, then installed the latest version again.

I also disabled Windows Defender and confirmed there are no third-party antivirus tools or quarantined files.

This was a fresh install of version 2.6.12, not an update.

Unfortunately, the “Extension host terminated unexpectedly” error and the `Cannot find module cursor-socket` error still appear.

This issue suddenly happend today morning, it used to work well till yesterday

---

<div class="post-metadata">

**Author:** ![Michal\_Palounek](https://avatars.discourse-cdn.com/v4/letter/m/65b543/32.png) [@Michal\_Palounek](https://forum.cursor.com/u/Michal_Palounek)\
**Post date:** [March 9, 2026, 1:46pm UTC](https://forum.cursor.com/t/extension-host-terminated-unexpectedly-windows-11/153902/5 "2026-03-09T13:46:38Z")

</div>

I have the same problem. Cursor is showing me “The extension host terminated unexpectedly” and nothing works because of it. In my opinion, Cursor is one of the worst tools…. I honestly don’t understand what kind of people develop something like this… My subscription is about to expire and I’m cancelling — this tool would be too expensive even if it were free.

---

<div class="post-metadata">

**Author:** ![deanrie](https://sea3.discourse-cdn.com/cursor1/user_avatar/forum.cursor.com/deanrie/32/1263_2.png) [@deanrie](https://forum.cursor.com/u/deanrie)\
**Post date:** [March 13, 2026, 3:57pm UTC](https://forum.cursor.com/t/extension-host-terminated-unexpectedly-windows-11/153902/7 "2026-03-13T15:57:01Z")

</div>

This specific `Cannot find module cursor-socket` issue was fixed in version 2.6.18. You’re on 2.6.12, so please download the latest version from [https://cursor.com/download](https://cursor.com/download) and check if the error is gone.

If the extension host still crashes after updating, try this:

- Cursor Settings (not VS Code settings) \> Indexing & Docs \> turn off Codebase Indexing and Index Repositories for Instant Grep (BETA)
- Restart Cursor

Another user with the same crash found that “Instant Grep (BETA)” was the cause on large projects: [Extension host terminated unexpectedly always - #6 by facio313](https://forum.cursor.com/t/extension-host-terminated-unexpectedly-always/154225/6)

Let me know how it goes after updating.

---

<div class="post-metadata">

**Author:** ![system](https://sea3.discourse-cdn.com/cursor1/user_avatar/forum.cursor.com/system/32/99069_2.png) [@system](https://forum.cursor.com/u/system)\
**Post date:** [April 4, 2026, 3:57pm UTC](https://forum.cursor.com/t/extension-host-terminated-unexpectedly-windows-11/153902/8 "2026-04-04T15:57:40Z")

</div>

Closed on April 4, 2026, 3:57pm UTC

This topic was automatically closed 22 days after the last reply. New replies are no longer allowed.
