# Popup appears when start new chat

**URL:** <https://forum.cursor.com/t/popup-appears-when-start-new-chat/155701>\
**Category:** Help\
**Tags:** chat\
**Created:** [March 24, 2026, 2:08am UTC](https://forum.cursor.com/t/popup-appears-when-start-new-chat/155701 "2026-03-24T02:08:19Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![user996](https://avatars.discourse-cdn.com/v4/letter/u/aeb1de/32.png) [@user996](https://forum.cursor.com/u/user996)\
**Post date:** [March 24, 2026, 2:08am UTC](https://forum.cursor.com/t/popup-appears-when-start-new-chat/155701/1 "2026-03-24T02:08:19Z")

</div>

Every time I start a new chat, I get a popup asking me to choose how to open it. Has anyone else had this problem? If so, how did you fix it?

 ![8e1a3e56-c1e8-4605-8327-63fbc819a203](https://us1.discourse-cdn.com/cursor1/original/3X/b/4/b4773c8b9bcb533f90e8451074ab94fc32a4d348.png)

---

<div class="post-metadata">

**Author:** ![Chris\_C](https://sea3.discourse-cdn.com/cursor1/user_avatar/forum.cursor.com/chris_c/32/97802_2.png) [@Chris\_C](https://forum.cursor.com/u/Chris_C)\
**Post date:** [March 24, 2026, 11:58am UTC](https://forum.cursor.com/t/popup-appears-when-start-new-chat/155701/3 "2026-03-24T11:58:57Z")

</div>

This is a **Windows file association issue** , not a Cursor setting. When Cursor opens a new chat, it’s triggering a file (likely a `.ps1` PowerShell script, visible at the bottom of your screenshot) that doesn’t have a default program set in Windows.

Here’s how to fix it:

**Option 1 — Set default app for the file type (recommended)**

1. Open **Windows Settings** → **Apps** → **Default apps**

2. Scroll down and click **“Choose defaults by file type”**

3. Find `.ps1` (or whatever file type is triggering it)

4. Set the default to **Cursor** or **Notepad** — whichever you prefer

**Option 2 — Fix it directly from the dialog**

Next time the popup appears:

1. Select **Cursor** from the list

2. Check **“Always use this app”** (if that checkbox is available)

3. Click **确定 (OK)**

**Option 3 — Via Registry (for `.ps1` files specifically)**

PowerShell files often lose their association. Open PowerShell as Admin and run:

```bash
ftype Microsoft.PowerShellScript.1="%SystemRoot%\System32\WindowsPowerShell\v1.0\powershell.exe" -Command "& '%1'"
assoc .ps1=Microsoft.PowerShellScript.1

```

The root cause is that Windows doesn’t know which program “owns” that file type, so it asks every time Cursor tries to open it. Setting a default once will stop the popup permanently.

---

<div class="post-metadata">

**Author:** ![user996](https://avatars.discourse-cdn.com/v4/letter/u/aeb1de/32.png) [@user996](https://forum.cursor.com/u/user996)\
**Post date:** [March 26, 2026, 1:38am UTC](https://forum.cursor.com/t/popup-appears-when-start-new-chat/155701/5 "2026-03-26T01:38:03Z")

</div>

I tried selecting Cursor as the opening method and saw a script named ‘session-start’ open. This script was located in the ‘superpowers’ plugin directory (I recently installed this plugin in Cursor). The issue was resolved after I uninstalled the ‘superpowers’ plugin. The PowerShell window you saw in the previous screenshot was opened manually by me; I apologize for the confusion. The problem is fixed now. Thank you for your reply.

 ![8cdaf832-629f-4e59-95b8-01cd217000db](https://us1.discourse-cdn.com/cursor1/original/3X/6/e/6e7cd509fc01f50e17d5ba2b0bcb8bb11d65e6e7.png)
