登录 注册

Microsoft-Activation-Scripts (微软激活脚本)

去点 Star
效率与办公工具开发者工具 activatorhwidkmskms38massgravemassgravel
198,578
Stars
18,791
Forks
1,569
Watchers
2
Open Issues
GPL-3.0
许可证
Batchfile
语言
2020-01-12
创建时间
2026-11-11
最近更新

项目能做什么

一款开源的 Windows 和 Office 激活脚本工具,支持 HWID、Ohook、在线 KMS 等多种激活方式与故障排查。
来源:基于仓库元数据 · 内容以仓库实际 README 为准

使用说明 查看原始 README 原仓库文档

## 项目简介

**Microsoft Activation Scripts (MAS)** 是一款开源的 Windows 和 Office 激活工具,支持 HWID、Ohook、TSforge 以及 Online KMS 等激活方式,并提供高级故障排除功能。同时支持激活 Extended Security Updates (ESU)。

---

## 核心功能

- 支持多种激活方式:HWID、Ohook、TSforge、Online KMS
- 支持激活 Windows、Office 以及 Extended Security Updates (ESU)
- 提供高级故障排除功能

---

## 适合谁用

- 需要激活 Windows(Windows Vista 及以上版本)或 Office 的用户
- 需要激活 Extended Security Updates (ESU) 的用户

---

## 安装步骤

项目无需传统安装,提供以下两种运行方式:

### 方式一:PowerShell(推荐,适用于 Windows 8.1 / 10 / 11)

1. 点击**开始菜单**,输入 `PowerShell` 并打开。
2. 复制并粘贴以下命令,然后按 **Enter**:
   ```powershell
   irm https://get.activated.win | iex
   ```
   如果上述命令被运营商(ISP)或 DNS 屏蔽,可尝试以下命令(需要已更新的 Windows 10 或 11):
   ```powershell
   iex (curl.exe -s --doh-url https://1.1.1.1/dns-query https://get.activated.win | Out-String)
   ```
   > 若脚本无法启动,请改用下方**方式二**。
3. 在出现的菜单中,输入对应**绿色(Green)**选项的数字即可。

### 方式二:传统方式(适用于 Windows Vista 及以上版本)

1. 下载脚本文件:
   - 直接下载脚本:`MAS_AIO.cmd`
   - 若浏览器拦截直接下载,可下载压缩包:`MAS_AIO.zip`
2. 运行 `MAS_AIO.cmd` 文件。
3. 在出现的菜单中,输入对应**绿色(Green)**选项的数字即可。

---

## 配置说明

此部分原文未说明,请查看原仓库。

---

## 常见问题

- **无法访问域名 / 命令被拦截怎么办?**  
  部分 ISP 或 DNS 提供商会屏蔽相关域名。你可以在浏览器中启用 DNS-over-HTTPS (DoH) 来绕过限制。
- **使用遇到问题怎么办?**  
  可访问官方故障排除页面(`https://massgrave.dev/troubleshoot`)或在 GitHub 提交 Issue。
- **安全提示**  
  `irm` 用于从指定 URL 下载脚本,`iex` 用于执行脚本。运行前请务必核对 URL,手动下载时也请确认来源可信,谨防第三方篡改 PowerShell 命令中的 URL 传播恶意软件。
原始 README 摘录(英文原文,节选前 3000 字符)
<p align="center"><img src="https://massgrave.dev/img/logo_small.png" alt="MAS Logo"></p>

<h1 align="center">Microsoft  Activation  Scripts (MAS)</h1>

<p align="center">Open-source Windows and Office activator featuring HWID, Ohook, TSforge, and Online KMS activation methods, along with advanced troubleshooting.</p>

<hr>
  
## How to Activate Windows / Office / Extended Security Updates (ESU)?

### Method 1 - PowerShell ❤️

1. Click the **Start Menu**, type `PowerShell`, and open it.

2. Copy and paste the code below and press **Enter.**  
   - For **Windows 8.1, 10 and 11**:
     ```
     irm https://get.activated.win | iex
     ```
	 If the above is blocked (by ISP/DNS), try this (needs updated Windows 10 or 11):  
	 ```
	 iex (curl.exe -s --doh-url https://1.1.1.1/dns-query https://get.activated.win | Out-String)
	 ```
	- **Script not launching? Use the below-listed Method 2.**

3. In the menu that appears, type the number corresponding to one of the **Green** options.

---

### Method 2 - Traditional (Windows Vista and later)

