[Bug] Updater fails to detect running Cursor processes on Windows

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

  1. Start Cursor normally, open any project
  2. Verify processes: Get-Process -Name Cursor (shows 9+ processes)
  3. Trigger update: Help → Check for Updates
  4. Wait 1-7 minutes
  5. Error appears: “Failed to create file handle: プロセスはファイルにアクセスできません”
  6. Check log: Shows “Cursor.exe is not running” (contradicts reality)

Reproduction rate: 100% (every update, including on clean Windows install)

Expected Behavior

  1. Updater detects ALL running Cursor processes (main + 8 child processes)
  2. Gracefully terminates all processes before file operations
  3. 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 :cross_mark: Failed
McAfee exclusion for Cursor folder :cross_mark: Failed
Reinstall to C:\Program Files\ :cross_mark: Same issue
Manual taskkill before update :white_check_mark: Success

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

Hey, thanks for the report. The issue is clear - Inno Updater doesn’t recognize child Electron processes.

I’ll create a ticket for the development team to fix the process detection in the updater. Your workaround with taskkill remains the best solution for now.

We’ll get back with an update after the engineers take a look at it.

This topic was automatically closed 22 days after the last reply. New replies are no longer allowed.