On installing new version 0.45.15, getting this error
An Error occured while trying to rename a file in the destination directory:
MoveFIle failed:, code 5
Access is denied
All files with these error were *.png.
All skipped. Cursor was installed (User version), however during its use I still get popped up warnings with the same error (Select Action: error text)
Also tried to install the Cursor under Admin account, did not help - same issues during installation and afterwards during app use.
I have the same error here.
My cursor.exe has been infected by a FileRepMalware (detected by Avast). I uninstalled the infected software, then tried to install it again from the installer available on cursor.com but I’m facing this same error.
This guide addresses persistent installation issues with the Cursor application, particularly when encountering access denied errors (Code 5 or 0x80070005). These errors typically occur when files are locked, permissions are restricted, or antivirus software is interfering with the installation process.
Prerequisites
Administrator access to your Windows computer
The latest Cursor installer downloaded from the official website
Step-by-Step Solution
Step 1: Check Antivirus Quarantine
Open your antivirus software
Navigate to the quarantine/virus chest section (typically found under “Protection History,” “Quarantine,” or “Virus Chest”)
Search for any files containing “cursor” or specifically “Cursor.exe”
Select these files and choose “Restore” or “Allow”
Select “Add to Exceptions” or “Whitelist” if the option is available
Step 2: Close All Instances of Cursor
Press Ctrl+Shift+Esc to open Task Manager
Look for any processes related to Cursor
Right-click each one and select “End Task”
Check for background services too by clicking “More details” if available
Step 3: Remove Taskbar Icons
Right-click on any blank/broken Cursor icons in your taskbar
Select “Unpin from taskbar”
If icons remain stuck, try restarting Windows Explorer:
In Task Manager, find “Windows Explorer”
Right-click it and select “Restart”
Step 4: Temporarily Disable Antivirus Protection
Open your antivirus software
Look for an option like “Temporarily disable protection” or “Shield Control”
Disable protection for 10 minutes (the specific option varies by antivirus)
Make sure to check for any “Application Control” or “Real-time scanning” features specifically
Some antivirus programs may require disabling multiple layers of protection
Step 5: Clean Up Previous Installation Files
Press Win+R to open the Run dialog
Type %LOCALAPPDATA%\Programs\cursor and press Enter
Delete the entire cursor folder if it exists
Press Win+R again
Type %APPDATA%\cursor and press Enter
Delete this folder if it exists
Press Win+R again
Type %TEMP% and press Enter
Delete any folders that start with “Cursor” or contain “cursor” in their name
Step 6: Clean Up Windows Start Menu and Shortcuts
Press Win+R to open the Run dialog
Type %APPDATA%\Microsoft\Windows\Start Menu\Programs and press Enter
Delete any Cursor folders or shortcuts
Type %ALLUSERSPROFILE%\Microsoft\Windows\Start Menu\Programs and press Enter
Delete any Cursor folders or shortcuts here as well
Step 7: Run the Installer as Administrator
Right-click on the Cursor installer
Select “Run as administrator”
Follow the installation prompts
If asked for a different installation location, consider choosing a location outside of standard AppData paths
Step 8: Post-Installation Steps
Re-enable your antivirus protection
Add an exception for Cursor in your antivirus settings:
Typically found under “Exclusions” or “Exceptions”
Add both the Cursor executable and its installation folder: