Error after install "There was an errorwhile Moving :Cursor"

After installing Cursor I get an error popup…

There was an error while Moving :Cursor.exe

Access denied (od error 5)

What is this and how do I resolve it?

Thank you,

Bob

Hey Bob. This popup is from Cursor’s Windows updater. After installing Cursor, it found a newer version, downloaded it, and when it tried to replace the files in place, Windows said Cursor.exe was still in use, so the swap didn’t finish (od error 5 is os error 5, access denied). Usually the file is held by a leftover Cursor process (Cursor.exe, node.exe, or rg.exe) or by an antivirus scanning the new files.

To continue:

  1. Click Cancel in the error window.
  2. Open Task Manager, go to the Details tab, and end any remaining Cursor.exe, node.exe, and rg.exe processes.
  3. Restart Windows.
  4. Launch Cursor from the Start menu.
  5. If Cursor doesn’t open, or the folder C:\Users\<you>\AppData\Local\Programs\cursor looks empty, reinstall from Cursor · Download. Your settings and chats will be kept.

To figure out what was holding the file, please share:

  • Did Cursor open after step 4, or did you need step 5.
  • In File Explorer, paste %TEMP% into the address bar and attach all cursor-inno-updater-*.log and Setup Log *.txt files from today.
  • What antivirus or security tool is installed on the PC, or if it’s just Windows Defender.
  • Did you run the installer normally or via Run as administrator.
  • Your Cursor version once it opens (Help > About).

If the same dialog shows up on the next update, leave it open, run resmon, go to the CPU tab, and type cursor into the Associated Handles search box. A screenshot of that list will show exactly which process is holding the file.