A script to reset Cursor editor's device identification system. Helps resolve account restrictions and trial-related issues.
Python
1,513
17 commits
updated Mar 4, 2025
⚠️ 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.
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.
Cursor v0.44.11
To prevent Cursor from automatically updating to unsupported new versions, you can block the update server.
sudo vim /etc/hosts
# 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.
The tool generates a new device identifier, which allows Cursor to recognize your system as a new device.

curl -sL dub.sh/cursorreset | python3
dub.sh/cursorreset is a shortcut for downloading the script file
reset.pyfrom 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:
%APPDATA%\Cursor\User\globalStorage\storage.json~/Library/Application Support/Cursor/User/globalStorage/storage.json~/.config/Cursor/User/globalStorage/storage.jsonThis 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.
248 followers · starred Dec 2024
15 followers · starred Apr 2025
37 followers · starred Jan 2025
23 followers · starred Oct 2025
A script to reset Cursor editor's device identification system. Helps resolve account restrictions and trial-related issues.
Python
1,513
17 commits
updated Mar 4, 2025
⚠️ 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.
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.
Cursor v0.44.11
To prevent Cursor from automatically updating to unsupported new versions, you can block the update server.
sudo vim /etc/hosts
# 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.
The tool generates a new device identifier, which allows Cursor to recognize your system as a new device.

curl -sL dub.sh/cursorreset | python3
dub.sh/cursorreset is a shortcut for downloading the script file
reset.pyfrom 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:
%APPDATA%\Cursor\User\globalStorage\storage.json~/Library/Application Support/Cursor/User/globalStorage/storage.json~/.config/Cursor/User/globalStorage/storage.jsonThis 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.
248 followers · starred Dec 2024
15 followers · starred Apr 2025
37 followers · starred Jan 2025
23 followers · starred Oct 2025