Skip to content
المشاريع

justonemorenight/Fix-Cursor-Too-many-free-trial-accounts-used-on-this-machine

عرض على GitHub

حول

Reset Trial Cursor

مشاريع أخرى

كيف تُقاس هذه الأرقام

ما يمكنك فعله

  • Platform-specific implementations (Windows batch & Unix shell script)
  • Windows: Using PowerShell's Guid
  • Linux/macOS: Using uuidgen or fallback to /dev/urandom
  • Random hex string generation for machine IDs

النمو المقاس للنجوم

خلال 24 ساعة
٠
خلال 7 أيام
؜-١
خلال 15 يومًا
؜-١
خلال شهر
جارٍ جمع السجل

تغيّر صافي النجوم خلال فترات متداخلة، وليس مجموعًا يوميًا. تبقى القياسات المفقودة فارغة. النجوم تقيس الاهتمام لا جودة البرمجيات.

README.md

الأصل

Reset Cursor ID Script

Scripts to reset identification values in Cursor Editor's storage.json file for Windows, Linux, and macOS.

Purpose

This script is designed to help resolve the error message:

"Too many free trial accounts used on this machine. Please upgrade to pro. We have this limit in place to prevent abuse."

This tool is intended for legitimate users who encounter identification issues with their free trial, not for bypassing software licensing or creating unlimited trial accounts.

Disclaimer

  • This script is provided for educational and troubleshooting purposes only.
  • It is not intended to bypass software licensing or create unlimited trial accounts.
  • Users should comply with Cursor Editor's terms of service and licensing agreements.
  • The script authors are not responsible for any misuse or potential consequences.
  • If you frequently encounter trial limitations, please consider purchasing a license to support the software developers.

Description

These scripts perform the following operations:

  • Generate new random IDs for macMachineId, machineId, and devDeviceId
  • Update the storage.json file with new values
  • Set appropriate file permissions

Requirements

Windows

  • Windows Operating System
  • PowerShell
  • Administrator privileges

Linux/macOS

  • Bash shell
  • uuidgen utility
  • Execute permissions

Storage File Location

The storage.json file is located at:

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

Usage

Additional Steps (If the Error Persists)

  1. Use a different email address to create a new account after running the script.
  2. Flush DNS cache and restart your network to reset network-based tracking methods.

Steps (For All Versions of Cursor IDE)

  1. Log out from your current account in Cursor IDE.
  2. Close Cursor IDE completely. Ensure no background processes of Cursor are running.
  3. Run the script:
    • Windows: Run reset_cursor_id_windows.bat as administrator.
    • Linux/macOS:
      1. Make the script executable: chmod +x reset_cursor_id_unix.sh
      2. Run the script: ./reset_cursor_id_unix.sh
  4. Open Cursor IDE and log in again.

The scripts will automatically:

  • Generate new random IDs.
  • Update the storage.json file.
  • Display the newly generated IDs.

Features

  • Platform-specific implementations (Windows batch & Unix shell script)
  • Random UUID generation:
    • Windows: Using PowerShell's Guid
    • Linux/macOS: Using uuidgen or fallback to /dev/urandom
  • Random hex string generation for machine IDs
  • File permission handling:
    • Windows: Using attrib
    • Linux/macOS: Using chmod
  • Automatic error handling and dependency checking

Important Notes

  • The script works for all versions of Cursor IDE.
  • The storage.json file will be set to read-only after update.
  • A backup is created automatically before any modifications.

Example Output

Done! File has been updated with new random values.

New values:
macMachineId: [64-character hex string]
machineId: [64-character hex string]
devDeviceId: [UUID format]

Troubleshooting

If you encounter issues:

  1. Ensure Cursor IDE is completely closed before running the script.
  2. Run with appropriate permissions:
    • Windows: Run as administrator.
    • Linux/macOS: Ensure execute permissions (chmod +x).
  3. Check if the storage.json file exists in the specified location.
  4. Verify write permissions in the directory.

استكشف مشاريع مشابهة ومرتبطة

جارٍ التحميل…