Where does the bug appear (feature/product)?
Cursor IDE
Describe the Bug
On Windows, Cursor Agent Shell still launches Windows PowerShell 5.1 (C:\Windows\System32\WindowsPowerShell\v1.0\powershell.exe) even when the integrated terminal default profile and automationProfile are configured to PowerShell 7 (pwsh).
Integrated terminal correctly uses PS7. Agent Shell does not respect terminal.integrated.defaultProfile.windows / terminal.integrated.automationProfile.windows.
This matches previously acknowledged known bugs (threads closed; still reproducible on Cursor 3.14.27).
Steps to Reproduce
- Install PowerShell 7 (Microsoft Store / WindowsApps build is enough to reproduce).
- Set Cursor User settings so default + automation profiles point to pwsh, e.g.
%LOCALAPPDATA%\Microsoft\WindowsApps\pwsh.exe. - Open a new integrated terminal and run
$PSVersionTable.PSVersion→ shows 7.x. - Ask Agent:
Run $PSVersionTable.PSVersion(or inspect Agent Shell process path). - Observe Agent reports 5.1.26100.x and path
...\WindowsPowerShell\v1.0\powershell.exe.
Expected Behavior
Agent Shell should use the same PowerShell 7 configured as the IDE default / automation profile, instead of hard-falling back to Windows PowerShell 5.1.
Operating System
Windows 10/11
Version Information
Version: 3.14.27
Commit: 047548b00c1a079373d74d00183f32510a4a41e0
Date: 2026-08-04T03:29:11.183Z
Build Type: Stable
OS: Windows_NT x64 10.0.26200
For AI issues: which model did you use?
Composer / Auto (Agent Shell tool)
Additional Information
Related closed reports (staff already acknowledged known bug):
- [Windows] Agent keep using PowerShell 5 instead of PowerShell 7
- Agent terminal not respect the setting
Also older report topic id 149519 (“Cursor keeps using old Microsoft PowerShell”).
Local evidence (2026-08-06):
- Agent Shell: PSVersion 5.1.26100.8875 at C:\Windows\System32\WindowsPowerShell\v1.0\powershell.exe
- pwsh 7.6.4 available via Store/WindowsApps alias
- Even after fixing terminal.integrated default+automationProfile to pwsh, Agent still starts powershell.exe directly.
Please keep product tracking open until Agent honors terminal.integrated.* or exposes an explicit Agent shell setting.
Does this stop you from using Cursor
No - Cursor works, but with this issue