Massgrave
Microsoft_Activation_Scripts (MAS)
A Windows and Office activator using HWID / KMS38 / Online KMS activation methods, with a focus on open-source code and fewer antivirus detections
Method 1 - PowerShell
(Recommended) 1. On Windows 8.1/10/11, right-click on the windows start menu and select PowerShell or Terminal (Not CMD). 2. Copy-paste the below code and press enter
irm https://massgrave.dev/get | iex
- You will see the activation options, and follow onscreen instructions.
- That’s all.
Method 2 - Traditional
- Download the file from here
- Right click on the downloaded zip file and extract
- In the extracted folder, find the folder named All-In-One-Version
- Run the file named MAS_AIO.cmd
- You will see the activation options, and follow onscreen instructions.
- That’s all.
To run the scripts in unattended mode, check here
Command Line Switches
Switches List
You can use the below switches in MAS AIO, separate files version and in Powershell one-liner to run in unattended mode.
/HWID- Activate with HWID/HWID-NoEditionChange- Don’t change edition if not supported by HWID/KMS38- Activate with KMS38/KMS38-RemoveProtection- Remove KMS38 protection/KMS38-NoEditionChange- Don’t change edition if not supported by KMS38/KMS-Windows- Activate Windows with Online KMS/KMS-Office- Activate Office with Online KMS/KMS-WindowsOffice- Activate Windows & Office with Online KMS/KMS-RenewalTask- Install Online KMS renewal task/KMS-ActAndRenewalTask- Install Online KMS activation & renewal tasks (Use this)/KMS-Uninstall- Uninstall Online KMS/KMS-KeepvNext- Don’t override Office C2R vNext license/KMS-Debug- Create Debug log in Online KMS Activation/KMS-Logger- Create simple log in Online KMS Activation/Insert-HWID-Key- Insert Windows HWID key/S- Run operations in silent mode (no output)
Uses In Powershell One Liner
iex "&{$(irm https://massgrave.dev/get)} /para"
Replace /para in this command with the switches from the above table. You can also use multiple switches.
For example, /HWID /KMS-Office /KMS-ActAndRenewalTask
Note: This Powershell one liner will work on Windows 8 and later versions only.
Rules
Script will run in unattended mode if any switch is used.
/S switch is not applicable in MAS separate files version scripts.
All switches are case-insensitive, works in any order, but must be separated with spaces.
/KMS Uninstall switch will take precedence over other KMS switches.
/KMS38 remove protection switch will task precedence over KMS38 activation.