GitPedia

Cursor reset

A script to reset Cursor editor's device identification system. Helps resolve account restrictions and trial-related issues.

From ultrasev·Updated June 22, 2026·View on GitHub·

> ⚠️ **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. The project is written primarily in Python, first published in 2024. It has gained significant community traction with 1,524 stars and 209 forks on GitHub. Key topics include: cursor, deviceid, machineid, macmachineid, reset.

⚠️ 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:
bash
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

bash
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.

bash
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.

Contributors

Showing top 3 contributors by commit count.

View all contributors on GitHub →

This article is auto-generated from ultrasev/cursor-reset via the GitHub API.Last fetched: 6/23/2026