Where does the bug appear (feature/product)?
Cursor IDE
Describe the Bug
Summary
The Windows updater reports “Cursor.exe is not running” while 9+ processes are actually running, causing “file in use” errors and update failures.
Environment
- OS: Windows 11 (Build 26200) - Clean install
- Cursor: 2.2.14 (system setup)
- Path: C:\Program Files\cursor
- Antivirus: McAfee
Evidence
Updater log (incorrect):
INFO Cursor.exe is not running ← FALSE ERRO Failed to create file handle
Actual state (PowerShell):
Get-Process -Name Cursor
Returns 9 active processes
Root Cause
Inno Updater v0.13.0 fails to detect Electron child processes.
Steps to Reproduce
- Start Cursor normally, open any project
- Verify processes:
Get-Process -Name Cursor(shows 9+ processes) - Trigger update: Help → Check for Updates
- Wait 1-7 minutes
- Error appears: “Failed to create file handle: プロセスはファイルにアクセスできません”
- Check log: Shows “Cursor.exe is not running” (contradicts reality)
Reproduction rate: 100% (every update, including on clean Windows install)
Expected Behavior
- Updater detects ALL running Cursor processes (main + 8 child processes)
- Gracefully terminates all processes before file operations
- Update completes without manual intervention
Expected flow:
Update notification → Auto-close all processes → Update applies → Restart
Operating System
Windows 10/11
Current Cursor Version (Menu → About Cursor → Copy)
Version: 2.2.14 (system setup)
VSCode Version: 1.105.1
Commit: 1685afce45886aa5579025ac7e077fc3d4369c50
Date: 2025-12-11T01:12:35.790Z
Electron: 37.7.0
Chromium: 138.0.7204.251
Node.js: 22.20.0
V8: 13.8.258.32-electron.0
OS: Windows_NT x64 10.0.26200
For AI issues: which model did you use?
N/A - This is a Windows updater bug, not an AI-related issue.
For AI issues: add Request ID with privacy disabled
N/A - Not an AI issue. This bug affects the updater’s process detection mechanism.
Additional Information
What I’ve Tried
| Attempt | Result |
|---|---|
| Standard update via UI | |
| McAfee exclusion for Cursor folder | |
| Reinstall to C:\Program Files\ | |
| Manual taskkill before update |
Workaround
taskkill /F /IM "Cursor.exe" /T
Start-Sleep 5
Start-Process "C:\Program Files\cursor\Cursor.exe"
Suggested Fix
Use CreateToolhelp32Snapshot or Windows Restart Manager API to enumerate all Cursor.exe instances including child processes.
Willingness to Help
Happy to provide additional logs
Can test beta fixes if available
### Does this stop you from using Cursor
No - Cursor works, but with this issue