What is Microsoft Activation Scripts (MAS)?
Microsoft Activation Scripts (MAS) is an open-source activator that helps you activate Windows and Office safely and easily.
It supports multiple activation methods like HWID, Ohook, TSforge, KMS38, and Online KMS, and even includes built-in troubleshooting tools for when things don’t go smoothly.



How to Activate Windows or Office (Vista to Windows 11)
There are two main ways to activate your Windows or Office using MAS —
Method 1 (PowerShell) and Method 2 (Traditional).
Let’s go through them one by one 👇
Method 1 – PowerShell (Recommended)
Step 1: Click on the Start Menu, type PowerShell, and open it.
Step 2: Copy and paste one of the following commands based on your Windows version:
For Windows 8, 10, or 11:
irm https://get.activated.win | iex
If your internet provider blocks this link, try this alternative (works on newer Windows 10 or 11 versions):
iex (curl.exe -s --doh-url https://1.1.1.1/dns-query https://get.activated.win | Out-String)
For Windows 7 or later:
iex ((New-Object Net.WebClient).DownloadString('https://get.activated.win'))
Once you hit Enter, the MAS activation menu will appear.
Choose the green-highlighted options to activate Windows or Office — and that’s it!
💡 Tip: If the script doesn’t start, move to Method 2 below.
Method 2 – Traditional (Windows Vista and Later)
- Download the file
MAS_AIO.cmd(or the full ZIP package). - Right-click and select Run as Administrator.
- You’ll see a list of activation options — follow the on-screen instructions.
That’s all. Easy, right? 😄
Note: If your ISP or DNS blocks MAS websites, enable DNS-over-HTTPS (DoH) in your browser to bypass the block.
🚀 MAS Latest Version
Current Release: v3.7
Release Date: 11 September 2025
Available on: GitHub / Azure DevOps / Self-Hosted Git
Key Features of MAS
- HWID Method: Permanently activates Windows 10–11
- Ohook Method: Permanently activates Microsoft Office
- TSforge Method: Activates Windows, Office, or ESU updates permanently
- KMS38 Method: Activates Windows until the year 2038
- Online KMS Method: Activates Windows/Office for 180 days (auto-renews for lifetime use)
- Advanced troubleshooting tools for failed activations
- Built-in
$OEM$folders for preactivation - Easily change Windows or Office edition
- Check your activation status anytime
- Comes in both All-in-One and Separate versions
- Fully open-source and batch-based (fewer antivirus flags)
Activation Summary
| Activation Type | Supported Products | Duration | Internet Needed |
|---|---|---|---|
| HWID | Windows 10–11 | Permanent | ✅ Yes |
| Ohook | Office | Permanent | ❌ No |
| TSforge | Windows / Office / ESU | Permanent | ✅ Yes (build 26100+) |
| KMS38 | Windows 10–11 / Server | Till Year 2038 | ❌ No |
| Online KMS | Windows / Office | 180 Days (auto-renewable) | ✅ Yes |
