Troubleshooting - RiadDeveloper/Cursor-Machine-ID-Reset-Tool GitHub Wiki
Troubleshooting Guide
This guide covers common issues you might encounter while using the Cursor Reset Tool and their solutions.
Common Issues
1. Permission Denied
Symptom:
- Error message about insufficient privileges
- Script fails to start or modify files
Solutions:
- Right-click PowerShell and select "Run as Administrator"
- Verify your Windows user account has administrator privileges
- Check if antivirus is blocking the script execution
2. Cursor Still Running
Symptom:
- Script warns that Cursor is still running
- Unable to modify files due to locks
Solutions:
- Close Cursor IDE completely
- Check Task Manager for any running Cursor processes
- Use the script's automatic process termination option (respond 'Y' when prompted)
3. Python Not Found
Symptom:
- Error when trying to update SQLite database
- Python-related error messages
Solutions:
- Install Python from python.org
- Add Python to your system PATH
- Continue without Python (SQLite updates will be skipped)
4. Backup Files Missing
Symptom:
- Unable to find .backup files
- Need to restore original configuration
Solutions:
- Check the same directory as the original files
- Look for files with .backup extension
- If no backups exist, reinstall Cursor IDE
5. Script Won't Execute
Symptom:
- PowerShell blocks script execution
- Security warnings
Solutions:
- Run the following command:
Set-ExecutionPolicy RemoteSigned -Scope CurrentUser
- Unblock the file in Properties
- Verify the script file isn't corrupted
6. Cursor Won't Start After Reset
Symptom:
- Cursor IDE fails to launch after reset
- Error messages during startup
Solutions:
- Verify all files were properly updated
- Check for any .backup files and restore if needed
- Reinstall Cursor IDE
Recovery Steps
If you need to recover from a failed reset:
-
Restore from Backups
Copy-Item "%APPDATA%\Cursor\machineId.backup" "%APPDATA%\Cursor\machineId" Copy-Item "%APPDATA%\Cursor\User\globalStorage\storage.json.backup" "%APPDATA%\Cursor\User\globalStorage\storage.json" Copy-Item "%APPDATA%\Cursor\User\globalStorage\state.vscdb.backup" "%APPDATA%\Cursor\User\globalStorage\state.vscdb"
-
Clean Installation
- Uninstall Cursor IDE
- Delete the %APPDATA%\Cursor folder
- Reinstall Cursor IDE
- Try the reset process again
Getting Help
If you're still experiencing issues:
- Check the Technical Details for more information
- Create an issue on GitHub with:
- Error messages
- Steps to reproduce
- System information
- Try the manual reset process as described in the documentation
Prevention Tips
To prevent issues in future resets:
- Always run as Administrator
- Close all instances of Cursor
- Create manual backups before running the script
- Keep Python installed and updated
- Keep PowerShell updated