Analysis updated 2026-05-18
Activate Windows on a self-built PC without entering a product key.
Activate Microsoft Office on an older installation that lost its license.
Troubleshoot broken Windows or Office activation as a recovery step.
Enable Extended Security Updates on systems that need extended support.
| massgravel/microsoft-activation-scripts | realpython/python-guide | flowseal/zapret-discord-youtube | |
|---|---|---|---|
| Stars | 174,248 | 29,607 | 27,460 |
| Language | Batchfile | Batchfile | Batchfile |
| Setup difficulty | easy | easy | moderate |
| Complexity | 2/5 | 1/5 | 3/5 |
| Audience | developer | developer | developer |
Figures from each repo's GitHub metadata at analysis time.
Microsoft Activation Scripts (MAS) is an open-source Windows and Office activator that provides several activation methods, including HWID, Ohook, TSforge, and Online KMS, along with advanced troubleshooting. Activation here means the process by which Windows and Microsoft Office determine whether a copy is licensed, MAS automates that step using scripted methods rather than going through Microsoft's product-key entry flow. The repo also covers Extended Security Updates (ESU) activation. It works by giving you a script that opens an interactive menu in your terminal, where you pick the activation method you want from a numbered list. The README documents two ways to run it: a PowerShell one-liner that downloads and executes the script directly from the project's domain (with a fallback variant that uses DNS-over-HTTPS through 1.1.1.1 if your ISP or DNS provider blocks access), and a traditional download-and-run path where you grab the MAS_AIO.cmd file or its zipped version from Azure DevOps and execute it locally. The PowerShell route is supported on Windows 8.1, 10, and 11, the traditional route works on Windows Vista and later. You'd use this if you want to activate a Windows or Office installation without going through Microsoft's normal channels, for example, on a self-built PC, an old install, or as a troubleshooting step when activation has broken. The README explicitly cautions that "irm | iex" downloads and executes remote code, so you should double-check the URL and watch for third parties spreading malware disguised as MAS by altering it. The codebase is primarily Batch scripts. The latest version listed is 3.11, released 02-May-2026.
Open-source Windows and Office activator using scripted methods like HWID, Ohook, and KMS to automate licensing verification without product keys.
Mainly Batchfile. The stack also includes Batch, PowerShell, Windows.
Use it freely, but any project you distribute that includes this code must also be GPL-licensed and open source.
Setup difficulty is rated easy, with roughly 5min to a first successful run.
Mainly developer.
This repo across BitVibe Labs
Verify against the repo before relying on details.