Cursor uninstalled itself and didn’t install afterwards continued

@mk18, the log is super helpful, thanks. It shows something very different from a “reboot between phases”:

Delete directory recursively: ".../cursor/resources" (attempt 1..11)
ERRO Access is denied. (os error 5)

inno_updater can’t delete the resources folder because some process is holding file handles on it. After 11 retries the updater gives up, and Cursor ends up half-uninstalled. The fact this happened 3 times in 2 days on 3 different versions means something is consistently blocking that specific folder.

To narrow it down, can you share:

  • Which antivirus or EDR are you using? Defender, Sentinel, CrowdStrike, Bitdefender, or something corporate
  • Is it a user install at %LOCALAPPDATA%\Programs\cursor\ or a system-wide install at C:\Program Files\cursor\? Or both at the same time, see Windows updater fails with dual install (system-wide + per-user) and leaks ~2GB of temp folders
  • Was wrangler running in the background? Is it installed globally or per-project? It might have an open handle on something inside resources/
  • Is OneDrive, Dropbox, or Google Drive syncing the Cursor folder? They often keep handles open
  • Can you open Sysinternals Process Explorer, find the process that has a handle on cursor\resources during the update, and share the process name?

Workaround for now so this doesn’t happen again: go to File > Preferences > Settings, search for update.mode, set it to none. Then update manually.

This is standard user installation of cursor so it’s under %LOCALAPPDATA%\Programs\cursor\.

No one drive, dropbox, etc. Antivirus is bitdefender (but nothing on bitdefender alerts or logs).

Okay probably found the reason ( as you said):

I leave everything to opus 4.7 (under cursor) to install missing components, set things up, etc.

It’s running pnpm > node > wrangler under different ports so I can locally test my apps / apis / end points etc, before pushing it to cloudflare workers.

Before installing new version or closing cursor I always stop running agent jobs. Agent told me they’re stopped. But as I can see they’re still running.

c:\Users\user\AppData\Local\Programs\cursor\resources\app\resources\helpers\node.exe

But cursor told me they’re stopped!

Additional info:

This also happens when I quit cursor (without restarting the pc) and come back couple of hours later to continue work but agents enters into loop becasue those wrangler (node) instances are still working in the background (ports are in use).

Then I stop the agent which enters into into forever loop, tell agent to kill them all so it kills the node instances via powershell command, then it re-runs the nodes.

Hope it helps.

@mk18, this is a great repro, thanks for digging into it. Everything lines up now:

  • The Cursor agent runs pnpm dev and that starts Wrangler in a background terminal
  • Wrangler is running via node.exe, and it is not the system Node, it is the bundled one at cursor\resources\app\resources\helpers\node.exe
  • When the updater tries to remove resources/, that same node.exe still has an open handle on it
  • inno_updater retries 11 times, hits Access is denied (os error 5), then gives up, so Cursor ends up half uninstalled

This also matches the second symptom you mentioned: after you quit Cursor, the Wrangler processes do not die, so on the next launch the agent goes into a loop because the ports are already taken. The agent thinks it stopped them, but they are still running.

So this is actually two related bugs: process tracking (the agent reports “stopped” while jobs are still running) and the updater, which should fail safe and roll back if it cannot delete the folder. Both are reported, no ETA yet.

What you can do right now:

  1. Most reliable: run long lived dev servers like pnpm dev, wrangler dev, next dev outside the agent, in an external terminal like Windows Terminal or a separate WSL window. Then they will not use Cursor’s bundled node.exe and they will not block updates.
  2. Before update or quit: open Task Manager or Process Explorer and check for node.exe with the path ...\cursor\resources\app\resources\helpers\node.exe. If you see it, kill it manually. PowerShell option if you are sure you do not need Node elsewhere:
    Get-Process node -ErrorAction SilentlyContinue | Where-Object { $_.Path -like "*\cursor\resources\*" } | Stop-Process -Force
    
  3. Disable auto update until this is fixed: File > Preferences > Settings, search for update.mode, set it to none. You will need to update manually, but you will avoid the half uninstall.

Your log and screenshot helped a lot. I’ll add this to the issue. We did not have such a clean repro for this exact path before, bundled node plus an agent spawned long running server. If you can catch the process name that is holding the handle in Process Explorer using Find > Find Handle, then search for cursor\resources, send it here and it will be even more precise.

Part #1:

Reproducing on freshly restarted pc.

  1. opened the cursor.
  2. just tell agent to start services (3 services in total).
  3. confirmed services are running.

below the screenshot of cursor after a clean startup + 3 services running by agent:

