⚠️ 重要提示本工具当前支持版本:
- ✅ Cursor v0.44.11 及以下版本
- ✅ Windows: 最新的 0.45.x 版本(已支持)
- ✅ Mac/Linux: 最新的 0.45.x 版本(已支持,欢迎测试并反馈问题)
使用前请确认您的 Cursor 版本。
⚠️ MAC地址修改警告Mac用户请注意: 本脚本包含MAC地址修改功能,将会:
- 修改您的网络接口MAC地址
- 在修改前备份原始MAC地址
- 此修改可能会暂时影响网络连接
- 执行过程中可以选择跳过此步骤
Windows ✅
|
macOS ✅
|
Linux ✅
|
国内用户(推荐)
macOS
curl -fsSL https://aizaozao.com/accelerate.php/https://raw.githubusercontent.com/yuaotian/go-cursor-help/refs/heads/master/scripts/run/cursor_mac_id_modifier.sh | sudo bash
Linux
curl -fsSL https://aizaozao.com/accelerate.php/https://raw.githubusercontent.com/yuaotian/go-cursor-help/refs/heads/master/scripts/run/cursor_linux_id_modifier.sh | sudo bash
Windows
irm https://aizaozao.com/accelerate.php/https://raw.githubusercontent.com/yuaotian/go-cursor-help/refs/heads/master/scripts/run/cursor_win_id_modifier.ps1 | iex
Windows 管理员终端运行和手动安装
1. 按下 Win + X 组合键
2. 在弹出的菜单中选择以下任一选项:
- "Windows PowerShell (管理员)"
- "Windows Terminal (管理员)"
- "终端(管理员)"
(具体选项因Windows版本而异)
1. 按下 Win + R 组合键
2. 在运行框中输入 powershell 或 pwsh
3. 按 Ctrl + Shift + Enter 以管理员身份运行
或在打开的窗口中输入: Start-Process pwsh -Verb RunAs
4. 在管理员终端中输入以下重置脚本:
irm https://aizaozao.com/accelerate.php/https://raw.githubusercontent.com/yuaotian/go-cursor-help/refs/heads/master/scripts/run/cursor_win_id_modifier.ps1 | iex
在管理员终端中输入重置脚本:
irm https://aizaozao.com/accelerate.php/https://raw.githubusercontent.com/yuaotian/go-cursor-help/refs/heads/master/scripts/run/cursor_win_id_modifier.ps1 | iex
如果您的系统没有安装 PowerShell,可以通过以下方法安装:
- 打开命令提示符或 PowerShell
- 运行以下命令:
winget install --id Microsoft.PowerShell --source winget
-
下载对应系统的安装包:
- PowerShell-7.4.6-win-x64.msi (64位系统)
- PowerShell-7.4.6-win-x86.msi (32位系统)
- PowerShell-7.4.6-win-arm64.msi (ARM64系统)
-
双击下载的安装包,按提示完成安装
💡 如果仍然遇到问题,可以参考 Microsoft 官方安装指南
- 🔍 自动检测并使用 PowerShell 7(如果可用)
- 🛡️ 通过 UAC 提示请求管理员权限
- 📝 如果没有 PS7 则使用 Windows PowerShell
- 💡 如果提权失败会提供手动说明
完成后,脚本将:
- ✨ 自动安装工具
- 🔄 立即重置 Cursor 试用期
从 releases 下载适合您系统的文件
Windows 安装包
- 64 位:
cursor-id-modifier_windows_x64.exe
- 32 位:
cursor-id-modifier_windows_x86.exe
macOS 安装包
- Intel:
cursor-id-modifier_darwin_x64_intel
- M1/M2:
cursor-id-modifier_darwin_arm64_apple_silicon
Linux 安装包
- 64 位:
cursor-id-modifier_linux_x64
- 32 位:
cursor-id-modifier_linux_x86
- ARM64:
cursor-id-modifier_linux_arm64
注册表修改说明
⚠️ 重要提示:本工具会修改系统注册表
- 路径:
计算机\HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Cryptography
- 项目:
MachineGuid
修改此注册表项可能会影响:
- Windows 系统对设备的唯一标识
- 某些软件的设备识别和授权状态
- 基于硬件标识的系统功能
-
自动备份
- 每次修改前会自动备份原始值
- 备份保存在:
%APPDATA%\Cursor\User\globalStorage\backups
- 备份文件格式:
MachineGuid.backup_YYYYMMDD_HHMMSS
-
手动恢复方法
- 打开注册表编辑器(regedit)
- 定位到:
计算机\HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Cryptography
- 右键点击
MachineGuid
- 选择"修改"
- 粘贴备份文件中的值
- 建议在修改前先确认备份文件的存在
- 如遇问题可通过备份文件恢复原始值
- 必须以管理员权限运行才能修改注册表
配置文件
程序修改 Cursor 的storage.json
配置文件,位于:
- Windows:
%APPDATA%\Cursor\User\globalStorage\
- macOS:
~/Library/Application Support/Cursor/User/globalStorage/
- Linux:
~/.config/Cursor/User/globalStorage/
修改字段
工具会生成新的唯一标识符:
telemetry.machineId
telemetry.macMachineId
telemetry.devDeviceId
telemetry.sqmId
手动禁用自动更新
Windows 用户可以手动禁用自动更新功能:
- 关闭所有 Cursor 进程
- 删除目录:
C:\Users\用户名\AppData\Local\cursor-updater
- 创建同名文件:
cursor-updater
(不带扩展名)
macOS/Linux 用户可以尝试在系统中找到类似的cursor-updater
目录进行相同操作。
安全特性
- ✅ 安全的进程终止
- ✅ 原子文件操作
- ✅ 错误处理和恢复
个人微信![]() 微信:JavaRookie666 |
微信交流群![]() 7天内(3月1日前)有效,群满可以加公众号关注最新动态 |
公众号![]() 获取更多AI开发资源 |
微信赞赏![]() 要到饭咧?啊咧?啊咧?不给也没事~ 请随意打赏 |
支付宝赞赏![]() 如果觉得有帮助,来包辣条犒劳一下吧~ |
MIT 许可证
Copyright (c) 2024
Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions:
The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software.