This page summarizes the four activation methods provided by MAS: HWID, Ohook, TSforge, and Online KMS. It covers which products each method supports, the duration of the resulting activation, and how each method maps to specific scripts and entry points. For instructions on running the interactive menu, see All-In-One Interface. For command-line flags for each method, see Command Line Switches. For guidance on combining methods in different deployment scenarios, see Deployment Strategies.
| Method | Standalone Script | AIO Label | CLI Flag | Products | Activation Period |
|---|---|---|---|---|---|
| HWID | HWID_Activation.cmd | :HWIDActivation | /HWID | Windows 10, 11 | Permanent |
| Ohook | Ohook_Activation_AIO.cmd | :OhookActivation | /Ohook | Office 2010–2024, Microsoft 365 | Permanent |
| TSforge | TSforge_Activation.cmd | :TSforgeActivation | /Z-* | Windows (Vista–11), ESU, Office | Permanent |
| Online KMS | Online_KMS_Activation.cmd | :KMSActivation | /K-* | Windows (Vista+), Office 2010–2024 | 180 days (renewable for lifetime) |
Sources: MAS/Separate-Files-Version/Activators/_ReadMe.txt1-13 MAS/All-In-One-Version-KL/MAS_AIO.cmd388-396 MAS/All-In-One-Version-KL/MAS_AIO.cmd492-503
The diagram below maps each method name to the code entities that implement it — the CLI flag, the subroutine label inside MAS_AIO.cmd, and the equivalent standalone script.
Diagram: Method Names to Code Entities
Sources: MAS/All-In-One-Version-KL/MAS_AIO.cmd388-396 MAS/All-In-One-Version-KL/MAS_AIO.cmd492-503 MAS/All-In-One-Version-KL/MAS_AIO.cmd643-644
Diagram: Method-to-Product Coverage
Sources: MAS/Separate-Files-Version/Activators/_ReadMe.txt1-13 MAS/All-In-One-Version-KL/MAS_AIO.cmd459-474
In the interactive menu, methods applicable to the current system are highlighted in green. Methods that are not recommended for the detected configuration are shown in plain text (still selectable, but without the green highlight). The menu display logic uses three flags:
_hwidgo — Set when the current system is Windows 10 or 11 (winbuild GEQ 10240), is not a Server edition, is not an Eval edition, and is not an LTSCN edition. When not set, _tsforgego is enabled instead._ohookgo — Set when Office (Click-to-Run or MSI) is detected on a supported Windows build. When not set, _tsforgego is enabled instead._tsforgego — Set as a fallback whenever _hwidgo or _ohookgo are absent, indicating TSforge is the better choice for the current configuration.if %winbuild% GEQ 10240 if not defined _serexist if not defined _evalexist set _hwidgo=1
if %winbuild% GTR 14393 if defined _ltscnexist set _hwidgo=
if not defined _hwidgo set _tsforgego=1
Sources: MAS/All-In-One-Version-KL/MAS_AIO.cmd431-445
| Method | Period | How Lifetime is Achieved |
|---|---|---|
| HWID | Permanent | License is tied to hardware ID via a digital ticket; no renewal needed |
| Ohook | Permanent | A DLL replacement intercepts the Office licensing check; no expiry |
| TSforge | Permanent | Directly modifies the Software Protection Platform state; no expiry |
| Online KMS | 180 days | A scheduled task (Activation-Renewal) re-contacts a KMS server weekly to reset the 180-day timer |
The Online KMS renewal mechanism is the only one that requires ongoing network access after initial activation. For details on how the renewal task is structured, see Online KMS Activation.
Each method is documented in detail in its own child page:
GenuineTicket.xml) are generated and applied via ClipSVC; Windows 10/11 only.Activation-Renewal / Activation-Run_Once scheduled task subsystem.Refresh this wiki
This wiki was recently refreshed. Please wait 4 days to refresh again.