Windows keeps deleting cursor and its execution file which requires a re-installation of the program. There is an error that pops up when closing cursor that it can’t read it’s db file then cursor has to be re-installed.
Steps to Reproduce
Random. Click Exit from Cursor and unable to read local file message pops up. When attempting to re-launch cursor the application can not longer be found. Now when trying to re-install cursor I get a windows protection error.
Hey, thanks for the report. This is a known Windows auto-updater bug. When you exit, it starts removing the old version, but the new install doesn’t finish in time. This often happens because Windows Defender or another antivirus is holding files, or the system shuts down too quickly, and Cursor ends up fully removed. The “can’t read db file” error is a side effect of the same process.
If you see a Windows SmartScreen or protection warning, click More info, then Run anyway. This is expected and safe for the official build from cursor.com.
If reinstall fails again or the app folder disappears, add the Cursor install folder to Windows Defender exclusions: Windows Security > Virus & threat protection > Manage settings > Exclusions. It’s usually C:\Users\<your_user>\AppData\Local\Programs\cursor.
This reduces the chance Defender deletes files during the next update.
We’re tracking this bug, but I can’t share an exact fix timeline yet. I’ll follow up when there’s an update. Let me know if reinstalling worked.