Where does the bug appear (feature/product)?
Cursor IDE
Describe the Bug
Every Agent request fails immediately with “Agent Execution Timed Out” (ERROR_EXTENSION_HOST_TIMEOUT / deadline_exceeded) on a French Windows installation. Network diagnostics are all green (SSL, HTTP/2, API, Agent stream), so this is not a connectivity issue.
The Developer Tools console shows the real cause: the built‑in agent-exec component runs a PowerShell one‑liner to translate well‑known SIDs (S-1-5-18 = SYSTEM, S-1-5-32-544 = Administrators) into localized account names. The SID is passed as a trailing argument after -Command, expecting it to land in $args[0]. PowerShell instead appends it to the command text, producing …).Value S-1-5-18, which is a parser error. The lookup never returns, the exec provider never initializes, and the workbench times out.
Steps to Reproduce
Use Windows with a non‑English system language (tested on French).
Install Cursor and open any local folder.
Open the Agent panel and send any prompt (e.g. “list the files in this folder”).
Observe the immediate “Agent Execution Timed Out” error.
Ctrl+Shift+P → Developer: Toggle Developer Tools → Console → see the repeated [Extension Host:agent-exec] PowerShell ParserError entries above.
Expected Behavior
agent-exec resolves the SIDs correctly regardless of Windows language (e.g. BUILTIN\Administrateurs, AUTORITE NT\Système on French Windows) and the Agent starts normally.
If the lookup fails, the Agent should fall back gracefully (or surface the real error) instead of hanging until deadline_exceeded with a misleading “extension host is not running” message.
Screenshots / Screen Recordings
Operating System
Windows 10/11
Version Information
Version: 3.20.17 (user setup)
VS Code Extension API: 1.128.0
Commit: 0c32194e3fb5ffaced9fb36430b860ec301e1fc0
Date: 2026-09-12T03:16:10.634Z
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.26200
Additional Information
console output : ERR [Extension Host:agent-exec] Au caractère Ligne:1 : 118
- … s[0]).Translate([System.Security.Principal.NTAccount]).Value S-1-5-18
-
~~~~~~~~
Jeton inattendu «S-1-5-18» dans l’expression ou l’instruction.
+ CategoryInfo : ParserError: (
, ParentContainsErrorRecordException
+ FullyQualifiedErrorId : UnexpectedToken
ERR [Extension Host:agent-exec] Au caractère Ligne:1 : 118
- … ).Translate([System.Security.Principal.NTAccount]).Value S-1-5-32-544
-
~~~~~~~~~~~~
Jeton inattendu «S-1-5-32-544» dans l’expression ou l’instruction.
+ CategoryInfo : ParserError: (
, ParentContainsErrorRecordException
+ FullyQualifiedErrorId : UnexpectedToken
Does this stop you from using Cursor
Yes - Cursor is unusable

