KMS MAS Windows Activator
Go to file
Atanu Roy 24e0209de9 Improve code quality and reliability
- Replace legacy ping delays with modern timeout command across all scripts
- Enhance PowerShell job error handling for better reliability
- Fix typos in error messages for professional appearance

These changes improve script reliability while maintaining
full backward compatibility.
2025-09-24 15:25:47 +05:30
MAS Improve code quality and reliability 2025-09-24 15:25:47 +05:30
.gitattributes Revert export-ignore 2025-09-12 06:22:26 +05:30
LICENSE LICENSE 2024-08-28 02:15:43 +05:30
README.md Improve code quality and reliability 2025-09-24 15:25:47 +05:30

README.md

MAS Logo

Microsoft Activation Scripts (MAS)

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

Downloads Last Commit License


Key Features

  • 🚀 Multiple Activation Methods: HWID, Ohook, TSforge, KMS38, and Online KMS
  • 🛡️ Safe & Open Source: Transparent code, no hidden malware or backdoors
  • 💻 Wide Compatibility: Supports Windows 7/8/8.1/10/11 and Server editions
  • 📱 Office Support: Activates Office 2010-2021 and Office 365
  • 🔧 Advanced Troubleshooting: Built-in diagnostic and repair tools
  • Easy to Use: Simple GUI and PowerShell one-liner execution
  • 🔄 Automatic Updates: Always uses the latest activation methods

How to Activate Windows / Office / Extended Updates (ESU)?

Method 1 - PowerShell ❤️

  1. Open PowerShell
    Click the Start Menu, type PowerShell, then open it.

  2. Copy and paste the code below, then press enter.

    • For Windows 8, 10, 11: 📌
      irm https://get.activated.win | iex
      
    • For Windows 7 and later:
      iex ((New-Object Net.WebClient).DownloadString('https://get.activated.win'))
      
Script not launchingClick here for info.
  • If the above is blocked (by ISP/DNS), try this (needs updated Windows 10 or 11):
    iex (curl.exe -s --doh-url https://1.1.1.1/dns-query https://get.activated.win | Out-String)
    
  • If that fails or you have an older Windows, use the below-listed Method 2.

  1. The activation menu will appear. Choose the green-highlighted options to activate Windows or Office.

  2. Done!


Method 2 - Traditional (Windows Vista and later)

Click here to view
  1. Download the file using one of the links below:
    https://github.com/massgravel/Microsoft-Activation-Scripts/archive/refs/heads/master.zip
    or
    https://git.activated.win/massgrave/Microsoft-Activation-Scripts/archive/master.zip
  2. Right-click on the downloaded zip file and extract it.
  3. In the extracted folder, navigate to MASAll-In-One-Version-KL
  4. Run the file named MAS_AIO.cmd.
  5. You will see the activation options. Follow the on-screen instructions.
  6. That's all.

[!TIP]


  • To activate additional products such as Office for macOS, Visual Studio, RDS CALs, and Windows XP, check here.
  • To run the scripts in unattended mode, check here.

[!NOTE]

  • 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 if manually downloading files.
  • Be cautious, as some spread malware disguised as MAS by using different URLs in the IRM command.

⚠️ Important Safety Information

  • Official Sources Only: Always download MAS from official repositories to avoid malware
  • Verify Commands: Double-check PowerShell commands before execution
  • Antivirus Warnings: Some antivirus software may flag activation tools - this is normal for this type of software
  • Backup Recommended: Create a system backup before making activation changes
  • Educational Purpose: This tool is for educational and testing purposes

[!CAUTION] Beware of fake MAS versions distributed with malware. Only use official sources listed in this repository.


🔧 Development & Contributing

Interested in contributing to MAS? We welcome improvements that enhance reliability and user experience!

Quick Guidelines:

  • Use modern batch scripting practices (e.g., timeout instead of ping for delays)
  • Test changes on multiple Windows versions (10, 11, Server)
  • Maintain backward compatibility
  • Follow existing code formatting and conventions

Report Issues: GitHub Issues | Get Help: Discord


📋 Supported Activation Methods

Method Supported Products Duration Notes
HWID Windows 10-11 Permanent Hardware-based activation
Ohook Office Permanent Office hook method
TSforge Windows / ESU / Office Permanent Enhanced activation
KMS38 Windows 10-11-Server Until 2038 Extended KMS activation
Online KMS Windows / Office 180 Days Renewable with task

For detailed compatibility, visit: https://massgrave.dev/chart


Frequently Asked Questions

Is MAS safe to use?

Yes, MAS is completely open-source and safe. The code is transparent and can be reviewed by anyone. Some antivirus programs may flag it due to the nature of activation tools, but this is a false positive.

Will this harm my computer?

No, MAS only modifies Windows licensing components and doesn't install any malware or unwanted software. It's used by millions of people worldwide.

Can I get banned or in trouble for using this?

MAS is for educational and testing purposes. The legal implications vary by jurisdiction and use case. Please review your local laws and Microsoft's terms of service.

Which activation method should I use?
  • HWID: Best for Windows 10/11 (permanent activation)
  • KMS38: Good for Windows 10/11/Server (activates until 2038)
  • Ohook: Perfect for Office (permanent activation)
  • Online KMS: Universal method for Windows/Office (180-day renewable)
My antivirus is blocking MAS, what should I do?

This is normal for activation tools. You can temporarily disable your antivirus or add MAS to the exclusion list. Always download from official sources to ensure safety.


Latest Version: 3.7
Release date: 11-Sep-2025

Troubleshooting / Help

Download Original Windows & Office

Homepage - https://massgrave.dev/

1.1 1.2 1.3

1.4 1.5 1.6 1.7


Made with Love ❤️