最近使用Cursor无缘无故出现了下面的提示
Too many free trial accounts used on this machine. Please upgrade to pro. We have this limit in place to prevent abuse. Please let us know if you believe this is a mistake.
仔细研究了一下开源脚本和大佬们的只言片语,用只学几天的go,写了一个小脚本,核心就是修改三个参数macMachineId
、machineId
、devDeviceId
之后立马设置只读
即可。
手动重置
完全关闭Cursor
找到storage.json文件:
Windows: %APPDATA%\Cursor\User\globalStorage\storage.json
MacOS: ~/Library/Application Support/Cursor/User/globalStorage/storage.json
Linux: ~/.config/Cursor/User/globalStorage/storage.json
修改文件为可写(如果需要):
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
⚠️ 注意事项
使用本工具需要您自行承担风险
建议在重要数据做好备份后使用
本工具仅用于学习研究,请勿用于商业用途
开源如下:
yuaotian/go-cursor-help: 解决Cursor在免费订阅期间出现以下提示的问题: Too many free trial accounts used on this machine. Please upgrade to pro. We have this limit in place to prevent abuse. Please let us know if you believe this is a mistake.