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.
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 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
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 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
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
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.
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.
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.
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.
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!
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ā¦