Where does the bug appear (feature/product)?
Cursor IDE
Describe the Bug
Summary
When both a system-wide install (C:\Program Files\cursor\) and a per-user install (%LOCALAPPDATA%\Programs\cursor\) coexist on Windows, the Inno updater repeatedly targets the system-wide install but fails silently with “Access is denied (os error 5)” because it lacks admin privileges to modify C:\Program Files\.
Each failed attempt leaves a vscode-stable-system-x64-* folder in %TEMP% that is never cleaned up. Over ~2 months I accumulated 46 folders totaling 1.8 GB of wasted disk space.
Observed behavior
- Updater log (
cursor-inno-updater-*.login%TEMP%) shows repeatedDelete directory recursively: "C:\Program Files\cursor\resources"attempts (11+ retries per cycle), ending withERRO Access is denied. (os error 5) - When Cursor is running, the updater retries 12 times checking if
Cursor.exehas exited, then gives up silently — no error is shown to the user - Stale
vscode-stable-system-x64-*andvscode-stable-user-x64-*temp folders accumulate indefinitely
Steps to Reproduce
Reproduction
- Install Cursor system-wide (e.g. from an older installer that defaulted to
C:\Program Files\cursor\) - Later install Cursor per-user (
%LOCALAPPDATA%\Programs\cursor\) - Both HKLM and HKCU uninstall registry entries now exist
- Trigger an update — the updater targets the system-wide path and fails
Expected Behavior
Expected behavior
- The updater should detect and target the correct install location (per-user vs system-wide based on running instance)
- Failed update temp folders should be cleaned up on next launch
- The updater should surface a clear error message when it fails repeatedly
- Ideally, warn the user if both install types coexist (this is a known conflict pattern)
Operating System
Windows 10/11
Version Information
Version: 3.2.16 (user setup)
VSCode Version: 1.105.1
Commit: 3e548838cf824b70851dd3ef27d0c6aae371b3f0
Date: 2026-04-28T21:07:47.682Z
Layout: editor
Build Type: Stable
Release Track: Default
Electron: 39.8.1
Chromium: 142.0.7444.265
Node.js: 22.22.1
V8: 14.2.231.22-electron.0
OS: Windows_NT x64 10.0.26200
For AI issues: which model did you use?
na
Does this stop you from using Cursor
No - Cursor works, but with this issue