# Extension host error, no fix with xcopy, windows 11, Network Diagnostics Chat canceled error

**URL:** <https://forum.cursor.com/t/extension-host-error-no-fix-with-xcopy-windows-11-network-diagnostics-chat-canceled-error/155368>\
**Category:** Bug Reports\
**Tags:** extensions, windows, crashes\
**Created:** [March 20, 2026, 9:38am UTC](https://forum.cursor.com/t/extension-host-error-no-fix-with-xcopy-windows-11-network-diagnostics-chat-canceled-error/155368 "2026-03-20T09:38:00Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![top\_dev](https://sea3.discourse-cdn.com/cursor1/user_avatar/forum.cursor.com/top_dev/32/102516_2.png) [@top\_dev](https://forum.cursor.com/u/top_dev)\
**Post date:** [March 20, 2026, 9:38am UTC](https://forum.cursor.com/t/extension-host-error-no-fix-with-xcopy-windows-11-network-diagnostics-chat-canceled-error/155368/1 "2026-03-20T09:38:00Z")

</div>

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

Cursor IDE

### Describe the Bug

extension host error  
restarting again and again.  
xcopy did not solved

### Steps to Reproduce

network diagnostics

### Expected Behavior

any solution?

### Screenshots / Screen Recordings

 ![Screenshot 2026-03-20 013230.png](https://us1.discourse-cdn.com/cursor1/original/3X/3/7/37c3e74da9f372bf2ca8a20b1648aa2dfeb0de7f.png)

### Operating System

Windows 10/11

### Version Information

Version: 2.6.20 (user 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.26100

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

not response

### 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 20, 2026, 11:40am UTC](https://forum.cursor.com/t/extension-host-error-no-fix-with-xcopy-windows-11-network-diagnostics-chat-canceled-error/155368/4 "2026-03-20T11:40:41Z")

</div>

Hey, this is a known issue with the extension host on Windows. The `cursor-socket` folder is missing the `out/` directory, so the extension host keeps crashing in a loop. The Chat error in Network Diagnostics is just a side effect of that crash.

You said `xcopy` didn’t help. Let’s make sure the command was run correctly. If you have a user setup install, the path should be:

```bat
cd "%LOCALAPPDATA%\Programs\cursor\resources\app\extensions\cursor-socket"
xcopy dist out\ /E /I

```

Open Command Prompt as administrator, run both commands, then fully close and reopen Cursor.

If the first command says `path not found`, Cursor might be installed as a system setup:

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

```

A couple more things:

- Do you have any VPN software installed, even if it’s not running? Another user with the same issue fixed it by uninstalling their VPN: [Extension host terminated unexpectedly no matter what i try](https://forum.cursor.com/t/extension-host-terminated-unexpectedly-no-matter-what-i-try/154429)
- Can you paste the output of `dir "%LOCALAPPDATA%\Programs\cursor\resources\app\extensions\cursor-socket\"` so I can see what’s inside?

The team is aware of this bug. A fix is being prepared for the next update. Let me know how it goes.

---

<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 11, 2026, 11:40am UTC](https://forum.cursor.com/t/extension-host-error-no-fix-with-xcopy-windows-11-network-diagnostics-chat-canceled-error/155368/5 "2026-04-11T11:40:45Z")

</div>

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