go-cursor-help

repository·master·Indexed 10 days ago

https://github.com/yuaotian/go-cursor-help

A tool to reset the Cursor free trial by modifying the storage.json configuration file and system identifiers. It provides one-click installation scripts for macOS, Linux, and Windows, and offers alternative pay-per-use membership options via Codex API packages.

Tokens
5.2K
Snippets
11
Records
27
Agent score
97%

What's inside go-cursor-help

  1. Overview of Cursor Free Trial Reset Tool

    master
    The go-cursor-help project provides a tool designed to reset the Cursor free trial. It is available in English, Chinese, and Japanese. The project also offers official pay-per-use membership packages for Cursor via Codex API packages.
  2. Warning: Windows Registry Modification

    master

    The tool modifies the Windows Registry key MachineGuid at Computer\HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Cryptography. This may affect device identification for other software.

    Safety & Recovery:

    • Automatic Backup: The original value is backed up to %APPDATA%\Cursor\User\globalStorage\backups in the format MachineGuid.backup_YYYYMMDD_HHMMSS.
    • Manual Recovery: Open regedit, navigate to the path above, and manually paste the value from your backup file into MachineGuid.
  3. Cursor Pay-per-Use Official Membership Details

    master

    A limited availability pay-per-use membership is available for Cursor users.

    Pricing and Terms:

    • Cost: $120
    • Credits: 500 uses
    • Warranty: 25-day calendar warranty

    Usage Rules:

    • Credit Consumption: 1 credit per request by default; 2 credits per request when using Thinking Mode. Additionally, every 10 million tokens counts toward credit usage.
    • Important Restrictions:
      • Do not use Max Mode, as it switches billing to standard pay-as-you-go rates.
      • Models 4.7, 5.5, and 5.4 are NOT supported in this package. Verify compatibility before purchase.
      • Credit exhaustion is not covered by the 25-day warranty.
  4. Technical Details: Modified Files and Fields

    master

    The tool works by modifying Cursor's storage.json configuration file to generate new unique identifiers.

    Target Files:

    • Windows: %APPDATA%\Cursor\User\globalStorage\storage.json
    • macOS: ~/Library/Application Support/Cursor/User/globalStorage/storage.json
    • Linux: ~/.config/Cursor/User/globalStorage/storage.json

    Modified Fields:

    • telemetry.machineId
    • telemetry.macMachineId
    • telemetry.devDeviceId
    • telemetry.sqmId
  5. How the ID Modifier works (Technical Details)

    master

    The tool resets Cursor's identity by modifying system identifiers and local configuration files.

    Registry Modification (Windows)

    Warning: This tool modifies the system registry.

    • Path: HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Cryptography
    • Key: MachineGuid
    • Backup: The tool automatically backs up the original value to %APPDATA%\Cursor\User\globalStorage\backups in the format MachineGuid.backup_YYYYMMDD_HHMMSS.
    • Recovery: To restore, open regedit, navigate to the path above, and manually paste the value from your backup file.

    Configuration File Modification

    The tool modifies the storage.json file located at:

    • Windows: %APPDATA%\Cursor\User\globalStorage\
    • macOS: ~/Library/Application Support/Cursor/User/globalStorage/
    • Linux: ~/.config/Cursor/User/globalStorage/

    It generates new unique identifiers for the following fields:

    • telemetry.machineId
    • telemetry.macMachineId
    • telemetry.devDeviceId
    • telemetry.sqmId
  6. Install the Cursor ID Modifier via One-Click Solutions

    master

    The project provides one-click shell and PowerShell scripts to automatically install the tool and reset the Cursor trial period. Choose the command corresponding to your operating system.

    macOS

    curl -fsSL https://wget.la/https://raw.githubusercontent.com/yuaotian/go-cursor-help/refs/heads/master/scripts/run/cursor_mac_id_modifier.sh -o ./cursor_mac_id_modifier.sh && sudo bash ./cursor_mac_id_modifier.sh && rm ./cursor_mac_id_modifier.sh

    Linux

    curl -fsSL https://wget.la/https://raw.githubusercontent.com/yuaotian/go-cursor-help/refs/heads/master/scripts/run/cursor_linux_id_modifier.sh | sudo bash

    Note: Linux users must have Cursor installed in standard locations (e.g., /usr/bin, /opt/cursor, or via snap) for the script to locate it.

    Windows

    Run the following in an Administrator PowerShell terminal:

    irm https://wget.la/https://raw.githubusercontent.com/yuaotian/go-cursor-help/refs/heads/master/scripts/run/cursor_win_id_modifier.ps1 | iex

    To bypass potential proxy/cache issues on Windows, append a timestamp to the URL:

    irm "https://raw.githubusercontent.com/yuaotian/go-cursor-help/refs/heads/master/scripts/run/cursor_win_id_modifier.ps1?$(Get-Date -Format yyyyMMddHHmmss)" | iex
    irm https://wget.la/https://raw.githubusercontent.com/yuaotian/go-cursor-help/refs/heads/master/scripts/run/cursor_win_id_modifier.ps1 | iex
  7. One-Click Installation for Cursor Machine Code Reset

    master

    You can reset your Cursor machine code using a single command based on your operating system. This is the fastest way to resolve trial limits or account issues.

    macOS

    curl -fsSL https://raw.githubusercontent.com/yuaotian/go-cursor-help/refs/heads/master/scripts/run/cursor_mac_id_modifier.sh -o ./cursor_mac_id_modifier.sh && sudo bash ./cursor_mac_id_modifier.sh && rm ./cursor_mac_id_modifier.sh

    Linux

    curl -fsSL https://raw.githubusercontent.com/yuaotian/go-cursor-help/refs/heads/master/scripts/run/cursor_linux_id_modifier.sh | sudo bash 

    Windows

    Run the following command in an Administrator PowerShell terminal:

    irm https://raw.githubusercontent.com/yuaotian/go-cursor-help/refs/heads/master/scripts/run/cursor_win_id_modifier.ps1 | iex

    Note for Windows users: To avoid issues with cached scripts from mirrors or proxies, append a timestamp to the URL:

    irm "https://raw.githubusercontent.com/yuaotian/go-cursor-help/refs/heads/master/scripts/run/cursor_win_id_modifier.ps1?$(Get-Date -Format yyyyMMddHHmmss)" | iex
    irm https://raw.githubusercontent.com/yuaotian/go-cursor-help/refs/heads/master/scripts/run/cursor_win_id_modifier.ps1 | iex
  8. How to run the script as Administrator on Windows

    master

    The Windows script requires elevated privileges. You can open an Administrator terminal using one of these methods:

    1. Win + X: Select Windows PowerShell (Administrator) or Terminal (Administrator).
    2. Win + R: Type powershell, then press Ctrl + Shift + Enter to run as admin.
    3. Search: Search for pwsh, right-click, and select Run as administrator.
  9. Manual Installation via Binary Downloads

    master

    Download the pre-compiled binaries from the latest releases page:

    OSArchitectureFilename
    Windowsx64cursor-id-modifier_windows_x64.exe
    Windowsx86cursor-id-modifier_windows_x86.exe
    macOSIntelcursor-id-modifier_darwin_x64_intel
    macOSM1/M2 (Apple Silicon)cursor-id-modifier_darwin_arm64_apple_silicon
    Linuxx64cursor-id-modifier_linux_x64
    Linuxx86cursor-id-modifier_linux_x86
    LinuxARM64cursor-id-modifier_linux_arm64
  10. Disable Cursor Automatic Updates

    master

    To prevent Cursor from automatically updating to a version that might be incompatible with the reset tool, you can disable the update feature.

    When running the reset tool, the script will prompt you: [質問] Cursorの自動更新機能を無効にしますか? (Do you want to disable Cursor's auto-update feature?) Select 1 to disable it automatically.

    Method 2: Manual Disabling

    Windows

    1. Close all Cursor processes.
    2. Delete the directory: %LOCALAPPDATA%\cursor-updater.
    3. Create a new file named cursor-updater (with no file extension) in that same location.

    macOS

    Note: This method is tested for version 0.45.11 and earlier.

    # Close Cursor
    pkill -f "Cursor"
    # Replace app-update.yml with an empty read-only file
    cd /Applications/Cursor.app/Contents/Resources
    mv app-update.yml app-update.yml.bak
    touch app-update.yml
    chmod 444 app-update.yml
    
    # Delete the update cache directory
    rm -rf ~/Library/Application\ Support/Caches/cursor-updater
    touch ~/Library/Application\ Support/Caches/cursor-updater

    Note: You must also set the update mode to none in Cursor Settings -> Application -> Update to prevent it from checking for updates.

    Linux

    # Close Cursor
    pkill -f "Cursor"
    # Delete the update directory and create a block file
    rm -rf ~/.config/cursor-updater
    touch ~/.config/cursor-updater
  11. One-Click Installation for Global Users

    master

    Use these commands to automatically download and run the ID modifier script for your operating system. These scripts handle the installation and reset process in one step.

    # macOS
    curl -fsSL https://raw.githubusercontent.com/yuaotian/go-cursor-help/refs/heads/master/scripts/run/cursor_mac_id_modifier.sh -o ./cursor_mac_id_modifier.sh && sudo bash ./cursor_mac_id_modifier.sh && rm ./cursor_mac_id_modifier.sh
    
    # Linux
    curl -fsSL https://raw.githubusercontent.com/yuaotian/go-cursor-help/refs/heads/master/scripts/run/cursor_linux_id_modifier.sh | sudo bash
    
    # Windows (PowerShell)
    irm https://raw.githubusercontent.com/yuaotian/go-cursor-help/refs/heads/master/scripts/run/cursor_win_id_modifier.ps1 | iex
  12. Disable Cursor Auto-Updates

    master

    To prevent Cursor from automatically updating and potentially reverting changes, follow these steps based on your OS.

    macOS

    Note: This method is tested only for versions 0.45.11 and below. It does not support 0.46. versions.*

    1. Close all Cursor processes:
      pkill -f "Cursor"
    2. Replace the update configuration with a read-only empty file:
      cd /Applications/Cursor.app/Contents/Resources
      mv app-update.yml app-update.yml.bak
      touch app-update.yml
      chmod 444 app-update.yml
    3. Crucial Step: Open Cursor Settings $\rightarrow$ Application $\rightarrow$ Update, and set Mode to none.
    4. (Optional) Clear the cache directory:
      rm -rf ~/Library/Application\ Support/Caches/cursor-updater
      touch ~/Library/Application\ Support/Caches/cursor-updater

    Windows

    1. Close all Cursor processes.
    2. Delete the directory: C:\Users\<YourUsername>\AppData\Local\cursor-updater.
    3. Create a new file named cursor-updater (with no file extension) in that same location.
    pkill -f "Cursor"
    
    cd /Applications/Cursor.app/Contents/Resources
    mv app-update.yml app-update.yml.bak
    touch app-update.yml
    chmod 444 app-update.yml