closing cursor is uninstalling the software. Why?
If on Windows, try these steps.
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
-
Open PowerShell as Administrator:
- Click the Start button, type PowerShell, right-click on it, and select Run as Administrator.
-
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
(post deleted by author)
Sorry for the deletes. I didn’t realize the “system” was blocking my post because it was too similar to another. Then, it released them all. Geez, just trying to be helpful;)
My cursor couldn’t recognize automatic code modifications while I was coding. I tried closing and restarting the software (without restarting the computer or system), and then the cursor got deleted by itself!!! However, after reinstalling, the configuration was still there.I am using Windows, but normally if I restart to update, there will be an installation progress bar, and I need to click upgrade to upgrade, but I don’t have this progress bar, I didn’t click upgrade, and all shortcuts are invalid. Because it was closed suddenly, all the content disappeared, I couldn’t know my previous version number, I later downloaded Cursor Setup 0.45.8 - Build 250201b44xw1x2k-x64.exe from the official website, and then reopened it to prompt me that I had an update to 0.45.9
We need to include this in an update, it’s been reported since at least last April. Also, until it’s patched, we should add this information to the FAQ or ReadMe or whatever. It took me WAY too long as a user to find this issue even being addressed, and from what I can tell, it’s a common bug.
Thank you for your help. I’ll be applying it immediately.
Thank you. I appreciate your effort.