Language: 简体中文 | English
After trying multiple Pro accounts with Cursor, users may encounter the Too many free trial accounts used on this machine
restriction.
The Cursor Device ID Management Tool is a command-line utility for managing and modifying the Cursor editor's device identification (Device ID
). It resolves the above device restriction issue by resetting the device identifier to restore normal usage.
CMD
orPowerShell
- Administrator privileges
bash
orzsh
shell- User directory write permissions
Before using, please ensure:
- Cursor editor is completely closed
-
Download
device_id_win.ps1
script -
Run options (choose one):
# Option 1: Right-click script -> "Run PowerShell as Administrator" # Option 2: Execute in Administrator PowerShell Set-ExecutionPolicy -ExecutionPolicy Bypass -Scope Process .\device_id_win.ps1
-
View logs:
- Location:
$env:TEMP\cursor_device_id_update.log
- Location:
- Run with random ID update:
curl -fsSL https://raw.githubusercontent.com/resetsix/cursor_device_id/refs/heads/main/device_id_mac.sh | bash
-
Run options:
# Show help curl -fsSL https://raw.githubusercontent.com/resetsix/cursor_device_id/refs/heads/main/device_id_mac.sh | bash -s -- --help # Update with random ID curl -fsSL https://raw.githubusercontent.com/resetsix/cursor_device_id/refs/heads/main/device_id_mac.sh | bash # Update with specific ID curl -fsSL https://raw.githubusercontent.com/resetsix/cursor_device_id/refs/heads/main/device_id_mac.sh | bash -s -- --id <your-id> # Show current ID curl -fsSL https://raw.githubusercontent.com/resetsix/cursor_device_id/refs/heads/main/device_id_mac.sh | bash -s -- --show # Restore backup curl -fsSL https://raw.githubusercontent.com/resetsix/cursor_device_id/refs/heads/main/device_id_mac.sh | bash -s -- --restore
-
View logs:
- Location:
~/Library/Application Support/Cursor/User/globalStorage/update.log
- Location:
%APPDATA%\Cursor\User\globalStorage\storage.json
~/Library/Application Support/Cursor/User/globalStorage/storage.json
- Location: Same directory as configuration file
- Format:
storage.json.backup_YYYYMMDD_HHMMSS
- Keeps the 5 most recent backups
- Location:
backups
folder in the configuration file directory - Format:
storage_YYYYMMDD_HHMMSS.json
-
"
Cannot load script
" error- Run
PowerShell
as Administrator - Execute
Set-ExecutionPolicy -ExecutionPolicy Bypass -Scope Process
- Run
-
"
Access denied
" error- Ensure running as Administrator
- Check file permissions
-
"
Permission denied
" error- Check script execution permissions
- Verify user directory permissions
-
"
Command not found
" error- Ensure executing from script directory
- Check file name case sensitivity