Microsoft Activation Scripts

Microsoft Activation Scripts (MAS)


MAS (Microsoft Activation Scripts) is an open-source tool for activating Windows and Office. It supports various activation methods including HWID, Ohook, TSforge, KMS38, and Online KMS, along with advanced troubleshooting capabilities.


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

Method 1 - PowerShell

INFO:

  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'))
  3. Script not launching? Click here for info.
  4. The activation menu will appear. Choose the green-highlighted options to activate Windows or Office.
  5. Done!

Method 2 - Traditional (Windows Vista and later)

Click here to view the traditional method details.

TIP:

  • Some ISPs/DNS block access to our domains. You can bypass this by enabling DNS-over-HTTPS (DoH) in your browser.
  • Having trouble? Connect with us here.
  • 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 is trustworthy when manually downloading files.
  • Be cautious, as some spread malware disguised as MAS by changing the URL in the IRM command.

MAS Latest Release

Last Release - v3.5 (10-Aug-2025)

GitHub | Azure DevOps | Self-hosted Git


Features

  • HWID (Digital License) Method to Permanently Activate Windows
  • Ohook Method to Permanently Activate Office
  • TSforge Method to Permanently Activate Windows/ESU/Office
  • KMS38 Method to Activate Windows Till the Year 2038
  • Online KMS Method to Activate Windows/Office For 180 Days (Lifetime With Renewal Task)
  • Advanced Activation Troubleshooting
  • $OEM$ Folders For Preactivation
  • Change Windows Edition
  • Change Office Edition
  • Check Windows/Office Activation Status
  • Available in All In One and Separate Files Versions
  • Fully Open Source and Based on Batch Scripts
  • Fewer Antivirus Detections

Activations Summary

This table summarizes the activation types, products supported, activation period, and internet requirements.

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 19041 and later
KMS38 Windows 10-11-Server Till the Year 2038 No
Online KMS Windows / Office 180 Days. Lifetime With Renewal Task Yes

For more details, use the respective activation details in Docs and comparison chart. To activate unsupported products such as Office on Mac, check here.


Screenshots

Here are some screenshots illustrating the MAS interface and activation processes:

Microsoft Activation Scripts (MAS) Main Menu
Administrator: Microsoft Activation Scripts 3.0 - Main Menu
MAS HWID and Ohook Activation
Administrator: HWID Activation 3.0 and Ohook Activation 3.0
MAS TSforge and Troubleshoot
Administrator: TSforge Activation 3.0 and Troubleshoot 3.0
MAS Change Windows Edition
Administrator: Change Windows Edition 3.0
MAS Change Office Editions
Administrator: Change Office Edition 3.0
MAS Change All Office Editions
Administrator: Change all editions 3.0 - Office Suites
MAS Change Office ProPlus Editions
Administrator: Change all editions 3.0 - Office ProPlus Editions

Troubleshooting & Tips

  • If the script is not launching, ensure you are running PowerShell as an administrator.
  • Check your internet connection and DNS settings if activation fails.
  • Verify the URLs used in the commands are correct and from trusted sources.
  • Be aware of fake MAS scripts that might contain malware. Always use scripts from the official repository (massgrave.dev).
  • For specific issues, consult the "Help" or "Troubleshoot" options within the MAS menu, or refer to the links provided.

Made with Love ❤️

Edit this page (Replace '#' with the actual edit link if available on your platform)

Comments