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?
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)
-
Open Windows Settings â Apps â Default apps
-
Scroll down and click âChoose defaults by file typeâ
-
Find
.ps1(or whatever file type is triggering it) -
Set the default to Cursor or Notepad â whichever you prefer
Option 2 â Fix it directly from the dialog
Next time the popup appears:
-
Select Cursor from the list
-
Check âAlways use this appâ (if that checkbox is available)
-
Click çĄŽĺŽ (OK)
Option 3 â Via Registry (for .ps1 files specifically)
PowerShell files often lose their association. Open PowerShell as Admin and run:
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.
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.

