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小时
0
7天
-1
15天
-1
1个月
正在收集历史

各周期内的星标净变化,周期相互重叠,并非每日新增。缺失的测量保持空白。星标代表关注度,不代表软件质量。

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.

探索相关项目

加载中…