Microsoft Activation Scripts (MAS) — Independent Documentation

massgrave.download is an independent resource documenting Microsoft Activation Scripts (MAS), the open-source Windows and Office activation project. This overview explains what MAS is, how its activation methods differ, where the official project publishes its code and releases, and where to go on this site for version history, verification and troubleshooting.

What MAS and Massgrave are

Microsoft Activation Scripts (MAS) is an open-source collection of batch scripts that activate Windows and Office using several different licensing techniques. Massgrave is the project that develops and publishes them.

This website, massgrave.download, is an independent documentation resource. It is not affiliated with or operated by the Massgrave project, and it does not host its own build of the scripts. The project publishes everything itself:

What this site adds: a method-by-method comparison, a release table read live from the repository, verification guidance, an error-code decoder and a growing troubleshooting library.


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


Activation Methods

This method is the most convenient and works on Windows 8.1, 10, and 11.

  1. Click the Start Menu, type PowerShell, and open it.
  2. Copy and paste the code below and press Enter.
irm https://get.activated.win | iex
  1. In the menu that appears, type the number corresponding to one of the Green options.

Troubleshooting the PowerShell method

If the command is blocked: Some ISPs block the URL. Use this command to bypass DNS blocks (Windows 10/11 only):

iex (curl.exe -s --doh-url https://1.1.1.1/dns-query https://get.activated.win | Out-String)

If you receive a TLS/SSL Error (Older Windows): If you are on an old build of Windows 8.1 or 10, run this command before the main command:

[Net.ServicePointManager]::SecurityProtocol=[Net.SecurityProtocolType]::Tls12

Method 2: Traditional (Offline)

Use this method if you prefer downloading a file or cannot use the PowerShell method.

  1. Download the script: MAS_AIO.cmd
  2. Run the MAS_AIO.cmd file.
  3. In the menu that appears, type the number corresponding to one of the Green options.
  4. If your antivirus blocks the file, temporarily disable it.

Tips



Notes

  • 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. See how to verify what you run.
  • No password is required for any download on this site.

Features

  • HWID (Digital License): Permanently activate Windows.
  • Ohook: Permanently activate Office.
  • TSforge: Permanently activate Windows, ESU, and Office.
  • Online KMS: Activate Windows/Office for 180 days (Lifetime with renewal task).
  • Advanced activation troubleshooting.
  • $OEM$ folders for pre-activation.
  • Change Windows edition.
  • Change Office edition.
  • Check Windows/Office activation status.
  • Available in All-In-One and separate file versions.
  • Fully open source and based on batch scripts.
  • Fewer antivirus detections.

Activations Summary

Activation TypeSupported ProductActivation PeriodIs Internet Needed?
HWIDWindows 10-11PermanentYes
OhookOfficePermanentNo
TSforgeWindows / ESU / OfficePermanentYes, needed on build 26100 and later
Online KMSWindows / Office180 Days (Lifetime with renewal task)Yes

For more details, see the respective pages in the documentation and the activation comparison chart. To activate unsupported products such as Office on Mac, see the unsupported products activation guide.


Documentation on this site


Site Map

Browse the full list of pages on this site: /sitemap.xml


Screenshots

MAS HWID activation menu screenshot

MAS Ohook Office activation screenshot

MAS TSforge activation screenshot


In-Depth Guides


Free Tools

Latest official upstream MAS release

Reading the official release feed…

Releases are published by the upstream project, not by this site. Version data is read directly from github.com/massgravel/Microsoft-Activation-Scripts when this page loads. No version number is stored or edited on this site.

Explore MAS — Full Index

Every guide, tool, and resource — one click away.

Get MAS from the official project

This site does not host its own build of the scripts. The buttons below go to the project’s own repository and mirrors, so what you get is what the developers published.

PowerShell one-liner published by the project:

irm get.activated.win | iex

Check the domain before running it, and see how to verify what you run.

Activation tooling is routinely classified as riskware by antivirus software. That is expected for this category and is not by itself evidence of malware — nor proof that a particular copy is clean. Verify the source before running anything.