Windows、Office、Visual Studio 升级激活脚本
Microsoft Activation Scripts (MAS),参考项目地址,参考说明文档。
项目简介:Open-source Windows and Office activator featuring HWID, Ohook, TSforge, KMS38, and Online KMS activation methods, along with advanced troubleshooting.
Windows和Office激活
Windows激活密钥
1 | J8WVF-9X3GM-4WVYC-VDHQG-42CXT // Windows 11 专业版 |
其他密钥见支持产品。
步骤
- 先断网输入产品密钥,更新时自动重启电脑。
- 重启电脑后显示已经更新到Win11专业版,待激活状态。
- 联网后按
Win+X,选择终端管理员(Windows PowerShell)打开 。 - 再在弹出的窗口内输入:
irm https://get.activated.win | iex,回车,等待弹出窗口(窗口不会立马弹出,需等待一会)。 - 弹出窗口按需选择序号(如下图)。
- 回到系统查看会显示已激活。

- HWID (数字证书) 方法永久激活Windows
- Ohook 方法永久激活Office
- TSforge 方法永久激活 Windows/ESU/Office
- KMS38 方法激活 Windows (有效期到2038年)
- Online KMS 激活Windows/Office 180天(终身续订任务)
| 激活类型 | 支持产品 | 激活有效期 | 是否联网 |
|---|---|---|---|
| HWID | Windows 10-11 | 永久有效 | 是 |
| Ohook | Office | 永久有效 | 无须联网 |
| TSforge | Windows / ESU / Office | 永久有效 | 是的,19041及以后版本需要 |
| KMS38 | Windows | 到2038年之前有效 | 无须联网 |
| Online KMS | Windows / Office | 180天内有效 | 是 |
Visual Studio
激活密钥
Visual Studio激活密钥
| 版本 | 激活密钥 |
|---|---|
| Visual Studio 2022 Professional | TD244-P4NB7-YQ6XK-Y8MMM-YWV2J |
| Visual Studio 2022 Enterprise | VHF9H-NXBBB-638P6-6JHCY-88JWH |
| Visual Studio 2019 Professional | NYWVH-HT4XC-R2WYW-9Y3CM-X4V3Y |
| Visual Studio 2019 Enterprise | BF8Y8-GN2QH-T84XB-QVY3B-RC4DF |
安装方法
参考博文