Usage Instructions - RiadDeveloper/Cursor-Machine-ID-Reset-Tool GitHub Wiki

Usage Instructions

Before You Begin

Before running the Cursor Reset Tool, ensure you have:

  1. Signed out of Cursor on both IDE and browser
  2. Closed the Cursor application completely
  3. Administrator privileges on your system
  4. Backed up any important Cursor settings or configurations

Running the Tool

  1. Prepare Your Environment

    • Close all instances of Cursor IDE
    • Open PowerShell as Administrator
    • Navigate to the directory containing the script
  2. Execute the Script

    cd $env:USERPROFILE\Downloads  # or your script location
    powershell -ExecutionPolicy Bypass -File .\reset_cursor_windows_by_Riad_developer.ps1
    
  3. 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:

  1. Initialization

    • Checks for proper permissions
    • Verifies Cursor is not running
    • Creates backup files
  2. Reset Process

    • Updates machineId file
    • Modifies storage.json
    • Updates SQLite database
    • Updates Windows Registry
  3. Completion

    • Displays success messages
    • Shows locations of backup files
    • Provides next steps

After Running the Tool

  1. Verify the Reset

    • Open Cursor IDE
    • You should be logged out and see the sign-in screen
  2. 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:

  1. Check the Troubleshooting guide
  2. Verify all prerequisites are met
  3. Try running the script again
  4. 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