# Multiple agent windows automatically open on startup (Windows)

**URL:** <https://forum.cursor.com/t/multiple-agent-windows-automatically-open-on-startup-windows/172577>\
**Category:** Bug Reports\
**Tags:** windows, agents-window, layout\
**Created:** [September 22, 2026, 2:01am UTC](https://forum.cursor.com/t/multiple-agent-windows-automatically-open-on-startup-windows/172577 "2026-09-22T02:01:52Z")\
**Posts on this page:** 5\
**Page:** 1

<div class="post-metadata">

**Author:** ![jianli\_shang](https://avatars.discourse-cdn.com/v4/letter/j/bcef8e/32.png) [@jianli\_shang](https://forum.cursor.com/u/jianli_shang)\
**Post date:** [September 22, 2026, 2:01am UTC](https://forum.cursor.com/t/multiple-agent-windows-automatically-open-on-startup-windows/172577/1 "2026-09-22T02:01:52Z")

</div>

On Windows, every time I launch Cursor, **4–5 separate Agent windows pop up automatically** , even after I close all agent windows before exiting.

I have set `Window Restoration` to `Default` and turned off the option `Continue Interrupted Agents`. But the problem still persists. It seems the saved session keeps remembering all previous independent Agent windows and restores them all on startup.

This is very annoying. Hope this bug can be fixed.

 ![1790042344967](https://us1.discourse-cdn.com/cursor1/original/3X/d/a/dacad1cbc3c74ec510626b5e51fc3aa59a6ec16a.jpeg)

---

<div class="post-metadata">

**Author:** ![system](https://sea3.discourse-cdn.com/cursor1/user_avatar/forum.cursor.com/system/32/99069_2.png) [@system](https://forum.cursor.com/u/system)\
**Post date:** [September 22, 2026, 2:02am UTC](https://forum.cursor.com/t/multiple-agent-windows-automatically-open-on-startup-windows/172577/2 "2026-09-22T02:02:02Z")

</div>

Hi there!

We detected that this may be a bug report, so we’ve moved your post to the **Bug Reports** category.

To help us investigate and fix this faster, could you edit your original post to include the details from the template below?

> **Bug Report Template - Click to expand**
>
> **Where does the bug appear (feature/product)?**
> 
> - Editor, Tab & Chat (autocomplete, Composer, in-editor agent)
> - Terminal & commands
> - Models, pricing & API keys (availability, Auto/Max, BYOK/Bedrock)
> - MCP & tools
> - Cloud Agents & Automations ([cursor.com/agents](http://cursor.com/agents), scheduled/event)
> - BugBot & Code Review
> - Cursor CLI
> - Cursor Mobile
> - Remote (SSH / Dev Containers / WSL)
> - Account, billing & login
> - Something else…
> 
> * * *
> 
> **Describe the Bug**  
> A clear and concise description of what the bug is.
> 
> * * *
> 
> **Steps to Reproduce**  
> How can you reproduce this bug? We have a much better chance at fixing issues if we can reproduce them!
> 
> 1. …
> 2. …
> 3. …
> 
> * * *
> 
> **Expected Behavior**  
> What is meant to happen here that isn’t working correctly?
> 
> * * *
> 
> **Screenshots / Screen Recordings**  
> If applicable, attach images or videos (.jpg, .png, .gif, .mp4, .mov)
> 
> * * *
> 
> **Operating System**
> 
> - Windows 10/11
> - MacOS
> - Linux
> 
> * * *
> 
> **Version Information**
> 
> - For Cursor IDE: Menu → About Cursor → Copy
> - For Cursor CLI: Run `agent about` in your terminal
> 
> ```auto
> IDE:
> Version: 2.xx.x
> VSCode Version: 1.105.1
> Commit: ......
> 
> CLI:
> CLI Version 2026.01.17-d239e66
> 
> ```
> 
> * * *
> 
> **For AI issues: which model did you use?**  
> Model name (e.g., Sonnet 4, Tab…)
> 
> * * *
> 
> **For AI issues: add Request ID with privacy disabled**  
> Request ID: f9a7046a-279b-47e5-ab48-6e8dc12daba1  
> For Background Agent issues, also post the ID: bc-…
> 
> * * *
> 
> **Additional Information**  
> Add any other context about the problem here.
> 
> * * *
> 
> **Does this stop you from using Cursor?**
> 
> - Yes - Cursor is unusable
> - Sometimes - I can sometimes use Cursor
> - No - Cursor works, but with this issue

The more details you provide, the easier it is for us to reproduce and fix the issue. Thanks!

---

<div class="post-metadata">

**Author:** ![deanrie](https://sea3.discourse-cdn.com/cursor1/user_avatar/forum.cursor.com/deanrie/32/1263_2.png) [@deanrie](https://forum.cursor.com/u/deanrie)\
**Post date:** [September 22, 2026, 5:37am UTC](https://forum.cursor.com/t/multiple-agent-windows-automatically-open-on-startup-windows/172577/6 "2026-09-22T05:37:20Z")

</div>

Hey, thanks for the report and the screenshot. I can see four separate Agent windows opening in a cascade on launch.

You read it right. The extra windows are coming from a saved session. On startup, Cursor restores windows it remembers from previous sessions, and right now that restore path does not merge multiple remembered Agent windows back into one. `Window Restoration` and `Continue Interrupted Agents` do not affect this, so it is not your settings. This is a known issue we are tracking, and I have shared it with the team.

A couple steps that should help reset the stuck state. Please try these in order:

1. Close all Cursor windows so the app fully exits. Check in Task Manager whether `Cursor.exe` is still running. If it is, end the process.
2. Press `Win+R`, paste `%APPDATA%\Cursor\Backups`, then press Enter. Check how many folders are there.
3. Rename the `Backups` folder to `Backups-old`. This is a rename, not a delete, so you can restore it if needed. It only contains unsaved edits from windows you already closed.
4. Launch Cursor again. How many Agent windows open now?
5. If it is still more than one, open Cursor Settings \> General \> Startup, set `Window Restoration` to `Last Used Windows`, then close all windows again, relaunch, and count one more time.

Please reply with:

- the number of folders from step 2, and the window counts from steps 4 and 5
- your Cursor version Help \> About Cursor \> Copy
- how you usually exit, do you close the last window, or shut down Windows while Cursor is still open

That will help narrow down which saved state source is reopening the windows. Let me know how it goes.

---

<div class="post-metadata">

**Author:** ![jianli\_shang](https://avatars.discourse-cdn.com/v4/letter/j/bcef8e/32.png) [@jianli\_shang](https://forum.cursor.com/u/jianli_shang)\
**Post date:** [September 22, 2026, 8:12am UTC](https://forum.cursor.com/t/multiple-agent-windows-automatically-open-on-startup-windows/172577/8 "2026-09-22T08:12:32Z")

</div>

After closing all Cursor windows completely, the number of folders under `%APPDATA%\Cursor\Backups` was **0**.

I renamed the Backups folder to `Backups-old` and relaunched Cursor:

- Step 4: **6 Agent windows popped up**
- Step 5 (set Window Restoration to Last Used Windows, close all and relaunch): still **6 windows** at first. After that, I closed Cursor and opened it again — now only **2 windows appear**. Repeating the close‑and‑relaunch test keeps it at 2 windows consistently.

Cursor version info:  
Version: 3.21.16 (user setup) VS Code Extension API: 1.128.0 Commit: 8ae78e8eee1e63479c7e0504b664bc0a80c68000 Date: 2026-09-19T06:43:22.276Z Layout: IDE Build Type: Stable Release Track: Default Electron: 42.10.0 Chromium: 148.0.7778.280 Node.js: 24.18.1 V8: 14.8.178.38-electron.0 xterm.js: 6.1.0-beta.291 OS: Windows\_NT x64 10.0.19045  
My usual workflow: I double‑click the Cursor icon → click `File` on the top left → select `Open IDE` to open my project in a new window for development. When exiting, I first close the IDE project window, then close the main Cursor window.

---

<div class="post-metadata">

**Author:** ![deanrie](https://sea3.discourse-cdn.com/cursor1/user_avatar/forum.cursor.com/deanrie/32/1263_2.png) [@deanrie](https://forum.cursor.com/u/deanrie)\
**Post date:** [September 22, 2026, 8:31am UTC](https://forum.cursor.com/t/multiple-agent-windows-automatically-open-on-startup-windows/172577/9 "2026-09-22T08:31:24Z")

</div>

Thanks for such a detailed test, it really helps.

The fact that the `Backups` folder was empty (0 folders) but the windows still opened is a good result. It means the issue isn’t the backup folder, it’s the saved session window list. That matches the restore path that doesn’t collapse multiple remembered Agent windows into one. There’s nothing to fix in your setup. This is an issue we’re tracking, and I’ve shared the details with the team.

The good news is that setting `Window Restoration` = `Last Used Windows` stabilized things at 2 windows, and that matches what you actually have open in your workflow (main window + IDE project window). With `Default`, restore behaves differently and pulls in extra remembered windows.

Recommendation for now: keep `Window Restoration` set to `Last Used Windows`. Based on your tests, after a couple of close and relaunch cycles, it keeps exactly the windows that were open when you quit, without multiplying them.

I can’t share an exact timeline for the main issue yet, but I’ll reply in the thread when I have an update. If the window count starts growing again after switching to `Last Used Windows`, let me know and we’ll dig deeper.
