Microsoft Activation Scripts (MAS) — Open-source Windows and Office Activator
Microsoft Activation Scripts (MAS) provides a versatile, open-source
solution for activating both Windows and Office products. It integrates
various powerful activation methods, including HWID, Ohook, TSforge, and
Online KMS, ensuring broad compatibility. The tool also offers advanced
troubleshooting steps to address common activation hurdles, making the
process straightforward for users.
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.
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
3.
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
·
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 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.
·
No password is required for any download on this site.
All-In-One-Version-KL
MAS_AIO.BAT
Separate-Files-Version
Change_Office_Edition.BAT
Change_Windows_Edition.BAT
Check_Activation_Status.BAT
Extract_OEM_Folder.BAT
Troubleshoot.BAT
Activators
| Activation Type | Supported Product | Activation Period |
| HWID | Windows 10-11 | Permanent |
| Ohook | Office | Permanent |
| Tsforge | Windows / ESU / Office | Permanent |
| Online KMS | Windows / Office | 180 Days. Lifetime With Renewal Task |
Check the below link for more details: https://massgrave.dev/chart
HWID_Activation.BAT
Ohook_Activation_AIO.BAT
Online_KMS_Activation.BAT
TSforge_Activation.BAT