massgravel /Microsoft-Activation-Scripts
Open-source Windows and Office activator featuring HWID, Ohook, TSforge, and Online KMS activation methods, along with advanced troubleshooting.
★ 198,349⑂ 18,781👁 1,566⑃ 65● 1,169▤ 31◈ 207
198,349
stars
+140
18,781
forks
1,566
watchers
65
prs
1,169
issues
31
releases
207
discussions
README
Microsoft Activation Scripts (MAS)
Open-source Windows and Office activator featuring HWID, Ohook, TSforge, and Online KMS activation methods, along with advanced troubleshooting.
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 (Direct script)
MAS_AIO.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) in your browser.
- Having trouble? Visit our troubleshooting page or raise an issue on GitHub.
[!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.
---
Homepage - 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]: https://massgrave.dev/img/logo_azuredevops.png (AzureDevOps)
[1.7]: https://massgrave.dev/img/logo_gitea.png (Self-hosted Git)
[1]: https://discord.gg/j2yFsV5ZVC
[2]: https://www.reddit.com/r/MAS_Activator
[3]: https://bsky.app/profile/massgrave.dev
[4]: https://twitter.com/massgravel
[5]: https://github.com/massgravel/Microsoft-Activation-Scripts
[6]: https://dev.azure.com/massgrave/_git/Microsoft-Activation-Scripts
[7]: https://git.activated.win/Microsoft-Activation-Scripts
---
Latest Version: 3.12
Release date: 04-Jul-2026Top issues
#1670windows activating issue3 comments · 2026-11-06#1666After installation following your process, asking for product key or sign in,3 comments · 2026-11-03#1673Word has run into a error......1 comments · 2026-11-07#1671IdentityCRL Registry1 comments · 2026-11-06#1660Can't Activate Office betas1 comments · 2026-10-30#1672i have infinite office downloading; region is russia, vpn does not help0 comments · 2026-11-07
Discussions
#1662Microsoft 3651 comments · 2026-10-31#1658The macOS activation that is suggested for 2024 version also works on macOS 27 Golden Gate0 comments · 2026-10-29#1641copilot premium1 comments · 2026-10-23#1636Power BI1 comments · 2026-10-21#1634Worked for me on Windows 7 Ultimate !0 comments · 2026-10-19#1631Activation consultation with session start1 comments · 2026-10-18#1618Version related1 comments · 2026-10-11#1604UPLOAD BLOCKED on Microsoft Office0 comments · 2026-10-01
Latest release
v3.12 8 Years of MAS 3.12 2026-07-04Changelog: 3.12
TSforge
- Now defaults to KMS4k for the Windows-only option instead of StaticCID as it's better for most users.
- KMS4k persists through hardware changes and does not require an internet connection to work, unlike StaticCID.
- See this page for more details on the differences between TSforge methods.
HWID
- Changed the Installation ID used by HWID.
All
- Hardened the script against certain types of vulnerabilities.
- Removed the functionality for using user-provided DLLs instead of the ones included with the script.
- Made some error messages clearerNews & coverage (9)
Hacker NewsMicrosoft Activation Scripts – Activate Windows / Office / ESUs▲ 14 · 3 comments · 2026-06-22Hacker NewsOpen Source Microsoft Activation Scripts (Mas)▲ 3 · 0 comments · 2025-02-20Hacker NewsOpen Source Microsoft Activation Scripts▲ 3 · 2 comments · 2023-08-06Hacker NewsMicrosoft Activation Scripts (Mas)▲ 2 · 0 comments · 2023-01-15RescanaFake MAS Windows Activation Domain Infects Windows Systems with Cosmali Loader and XWorm PowerShell Malware2025-12-25BleepingComputerFake MAS Windows activation domain used to spread PowerShell malware2025-12-24TechSpotYour pirated copy of Windows might have just stopped working2025-11-15Windows CentralOops? Microsoft Copilot just shared a script to activate Windows 11 for free.2025-03-03Android AuthorityThis open-source tool can activate practically every Windows and Office release2025-02-19