Cursor removing Itself?

After some investigations, I find it was caused by the updater. I observe a process automatically running when I opened by cursor (0.45.8) - the latest version I downloaded from cursor website.

C:\Users<USER>\AppData\Local\cursor-updater\pending\Cursor Setup 0.45.9 - Build 250202tgstl42dt.exe

This process, auto-started at my fresh new installation, deleted the previous cursor but failed to install the 0.45.9 version. This made me not able to find cursor on my Windows at all. Here is my Windows version.

Edition Windows 11 Home
Version 24H2
Installed on ā€Ž10/ā€Ž5/ā€Ž2024
OS build 26120.3073
Experience Windows Feature Experience Pack 1000.26100.50.0

This may help you reproduce this issue because I can reproduce it upon a fresh installation. This prevent me from using cursor at all. Please assist.

i have the same issue , i just codeing and it just deleting itself.

I have exactly the same problem, but every time I close the application, I have already installed different versions and it does the same thing in all of them.
It is a bit annoying to have to install it again every time you go to work.

Im using the setup files
Cursor Setup 0.45.8 - Build 250201b44xw1x2k-x64

Same problem hereā€¦ first time it happened to me was today.

Iā€™m using cursor on my windows 11. Iā€™m facing the same issue for last 5 days. I tried the fresh installer from cursor every time. but when i close cursor and re opens it, it will uninstall itself.

Iā€™ve been having the same problem, Cursor Setup 0.45.8 - Build 250201b44xw1x2k-x64, uninstalling itself repetitiously. Windows 11 24H2 26100.2894.

I think the error keeps occuring because a pending update failed to regitser. If youā€™re still getting the ā€œUpdate Cursor?ā€ notification, update to latest version, currently Cursor Setup 0.45.9 - Build 250202tgstl42dt -which for some reason isnā€™t the default download yet (???). Also delete pending update folder in C:\Users\YouDandyLittleThing\AppData\Local\cursor-updater\pending

1 Like

Hey, if anyone can help us out with this, weā€™d be super appreciative!

If/when this next happens, if anyone is comfortable doing so, weā€™d love to get some logs from this. Comment here if youā€™d be willing to help, and Iā€™ll reach out to people as/when needed, but the fundamental steps would be to pull logs from %USERPROFILE%\AppData\Roaming\Cursor\logs\main.log and Windows Event Viewer around the time Cursor was closed and subsequently deletes itself.

Thanks in advance for anyone willing to help us diagnose this!

I had this issue today, and I think I figured out what was it causing it, at least for me. Itā€™s an issue with Windows Security. Windows Security recently prompted me to update my settings for ā€œApp & Browser Controlā€ and when I clicked ā€œTurn Onā€, thatā€™s when the issue seemed to happen.

To fix it, I went to ā€œWindows Securityā€ ā†’ ā€œApp & Browser Controlā€ ā†’ ā€œReputation-based Protection Settingsā€ and turned off ā€œCheck Apps and Filesā€ and ā€œPotentially Unwanted App Blockingā€, and then it started working fine for me.

For the Cursor team, I would suggest looking into why Windows flags Cursor as a potentially unwanted app. @danperks

1 Like

Just happened to me 5 minutes ago. Iā€™ve browsed to the directory you suggested but see multiple folders under \logs. Under the most recent folder entry here, Iā€™ve grabbed the ā€œmainā€ log. LMK where to send it. LMK what you want out of Event Viewer and how.

Additionally, I performed a Windows search for Cursor.exe, and found a setup for 0.45.9, under \local\cursor-updater.ā€¦ Which may confirm previous suspicions.

1 Like

Happened again. Like before, after closing cursor, the shortcut for it stopped working for a brief moment. It became usable afterwards.

This is the only thing that main.log says (itā€™s fresh, from two minutes ago!):

2025-02-04 22:43:58.000 [info] update#setState disabled
2025-02-04 22:43:58.000 [info] update#ctor - updates are disabled as there is no update URL

EDIT: Oh, and there are no relevant logs in the event viewer, forgot to mention. If the temporary unavailability of cursor after closing is intentional, then this bug may no longer be occuring on my end (it is extremely annoying when it happens though.)

Ok, itā€™s not actually uninstalling, itā€™s messing with the path, I believe.

Icons disappear, start menu links deliver an error. But I just clicked on a JSON file, which I have Cursor as the default. The program opened right up.

Thanks all, this is super helpful!

Will hopefully get this resolved soonā€¦

i have the same issue. nearly every time i close cursor it deinstalls. Thanks for looking into this. version 0.45.9

This is really frustrating. Reinstalling everything from scratch each time takes so much time. The issue keeps persisting and happens every time now, unlike before when it only occurred after an update or once in awhile. Now, if I accidentally close the cursor, I have to go through the entire installation process again just to reopen it.

moved the folder with the cursor to another place and it is no longer deleted

I think the reason itā€™s illusory is users are misinterpreting the underlying behavior of their own computers.

On my Windows 10 system, the program is not actually uninstalling itself - probably why thereā€™s no dialogue box or apparent runtime for an actual uninstall when it disappears.

Looks like a paths issue.

Default program correlation remains - JSON files, etc. still carry the Cursor icon, and when double-clicked will open the program seemingly from the heavens above.

Iā€™m wondering if naming the application Cursor wasnā€™t a flawed design decision, certainly complicates searching for the logs files. :sweat_smile:

Iā€™m still experiencing almost the same issue. Initially, Cursor would randomly try to uninstall itself or disappear after attempting the auto-update in version 0.45.4. After getting frustrated with that problem, I decided to download version 0.45.8. However, now the issue has evolvedā€”certain icons, executables, and other file paths randomly disappear.

As someone mentioned earlier, the problem now seems to be related to the file paths. I still have the option to open files with Cursor, and it works properly. To mitigate the issue, Iā€™ve pinned the .exe file to the taskbar.

In conclusion, I can still open files with Cursor even after its path disappears. It remains a random issue, but at least thereā€™s a workaround for now. Thanks to everyone for your help!

Did this help anyone/is anyone experiencing this issue for the same reason I was?

This just happened to me for the second time on Windows 11. How can this happen?
The start time on Windows is also terribly long, sometimes 30 secondsā€¦