Skip to content
vic

massgravel/Microsoft-Activation-Scripts

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

massgravel/Microsoft-Activation-Scripts.json
{
"createdAt": "2020-01-12T23:03:34Z",
"defaultBranch": "master",
"description": "Open-source Windows and Office activator featuring HWID, Ohook, TSforge, and Online KMS activation methods, along with advanced troubleshooting.",
"fullName": "massgravel/Microsoft-Activation-Scripts",
"homepage": "https://massgrave.dev",
"language": "Batchfile",
"name": "Microsoft-Activation-Scripts",
"pushedAt": "2026-01-16T08:00:50Z",
"stargazersCount": 163088,
"topics": [
"activator",
"hwid",
"kms",
"kms38",
"massgrave",
"massgravel",
"microsoft",
"microsoft365",
"office",
"office365",
"ohook",
"powershell",
"tsforge",
"windows",
"windows-10",
"windows-11"
],
"updatedAt": "2026-01-20T01:38:26Z",
"url": "https://github.com/massgravel/Microsoft-Activation-Scripts"
}

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)?

Section titled “How to Activate Windows / Office / Extended Security Updates (ESU)?”
  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)

Section titled “Method 2 - Traditional (Windows Vista and later)”
  1. Download the script:
  2. Run the MAS_AIO.cmd file.
  3. In the menu that appears, type the number corresponding to one of the Green options.

[!TIP]

[!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.

[![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.9
Release date: 19-Nov-2025