Windows Activation Scripts (MAS)

On occasions activating windows the traditional way may not work due to registry or connection errors. The MAS script allows you to easily activate office and windows via the PowerShell command Centre. 

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.

Method 1: Powershell (Windows 8 and later)

  1. Open PowerShell (Not CMD). To do that, right-click on the Windows start menu and select PowerShell or Terminal.
  2. Copy and paste the code below and press enter
irm https://get.activated.win | iex
  1. You will see the activation options. Choose [1] HWID for Windows activation. Choose [2] Ohook for Office activation.
  2. That's all

Method 2: Download Script (Windows 7 and later)

  1. Download the file using the links provided 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
  3. In the extracted folder, find the folder named All-In-One-Version
  4. Run the file named MAS_AIO.cmd
  5. You will see the activation options, follow the on-screen instructions.
  6. That's all.

Activations Summary

Activation Type Supported Product Activation Period Is Internet Needed?
HWID Windows 10-11 Permanent Yes
Ohook Office Permanent No
KMS38 Windows 10-11-Server Till the Year 2038 No
Online KMS Windows / Office 180 Days. Lifetime With Renewal Task Yes

Did you find this article useful?