Microsoft Activation Scripts (MAS)


Microsoft Activation Scripts (MAS)

A Windows and Office activator using HWID / KMS38 / Online KMS activation methods, with a focus on open-source code and fewer antivirus detections.


  • HWID Activation
  • KMS38 Activation
  • Online KMS Activation
  • $OEM$ Folders For Preactivation
  • Activation Troubleshoot
  • Insert Windows 10-11 HWID Key
  • Change Windows 10-11-Server Edition
  • Check Windows-Office Activation Status
  • Available in All In One & Separate Files Version
  • Fully Open Source
  • Fewer antivirus detections
  • Files are either transparent batch scripts or official from Microsoft

MAS Latest Release

Last Release – v1.7 (7-Nov-2022)
GitHub / GitLab

Download / How to use it?

Method 1 – PowerShell

  • On Windows 10/11, right-click on the windows start menu and select PowerShell or Terminal.
  • Copy-paste the below code and press enter
    irm | iex
  • You will see the activation options, and follow onscreen instructions.
  • That’s all.

Method 2 – Traditional

  • Download the file named MAS_1.7_Password_1234.7z from here
  • Extract this file with a 3rd party archive manager, such as 7zip
  • Password is 1234
  • In the extracted folder, find the folder named All-In-One-Version
  • Run the file named MAS_AIO.cmd
  • You will see the activation options, and follow onscreen instructions.
  • That’s all.

To run the scripts in unattended mode, check here

Activations Summary

Activation Type Supported Product Activation Period
HWID Windows 10-11 Permanent
KMS38 Windows 10-11-Server Until the year 2038
Online KMS Windows / Office 180 Days. Lifetime Activation With Renewal Task

For more details, use the respective activation details in Doc.

To activate unsupported products such as Office on Mac, check here.