(3 embedded media rule avoids adding more SS will post as part #2)

Part #2:

below screenshots of cursor after I stop 3 background terminals, wait for agent to respond like “you stopped the background tasks, do you want me to re-start them” so I’ll be sure agent also “sure!!!” that tasks stopped + I close the cursor:

Not an expert about this but, same 4 nodes was running under cursor.exe before. After I close, instead of they terminate with cursor they detach and continue to live by their own. So shouldn’t be the expectation is also termination of these node.exe processes under cursor.exe?

Hope these helps.

Cursor agent giving me error everytime I do update.
I have now to go to cursor to install the cursor from the download page.

Hey @islam!

Sorry to hear about that.

What do your logs here say?

I have the same issue. Exact same error pop-ups.

cursor-inno-updater-1778077659.txt (3.8 MB)

Here is the update log. This happenned for the second time today. Last time I had to reinstall it and try updating it multiple times.

Where does the bug appear (feature/product)?

Cursor IDE

Describe the Bug

i dont know how to describe it clearly but here’s the steps for it :
every single time i have to install cursor again , i install it open it work with it and if there is no updates everything is fine but the moment that little pop up appears in the bottom left corner about an update i know that the instant i close cursor its gonna disappear from my os literally like it was never installed an i have to install it again.
if get more info on this i will update this other then that it became annoying ( its the 3rd time now )

Steps to Reproduce

i think you just have to wait for an update at the moment thats all i have in common for the 3 times it happened .

Expected Behavior

the entire app is gone from ur os ?

Operating System

Windows 10/11

Version Information

IDE:
version : 3.2

For AI issues: which model did you use?

no ai issues

Does this stop you from using Cursor

Yes - Cursor is unusable

Where does the bug appear (feature/product)?

Cursor IDE

Describe the Bug

Hey there,

I’m running Windows 10 and the latest version of Cursor, and every time I shut down my computer, Cursor uninstalls itself. I always close all Cursor instances before shutting down, so I’m not sure what’s causing it.

Let me know if you need any more information from my end.
Thanks!

Steps to Reproduce

Download the latest version, use it, then close your computer. When you reboot, it should be gone.

Operating System

Windows 10/11

Version Information

Version: 3.3.27 (user setup)
VSCode Version: 1.105.1
Commit: 80b138a7a0a948e1a798e9ed7867d76a1ba9a310
Date: 2026-05-08T02:26:22.498Z
Layout: editor
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.19045

Does this stop you from using Cursor

Sometimes - I can sometimes use Cursor

This have been happening since cursor launched…
It’s so annoying, I have to reinstall Cursor everyday .. I don’t understand how they haven’t fix this yet

Fix this problem. It’s happening every day. (Windows 11)

@Frunza_Cristian, @Carlos_skHard, @ilyes, @Schenk0, thanks for the reports. This is a known bug we’re tracking. No ETA yet, but this thread helped narrow down at least one root cause, see post #29: Cursor uninstalled itself and didn’t install afterwards continued - #29 by deanrie

The issue is that inno_updater can’t delete the resources/ folder because something is holding a file handle on it. It retries 11 times, then gives up halfway. In @mk18’s case, it was Cursor’s bundled node.exe kept alive by an agent-spawned wrangler dev. We’ve also seen it triggered by reboots while Cursor is still partially running.

Workaround until this is fixed: go to File > Preferences > Settings, search for update.mode, set it to none. You’ll need to update manually, but it should stop Cursor from disappearing.

If you want to help pin down your specific case, please share:

  • Install path: %LOCALAPPDATA%\Programs\cursor\ user or C:\Program Files\cursor\ system? If both at the same time, that’s a separate bug: Windows updater fails with dual install (system-wide + per-user) and leaks ~2GB of temp folders
  • Do you run any long-lived background processes through the Cursor agent, like pnpm dev, wrangler dev, next dev, etc.?
  • Antivirus or EDR, like Defender, Bitdefender, Sentinel, CrowdStrike, corporate?
  • Does it happen only after an update prompt, or also after plain restarts with no update involved?
  • Do you launch Cursor from WSL via cursor . or directly from Windows?

The more specific the repro steps, the better the chances of a targeted fix. I’ll post back here when there’s progress.

This problem is so much worse now. Before I can just simply avoid pressing update, now its every time i close cursor. it sucks to be a windows user.

uninstalls nearly every update at this point for my setup on windows 11

Hey @Met-Sam, @Liam_James, thanks for the updates. We’re tracking the bug, but there’s no ETA yet.

@Met-Sam, “every time on close” is a pattern we’ve seen before in this thread, see post #20 and #29. It’s likely the same scenario. Some process is holding a handle on cursor\resources\, so the updater can’t clean the folder and fails halfway through. In most cases it’s the bundled node.exe started by the agent for a long-lived dev server like pnpm dev, wrangler dev, next dev, etc.

Workaround for now: go to File > Preferences > Settings, search for update.mode, set it to none. You’ll need to update manually, but the “disappearing” should stop.

To add more details to the issue, can you share:

  • Install path: %LOCALAPPDATA%\Programs\cursor\ user install or C:\Program Files\cursor\ system install? If you have both, that’s a separate bug, see Windows updater fails with dual install (system-wide + per-user) and leaks ~2GB of temp folders
  • Are you running anything long-lived via the agent like pnpm dev, wrangler dev, next dev, other dev servers?
  • Antivirus or EDR: Defender, Bitdefender, Sentinel, CrowdStrike, corporate?
  • Does it happen only after the update prompt, or also on normal restart or close?
  • Do you launch Cursor from WSL via cursor ., or directly from Windows?

If there’s an update about a fix, we’ll reply here.

Using the powershell command to kill/force stop \cursor\resources\* seems to be a workaround for now.

Get-Process node -ErrorAction SilentlyContinue | Where-Object { $_.Path -like “*\cursor\resources*” } | Stop-Process -Force

Hope the Cursor team provides a fix, with updates coming through every other day, not being able to update regularly is not acceptable. Please +1 prioritise this.

Thank you Dean, I’ll try the workaround. I’ll look into the details you mentioned and will share.

@Met-Sam, thanks, keep me posted. If you can catch the process that’s holding a handle on cursor\resources\ Process Explorer > Find > Find Handle, search for cursor\resources, that would really help add more details to the issue.

@Jasminder_Hayer, thanks for sharing the PowerShell command, it’s a useful workaround for users who have bundled node.exe processes stuck after closing Cursor. To improve the chances of a targeted fix, if you have time, please share the same details: install path %LOCALAPPDATA%\Programs\cursor\ or C:\Program Files\cursor\, what exactly was launched via the agent pnpm dev, wrangler dev, next dev, your AV or EDR, and whether this happens only after the update prompt or on any close or restart.

No ETA on a fix yet, but we’re tracking the bug.

@deanrie I am able to update Cursor using the button now. Also frustrating init git bug has been fixed after that update. Thank you all.