Serious OS corruption after Agent mode crash (Windows)

Symptoms:

While using Cursor Agent mode to edit multiple files, the editor crashed suddenly. After the crash:

Windows File System Error (-2147219196) occurred.

All app settings (Chrome logins, etc.) and desktop icons were lost.

Windows user profile seemed to be corrupted/reset.

All Cursor settings and chat history disappeared.

Environment:

OS: Windows 11

Version: Cursor v2.3

Error Code: -2147219196

Hey, thanks for the report, and sorry to hear about the system issues.

Just to clarify: Cursor can only write to its own app data folders (for example, %AppData%\Roaming\Cursor). It doesn’t have access to Chrome profiles, Windows user profile files, or desktop icon settings. The Windows error code -2147219196 usually points to a broader Windows file system issue that happened around the same time as the crash.

That said, I’d still like to investigate the Cursor crash itself. Could you please share:

  1. Your free disk space (Windows Settings > System > Storage)
  2. Your full Cursor version (Help > About Cursor > Copy)
  3. What Agent mode was doing right before it crashed
  4. Whether you have any MCP servers configured (Cursor Settings > MCP)

For the Windows profile issue, I’d recommend running sfc /scannow in an elevated Command Prompt and checking Windows Event Viewer for errors around the crash time. That should help confirm the root cause of the system-level corruption.

Hi Dean, thanks for the quick reply.

I understand your point about permissions, but the system-level corruption occurred exactly at the moment Cursor crashed during a heavy Agent task. I had already run sfc /scannow and chkdsk, but many OS components (like PowerShell shortcuts and Chrome profiles) remain broken.

Here is the information you requested:

  • Free disk space: 875 GB free out of 952 GB.

  • Cursor Version: v2.2.43 (Commit: 32cfbe848b35d9eb320980195985450f244b3030)

  • Agent Activity: The Agent was using the Gemini Flash model to process multiple Markdown files from a local folder (Source_Pool on Desktop). It was performing complex reasoning based on the CrewAI framework to structure YouTube content.

  • MCP Servers: I have 5 MCP servers configured, but none were active during this specific session.

The error -2147219196 appeared immediately after the crash, and even my Windows user profile seems partially inaccessible now. I am now attempting a System Restore to recover my OS environment.

Update on the investigation:

I found the exact commands that caused the data loss in the PowerShell logs (Event ID 4104).

1. The Agent executed Move-Item and Remove-Item -Recurse -Force on my 01_Knowledge_Base folder using a corrupted path (繧ィ繝翫・繝シ繧ケ...). 2. As a result, the 01_Knowledge_Base folder is now empty, and the data is lost. 3. The Agent also used mkdir to create folders with corrupted names on my desktop.

This confirms that the Agent’s aggressive file operations on incorrectly encoded paths were the direct cause of the Windows File System Error and subsequent profile corruption.