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.
The tool generates a new device identifier, which allows Cursor to recognize your system as a new device.
- ✨ Automatic random device ID generation
- 🔄 Automatic backup of original configuration
- 📦 Zero dependencies - runs with built-in Python only.
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.
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
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.