Cursor reset all settings in each launch and launching a cursor executes 4 instances of "Agents" application

Where does the bug appear (feature/product)?

Cursor IDE

Describe the Bug

When I launch cursor i execute 4 instances of “Agents” app. My IDE is not loading my settings. When I launch IDE it is loaded always as default - without my settings and without my yesterdays chats. I try to use my paid tokens to solve it with sonnet. I reinstalled application few times..

Steps to Reproduce

You can just launch the cursor on my PC.

Operating System

Windows 10/11

Version Information

Version: 3.16.29 (user setup)
VS Code Extension API: 1.128.0
Commit: 6246455961129c32969845e00aa25d87ae926ec0
Date: 2026-08-18T01:26:26.285Z
Layout: IDE
Build Type: Stable
Release Track: Default
Electron: 40.10.3
Chromium: 144.0.7559.236
Node.js: 24.15.0
V8: 14.4.258.32-electron.0
xterm.js: 6.1.0-beta.291
OS: Windows_NT x64 10.0.26200

For AI issues: which model did you use?

Sonnet

Does this stop you from using Cursor

No - Cursor works, but with this issue

Hey, thanks for the detailed report. It looks like Cursor can’t open its local state database on startup. When that happens, it replaces it with an older or empty copy, which resets your session, layout, and recent chats. Reinstalling doesn’t help because this data lives in your profile, not in the install folder. The extra Agents windows opening is a side effect. With the state gone, Cursor starts with defaults.

To narrow it down, can you help with a couple checks?

  1. Fully close Cursor, then open in Explorer %APPDATA%\Cursor\User\globalStorage. Do you see files like state.vscdb.corrupted.<numbers>? If yes, how many are there, and does a new one appear after each launch? Your chats from yesterday are most likely in the newest one, so don’t delete them.

  2. Is anything touching that folder, like antivirus, OneDrive or another folder sync tool, or Windows Controlled Folder Access? Any of these can keep the database locked and cause this exact behavior.

  3. Before starting Cursor, check Task Manager for any stuck Cursor processes. If you find any, end them. A stuck process can keep the database locked.

You can also change the Agents startup window in Cursor Settings > General > Startup, but first we need to stop the resets.

Send over what you find for the first two items and we’ll go from there.

I have lost 20% of my paid tokens but finally I solved it. Now when I launch cursor - it launch IDE instantly and skips agents apps.

You should really patch this… it should work out of the box. I was using cursor few months ago when this Agent App was not even present and it was working perfectly … There should be clear setting to disable this “agents app” because I think a lot of users are using cursor only for IDE to work on their projects.

Hey, glad you got it running properly. And thanks for the feedback about the startup behavior.

For your request, there’s already a setting for this: Cursor Settings > General > Startup. You can choose what opens on launch so Cursor loads the IDE right away instead of the Agents window. So even if the default behavior changes again, you can lock in the option you want there.

The part where it defaults to the Agents window and that’s not obvious is good feedback. I’ll pass it to the team, others have raised it too. If you want, you can upvote the existing threads to amplify the signal:

If the settings reset comes back, reply here and we’ll dig deeper. It’s most likely something on Windows blocking the local state DB, like antivirus, OneDrive or folder sync, or a stuck Cursor process.