Skip to content

wwjj999/cursor-reset

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

17 Commits
 
 
 
 
 
 

Repository files navigation

⚠️ CRITICAL VERSION NOTICE: This script ONLY works with Cursor version 0.44 and below. If you're using a newer version, you MUST downgrade to v0.44 first. Higher versions are NOT supported.

Cursor Trial Reset Tool

A utility tool that helps manage Cursor editor's device identification system by resetting stored device IDs. This can help users to resolve issues related to account restrictions when switching between accounts or during trial periods.

Download Compatible Version

Cursor v0.44.11

Disable Auto-Update Feature

To prevent Cursor from automatically updating to unsupported new versions, you can block the update server.

  1. Open Hosts file:
sudo vim /etc/hosts
  1. Add the following lines to the file and save:
# block cursor autoupdate
127.0.0.1 download.todesktop.com

⚠️ Note: After disabling the autoupdates, you can execute the script to reset the device ID.

How It Works

The tool generates a new device identifier, which allows Cursor to recognize your system as a new device.

Device ID Management

Key Features

  • ✨ Automatic random device ID generation
  • 🔄 Automatic backup of original configuration
  • 📦 Zero dependencies - runs with built-in Python only.

Installation & Usage

curl -sL dub.sh/cursorreset | python3

dub.sh/cursorreset is a shortcut for downloading the script file reset.py from this repository.

You can also download the script file reset.py from this repository, make changes to it and run it manually.

python3 reset.py

This will generate a new random device ID.

❗️❗️❗️ Important: You need to log out and completely close Cursor before running the script. If Cursor is still running in the background, it may revert back to the previous device ID, undoing the reset.

Configuration Location

You can also manually edit the configuration file to set a specific device ID. The default configuration file for each operating system is located at:

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

Important Notice

This tool is developed for research and educational purposes only. Please use responsibly. The developer assumes no liability for any issues that may arise from using this tool.

About

cursor重置永续法

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Python 100.0%