Cursor keeps uninstalling itself

For the past 4 days cursor has been very slow and when running commands in the terminal it crashes and uninstalls.

The version am using is the latest 0.41

2 Likes

Hi @ashleydelph

Are you using Windows?

1 Like

Yes am using windows 11

2 Likes

me too, It keeps uninstalling itself whenever I shutdown my laptop…
Version: 0.42.2
VSCode Version: 1.93.1
Commit: c499aee5f16e67815c7dc795ff338dc8ab3e07f0
Date: 2024-10-12T05:39:54.471Z
Electron: 30.4.0
Chromium: 124.0.6367.243
Node.js: 20.15.1
V8: 12.4.254.20-electron.0
OS: Windows_NT x64 10.0.22631

1 Like

so what’s the current solution? keep installing again and again?

1 Like

still have this issue, just now it uninstalled it self after it crashed and asked me to remove the shorcut, happens every now and then, annoying as â– â– â– â– 

1 Like

Hey, do you remember if you had an update pending when the crash occurred?

1 Like

I posted this on another thread, hope it helps.

Windows Troubleshooting Instructions

If you’re experiencing this issue on Windows, follow these steps. In my case, the problem wasn’t directly tied to Cursor - likely system files on your system causing the issue. These steps will clean up your system and resolve underlying problems.

1. Uninstall and Reinstall Cursor

  • Uninstall Cursor (if installed):

    • Open Settings and go to Apps & Features (or use Add or Remove Programs in the Control Panel).
    • Locate Cursor in the list and uninstall it if it’s still installed.
  • Download the Latest Version:

    • Visit the official Cursor website to download the latest version.
    • Install the new version after the download is complete.

2. Run System Cleanup Commands in PowerShell

  1. Open PowerShell as Administrator:

    • Click the Start button, type PowerShell, right-click on it, and select Run as Administrator.
  2. Run the Following Commands One at a Time:
    Copy and paste each command into PowerShell, pressing Enter after each to ensure it completes before proceeding to the next.

    DISM /Online /Cleanup-Image /StartComponentCleanup
    DISM /Online /Cleanup-Image /CheckHealth
    DISM /Online /Cleanup-Image /ScanHealth
    DISM /Online /Cleanup-Image /RestoreHealth
    SFC /scannow
    

*Note: SFC /scannow is what fixed it for me, but the other commands are good to run in this instance if you’re having this issue.

3. Check Your Hard Drive for Errors

As a bonus step, check your hard drive for issues. This process takes time, so consider running it before a long break.

  • Run CHKDSK:
    Open PowerShell as Administrator (if not already open) and run:

    CHKDSK C: /F /V /R /offlinescanandfix
    
  • Reboot Your Computer:
    Once CHKDSK completes, restart your computer to apply any changes.


Cheers!
-Dave

Nope.

Still busted as of today, I upgraded to the newest cursor (finished the download), and have reinstalled it 3 times this week. It uninstalls when I manually close the window when I have a process running in the terminal
Using Windows 11

1 Like

I just had this happen to me (running latest Windows OS). I had the latest verison as of late Aug (unsure exactly which as it was un-openable after this incident). Im on the Ultra plan.

What happened to me was as follows:

  • Was coding in cursor using Agent etc as per normal.
  • My terminal froze, couldnt unfreeze it, couldnt close cursor - so I did end task on it.
  • It was then unopenable from the desktop shortcut saying it was missing
  • restarted PC, icon is now gone and unopenable.
  • had to uninstall cursor, reinstall - now working again.

I didnt get prompted or notified of any kind of pending/current update happening too - just FYI, as I saw that is a common question, I was literally just using it, it froze, it broke, it was gone.

Looks like this issue has been around for ages ( Cursor removing Itself? ). Is there a solution yet? I’m tempted to just go back to vscode and only come back to cursor after this has been solved.

the issue still exists i don’t know how come this still happening till the moment

I was having this issue but I may have discovered a workaround and a theory for the cause.

Workaround: check where cursor is running from and if it’s running from your AppData/Local/Programs/Cursor folder, change your shortcuts to run from Program Files/Cursor instead.

Theory: cursor is installed “for this user only” (your user’s appdata folder) and also “for everyone” (program files). If there’s a new version to install and you don’t install it yourself, cursor might be trying to install the update itself. First it uninstalls but targets your appdata copy, then it reinstalls and installs the program files copy. Shortcuts now won’t work properly.

Ever since changing my start menu and pinned taskbar shortcut to point to the program files installation this issue went away for me.

Happened to me yesterday and today.

After shutting down the laptop and opening Cursor on the other day, the .exe file was uninstalled.
Windows 11 as well…

Weird thing is that I’m on Nightly mode, so updates should be applied automatically, no pending updates, right?

There were reports that got merged than auto stale closed even though between the two reports there were hundreds of people reporting having also experienced. Shutdown computer last night, booted up today, and cursor is no longer there. The program folder is empty save for the three unins000* files.