1、网站下载工具:
- https://www.stratesave.com/html/sidchg.html
2、执行命令:
- sidchg64-3.0j.exe /KEY="************" /F /R
注意:
(1) sidchg有2个版本,标准版sidchg64和轻量版sidchgl64
轻量版无需关闭defender实时防护,但是sid改得不彻底
标准版执行之前需要关闭defender实时防护,彻底关闭!
(2) License key 在上面的网站搜索
- /KEY="序列号",省略序列号的交互
- /F,省略Y/N的交互
- /R,改完SID自动重启机器
- 以上3个参数顾名思义都挺简单的
- 有的人需要做sysprep镜像,所以就不加/R了,加了反而影响做镜像,等/F自动关机后做镜像即可
- 如果只是单纯修改sid,加/F /R
(3) 如果sidchg一直不行,那就用微软的办法,微软的有详尽日志
- http://windows-1251783334.cos.ap-shanghai.myqcloud.com/115.159.148.149/unattend_pro.xml
- 适用2012-2022
-
- powershell:
- wget http://windows-1251783334.cos.ap-shanghai.myqcloud.com/115.159.148.149/unattend_pro.xml -outfile c:\windows\qcloud_autounattend.xml
- C:\Windows\System32\sysprep\sysprep.exe /shutdown /generalize /oobe /unattend:c:\windows\qcloud_autounattend.xml
执行命令后等待几分钟会自动关机