-02-05 更新: 此方案好像已经不再可用 2025
手动重置
-
完全关闭Cursor
-
找到storage.json文件:
- Windows:
%APPDATA%\Roaming\Cursor\User\globalStorage\storage.json - MacOS:
~/Library/Application Support/Cursor/User/globalStorage/storage.json - Linux:
~/.config/Cursor/User/globalStorage/storage.json
- Windows:
-
修改文件为可写(如果需要):
- Windows: 右键 -> 属性 -> 取消勾选"只读"
- MacOS/Linux:
chmod 666 storage.json
-
编辑文件,替换以下字段为新的随机值:
{ "telemetry.macMachineId": "生成64位十六进制", "telemetry.machineId": "生成64位十六进制", "telemetry.devDeviceId": "生成UUID格式" }- 十六进制值:使用64个字符(0-9, a-f)
- UUID格式:类似 "xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx"
-
将文件设为只读:
- Windows: 右键 -> 属性 -> 勾选"只读"
- MacOS/Linux:
chmod 444 storage.json
-
重启Cursor