Usage Instructions - RiadDeveloper/Cursor-Machine-ID-Reset-Tool GitHub Wiki
Usage Instructions
Before You Begin
Before running the Cursor Reset Tool, ensure you have:
- Signed out of Cursor on both IDE and browser
- Closed the Cursor application completely
- Administrator privileges on your system
- Backed up any important Cursor settings or configurations
Running the Tool
-
Prepare Your Environment
- Close all instances of Cursor IDE
- Open PowerShell as Administrator
- Navigate to the directory containing the script
-
Execute the Script
cd $env:USERPROFILE\Downloads # or your script location powershell -ExecutionPolicy Bypass -File .\reset_cursor_windows_by_Riad_developer.ps1
-
Follow the Interactive Prompts
- The script will display a loading animation
- It will check for administrator privileges
- If Cursor is still running, you'll be prompted to close it
- The script will generate and display new identifiers
What to Expect
The script performs the following operations in sequence:
-
Initialization
- Checks for proper permissions
- Verifies Cursor is not running
- Creates backup files
-
Reset Process
- Updates machineId file
- Modifies storage.json
- Updates SQLite database
- Updates Windows Registry
-
Completion
- Displays success messages
- Shows locations of backup files
- Provides next steps
After Running the Tool
-
Verify the Reset
- Open Cursor IDE
- You should be logged out and see the sign-in screen
-
New Account Setup
- Create a temporary email at Temp Mail
- Use this email to register a new account
- Complete the registration process
Backup Files
The script automatically creates backups with the .backup
extension for:
- machineId file
- storage.json
- SQLite database
These backups can be found in the same directories as the original files.
Troubleshooting
If you encounter any issues:
- Check the Troubleshooting guide
- Verify all prerequisites are met
- Try running the script again
- If problems persist, create an issue on GitHub
Security Note
The tool only modifies necessary configuration files and does not:
- Run any external applications
- Send data over the network
- Modify system files outside of Cursor's scope