← Back
massgravel

massgravel/Microsoft-Activation-Scripts

Open-source Windows and Office activator featuring HWID, Ohook, TSforge, and Online KMS activation methods, along with advanced troubleshooting.

View on GitHub ↗https://massgrave.dev ↗
activatorhwidkmskms38massgravemassgravelmicrosoftmicrosoft365officeoffice365ohookpowershelltsforgewindowswindows-10windows-11
Stars
192.6K
Forks
18.3K
Watchers
192.6K
Open issues
0
Contributors
12
Language
Batchfile
License
GNU General Public License v3.0
Default branch
master
Created Jan 12, 2020Updated Sep 10, 2026

Star growth

Today—
This week—
This month—

Star history will appear here once this repo has been tracked for a couple of days.

README

MAS Logo

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.2 1.3 1.4 1.5 1.6 1.7


Latest Version: 3.12
Release date: 04-Jul-2026