1.   Download the script:
      *   [**MAS_AIO.cmd**](https://dev.azure.com/massgrave/Microsoft-Activation-Scripts/_apis/git/repositories/Microsoft-Activation-Scripts/items?path=/MAS/All-In-One-Version-KL/MAS_AIO.cmd&download=true) (Direct script)
      *   [**MAS_AIO.zip**](https://dev.azure.com/massgrave/Microsoft-Activation-Scripts/_apis/git/repositories/Microsoft-Activation-Scripts/items?$format=zip) (If the direct script is blocked by your browser)
2.   Run the `MAS_AIO.cmd` file.
3.   In the menu that appears, type the number corresponding to one of the **Green** options.

---

> [!TIP]
> - Some ISPs/DNS providers block access to our domains. You can bypass this by enabling [DNS-over-HTTPS (DoH)](https://developers.cloudflare.com/1.1.1.1/encryption/dns-over-https/encrypted-dns-browsers/) in your browser. 
> - **Having trouble**? Visit our [troubleshooting page](https://massgrave.dev/troubleshoot) or raise an issue on [GitHub](https://github.com/massgravel/Microsoft-Activation-Scripts/issues).

> [!NOTE]
>
> - The `irm` command in PowerShell downloads a script from a specified URL, and the `iex` command executes it.
> - Always double-check the URL before executing the command and verify the source is trustworthy when manually downloading files.
> - Be cautious of third parties spreading malware disguised as MAS by altering the URL in the PowerShell command.

---

<div align="center">
	
### Homepage - [https://massgrave.dev/](https://massgrave.dev/)
  
[![1.1]][1]
[![1.2]][2]
[![1.3]][3]
[![1.4]][4]
[![1.5]][5]
[![1.6]][6]
[![1.7]][7]

[1.1]: https://massgrave.dev/img/logo_discord.png (Chat with us without signup)
[1.2]: https://massgrave.dev/img/logo_reddit.png (Reddit)
[1.3]: https://massgrave.dev/img/logo_bluesky.png (Bluesky)
[1.4]: https://massgrave.dev/img/logo_x.png (Twitter)

[1.5]: https://massgrave.dev/img/logo_github.png (GitHub)
[1.6
阅读完整原文

商业机会分析 规则生成(AI 未配置)

综合评分 53.5 分。该项目在“个人可实施性”维度得 35 分,“付费可能性”维度得 35.0 分,差异化空间 70.0 分(评分依据见评分卡)。

面向细分需求的二次开发产品

产品构想基于 Microsoft-Activation-Scripts 的核心能力,聚焦一个更窄的场景(如某平台、某行业)做差异化。
目标用户该细分场景用户
难度/周期中 · 2~6 周
收费模式买断制 / 订阅制 / 广告
竞争风险细分需求规模需验证
依据 AI 推测:基于项目主题标签的判断
以上为规则引擎基于仓库公开数据生成的参考结论,包含推测成分,不构成投资或创业承诺;配置 AI 后可获得更深入的分析。
报告会保存到 个人中心

竞品与相似项目 GitHub Search 真实检索

项目中文简介Stars语言
zbezj/HEU_KMS_Activator 中文介绍暂未生成
44,373 -
TGSAN/CMWTAT_Digital_Edition 中文介绍暂未生成
CloudMoe Windows 10/11 Activation Toolkit get digital licens
19,716 C#
KoljaB/RealtimeSTT 中文介绍暂未生成
A robust, efficient, low-latency speech-to-text library with
10,240 Python
diet103/claude-code-infrastructure-showcase 中文介绍暂未生成
Examples of my Claude Code infrastructure with skill auto-ac
10,053 TypeScript
WindowsAddict/IDM-Activation-Script 中文介绍暂未生成
An open source tool to activate and reset trial of Internet
7,668 Batchfile
wassupjay/n8n-free-templates 中文介绍暂未生成
A curated set of 200+ plug-and-play n8n workflows that fuse
6,256 -
以上为通过 GitHub 官方 Search API 检索的相似项目,功能差异与优劣势需进一步人工确认,配置 AI 后可生成对比分析。

项目优势与风险

技术成熟度创建于 2020-01-12,近 30 天仍在推送,发布过 31 个 Release
社区活跃Star 198,578 / Fork 18,791 / Issue 2(数据支持,可自行核实)
许可证GPL-3.0 商用需注意传染性条款
主要风险上游项目方向可能变化;同赛道竞争者较多(见竞品表);热度与需求不完全等价

安装与使用

快速开始(以仓库 README 为准)
git clone https://github.com/massgravel/Microsoft-Activation-Scripts.git
cd Microsoft-Activation-Scripts
# 请阅读仓库 README 获取确切安装步骤(依赖、配置、启动命令)
阅读原仓库文档
术语说明:Docker=应用容器(把程序和依赖打包运行);API Key=调用外部服务的密钥;Git Clone=把仓库代码下载到本地。常见错误:API Key 未配置 / 端口占用 / 数据库连接失败,多数项目在 README 的 Troubleshooting 章节有说明。