Skip to content

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

License

Notifications You must be signed in to change notification settings

massgravel/Microsoft-Activation-Scripts

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 

Repository files navigation

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.


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 launching❓Click 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, 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.

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.

Latest Version: 3.5
Release date: 10-Aug-2025

1.1 1.2 1.3

1.4 1.5 1.6 1.7


Made with Love ❤️