Microsoft-Activation-Scripts

System UtilitiesGPL-3.0

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

Latest 3.12 · by massgravelWritten in BatchfileWebsitemassgravel/Microsoft-Activation-ScriptsRSS

Release activity

Release activity — 7 releases across 7 days in the last year. Each cell is one day; darker means more releases that day. Older weeks are hidden at this screen width.
JunJulAugSep
SundayNo releases on May 24, 2026No releases on May 31, 2026No releases on Jun 7, 2026No releases on Jun 14, 2026No releases on Jun 21, 2026No releases on Jun 28, 2026No releases on Jul 5, 2026No releases on Jul 12, 2026No releases on Jul 19, 2026No releases on Jul 26, 2026No releases on Aug 2, 2026No releases on Aug 9, 2026No releases on Aug 16, 2026No releases on Aug 23, 2026No releases on Aug 30, 2026No releases on Sep 6, 2026
MondayNo releases on May 25, 2026No releases on Jun 1, 2026No releases on Jun 8, 2026No releases on Jun 15, 2026No releases on Jun 22, 2026No releases on Jun 29, 2026No releases on Jul 6, 2026No releases on Jul 13, 2026No releases on Jul 20, 2026No releases on Jul 27, 2026No releases on Aug 3, 2026No releases on Aug 10, 2026No releases on Aug 17, 2026No releases on Aug 24, 2026No releases on Aug 31, 2026No releases on Sep 7, 2026
TuesdayNo releases on May 26, 2026No releases on Jun 2, 2026No releases on Jun 9, 2026No releases on Jun 16, 2026No releases on Jun 23, 2026No releases on Jun 30, 2026No releases on Jul 7, 2026No releases on Jul 14, 2026No releases on Jul 21, 2026No releases on Jul 28, 2026No releases on Aug 4, 2026No releases on Aug 11, 2026No releases on Aug 18, 2026No releases on Aug 25, 2026No releases on Sep 1, 2026No releases on Sep 8, 2026
WednesdayNo releases on May 27, 2026No releases on Jun 3, 2026No releases on Jun 10, 2026No releases on Jun 17, 2026No releases on Jun 24, 2026No releases on Jul 1, 2026No releases on Jul 8, 2026No releases on Jul 15, 2026No releases on Jul 22, 2026No releases on Jul 29, 2026No releases on Aug 5, 2026No releases on Aug 12, 2026No releases on Aug 19, 2026No releases on Aug 26, 2026No releases on Sep 2, 2026
ThursdayNo releases on May 28, 2026No releases on Jun 4, 2026No releases on Jun 11, 2026No releases on Jun 18, 2026No releases on Jun 25, 2026No releases on Jul 2, 2026No releases on Jul 9, 2026No releases on Jul 16, 2026No releases on Jul 23, 2026No releases on Jul 30, 2026No releases on Aug 6, 2026No releases on Aug 13, 2026No releases on Aug 20, 2026No releases on Aug 27, 2026No releases on Sep 3, 2026
FridayNo releases on May 29, 2026No releases on Jun 5, 2026No releases on Jun 12, 2026No releases on Jun 19, 2026No releases on Jun 26, 2026No releases on Jul 3, 2026No releases on Jul 10, 2026No releases on Jul 17, 2026No releases on Jul 24, 2026No releases on Jul 31, 2026No releases on Aug 7, 2026No releases on Aug 14, 2026No releases on Aug 21, 2026No releases on Aug 28, 2026No releases on Sep 4, 2026
SaturdayNo releases on May 30, 2026No releases on Jun 6, 2026No releases on Jun 13, 2026No releases on Jun 20, 2026No releases on Jun 27, 20261 release on Jul 4, 2026No releases on Jul 11, 2026No releases on Jul 18, 2026No releases on Jul 25, 2026No releases on Aug 1, 2026No releases on Aug 8, 2026No releases on Aug 15, 2026No releases on Aug 22, 2026No releases on Aug 29, 2026No releases on Sep 5, 2026

7 releases in the last year

Changelog

3.12Latest

v3.12 8 Years of MAS

Changed 3
  • TSforge now defaults to KMS4k for the Windows-only option instead of StaticCID
  • HWID changed the Installation ID used by HWID
  • Made some error messages clearer
Removed 1
  • Removed the functionality for using user-provided DLLs instead of the ones included with the script
Security 1
  • Hardened the script against certain types of vulnerabilities

From Microsoft-Activation-Scripts

Changelog: 3.12
TSforge
  • Now defaults to KMS4k for the Windows-only option instead of StaticCID as it's better for most users.
    • KMS4k persists through hardware changes and does not require an internet connection to work, unlike StaticCID.
    • See this page for more details on the differences between TSforge methods.
HWID
  • Changed the Installation ID used by HWID.
All
  • Hardened the script against certain types of vulnerabilities.
  • Removed the functionality for using user-provided DLLs instead of the ones included with the script.
  • Made some error messages clearer.

Download / How to use it?

https://github.com/massgravel/Microsoft-Activation-Scripts?tab=readme-ov-file#download--how-to-use-it

Don't download from the below Source code (zip) link. Check the above link for the info.
View originalPermalink
How 3.12 went
3.11

v3.11 Minor Update

Added 3
  • Added OutlookForWindows in app selection menu
  • Added support for Server 2012 Year 4 and Year 5 ESU licenses
  • Added support for Windows 10 LTSB 2016 ESU licenses

From Microsoft-Activation-Scripts

Changelog: 3.11
Change Office Edition
  • Added OutlookForWindows in app selection menu, thanks to @WindowsAddict
TSforge
  • Added support for Server 2012 Year 4 and Year 5 ESU licenses
  • Added support for Windows 10 LTSB 2016 ESU licenses

Download / How to use it?

https://github.com/massgravel/Microsoft-Activation-Scripts?tab=readme-ov-file#download--how-to-use-it

Don't download from the below Source code (zip) link. Check the above link for the info.
View originalPermalink
How 3.11 went
3.10

v3.10 Minor Update

Added 3
  • Warn the user if Smart App Control is enabled or in evaluation mode in Ohook
  • Add support for Server 2016 ESU licenses in TSforge
  • Add a suggestion to perform an in-place repair if license package files are missing
Changed 1
  • Remove newlines before blue suggestion lines

From Microsoft-Activation-Scripts

Changelog: 3.10
Ohook
  • Now warns the user if Smart App Control is enabled or in evaluation mode, as this has been reported to cause issues with Ohook.
TSforge
  • Add support for Server 2016 ESU licenses.
All
  • Add a suggestion to perform an in-place repair if license package files are missing.
  • Remove newlines before blue suggestion lines.

Download / How to use it?

https://github.com/massgravel/Microsoft-Activation-Scripts?tab=readme-ov-file#download--how-to-use-it

Don't download from the below Source code (zip) link. Check the above link for the info.
View originalPermalink
How 3.10 went
3.9

v3.9 Minor Update

Changed 1
  • The script will no longer automatically change IoTEnterprise editions to Enterprise for KMS activation
Fixed 1
  • Fixed an issue where IoT ESU licenses were not working for the IoTEnterprise edition by using the Client ESU license instead
Removed 1
  • Removed the deprecated Semi Annual Preview channel from the change update channel option

From Microsoft-Activation-Scripts

Changelog: 3.9
TSforge
  • Fixed an issue where IoT ESU licenses were not working (a bug from Microsoft) for the IoTEnterprise edition. The script will use the Client ESU license instead.
Change Office Edition
  • Removed the deprecated Semi Annual Preview channel from the change update channel option.
Online KMS
  • The script will no longer automatically change IoTEnterprise editions to Enterprise for KMS activation.

Download / How to use it?

https://github.com/massgravel/Microsoft-Activation-Scripts?tab=readme-ov-file#download--how-to-use-it

Don't download from the below Source code (zip) link. Check the above link for the info.
View originalPermalink
How 3.9 went
3.8

v3.8 R.I.P. KMS38

Added 4
  • Activation support for the WNC edition in HWID
  • ESU support for PPIPro added in build 19045.6388
  • Command to refresh the ESU status
  • GAC, not LTSC info for the IoTEnterprise edition to avoid confusion with its LTSC edition IoTEnterpriseS
Changed 4
  • Windows will always display and stay at the 180-day remaining KMS grace period if the actual period is longer beginning with build 26100.7019
  • Key preference order changed so that the HWID key can be installed
  • Script will now auto-select the Quick Repair option for Office 16.0 C2R
  • Added more conditions before rebuilding ClipSVC licenses
Fixed 2
  • Issue in filtering where ESU IDs were not showing in the manual option
  • Issue in CAS where KMS Client info was shown when ADBA is active
Removed 1
  • KMS38 has been removed from the MAS script

From Microsoft-Activation-Scripts

Changelog: 3.8
HWID
  • Activation support is added for the WNC edition.
KMS38
  • Beginning with build 26100.7019, Microsoft fully deprecated clip-based KMS license migration functionality. As a result, KMS38 has stopped working. Detailed info.
  • KMS38 has now been removed from the MAS script. Users are advised to use HWID or TSforge activation instead.
  • If you still wish to use it on older Windows versions or keep it for archival purposes, you can download the script from here.
TSforge
  • From build 26100.7019, Windows will always display and stay at the 180-day remaining KMS grace period if the actual period is longer. KMS4k info is updated as per this change.
  • Added ESU support for PPIPro (added in 19045.6388).
  • Fixed an issue in filtering where ESU IDs were not showing in the manual option.
  • Added a command to refresh the ESU status.
Change Windows Edition
  • Changed key preference order so that the HWID key can be installed. Thanks to @lava1879 (Magic).
  • Added [GAC, not LTSC] info for the "IoTEnterprise" edition to avoid confusion with its LTSC edition "IoTEnterpriseS".
Troubleshoot
  • The script will now auto-select the Quick Repair option for Office 16.0 C2R. Thanks to @YerongAI for the suggestion.
  • Added more conditions before rebuilding ClipSVC licenses.
Check Activation Status
  • @abbodi1406 fixed an issue in CAS where, when ADBA is active, KMS Client info was shown.
All
  • Some other minor improvements in error handling and information.

Download / How to use it?

https://github.com/massgravel/Microsoft-Activation-Scripts?tab=readme-ov-file#download--how-to-use-it

Don't download from the below Source code (zip) link. Check the above link for the info.
View originalPermalink
How 3.8 went
3.7

v3.7 The Twin Keys Fall

Changed 2
  • Switched ticket generation to automatically sign tickets with the SPP Client Lockbox signing key
  • GamersOsState (patched GatherOsState) method is now obsolete for all ticket generation

From Microsoft-Activation-Scripts

Changelog: 3.7
HWID / KMS38
  • Switched ticket generation to automatically sign tickets with the SPP Client Lockbox signing key, which was found to be the same as the Trusted Store key used in TSforge. Thanks to @WitherOrNot for finding this.
    • GamersOsState (patched GatherOsState) method is now obsolete for all ticket generation.

Download / How to use it?

https://github.com/massgravel/Microsoft-Activation-Scripts?tab=readme-ov-file#download--how-to-use-it

Don't download from the below Source code (zip) link. Check the above link for the info.
View originalPermalink
How 3.7 went
3.6

v3.6 Minor Update

Added 1
  • Added the Outlook 2010 Retail key
Changed 2
  • StaticCID is now used by default only on build 26100 and above
  • Replaced Get-ScheduledTask with ComObject command for improved reliability
Fixed 1
  • Fixed an issue caused by the updated pkeyconfig on build 22631.5840

From Microsoft-Activation-Scripts

Changelog: 3.6
TSforge
  • Fixed an issue caused by the updated pkeyconfig on build 22631.5840. Thanks to @WitherOrNot for the fix.
  • StaticCID is now used by default only on build 26100 and above. FYI, users can change this in the options.
Ohook
  • Added the Outlook 2010 Retail key. Thanks to celestial_tiger_98134.
All
  • Replaced Get-ScheduledTask with ComObject command for improved reliability.

Download / How to use it?

https://github.com/massgravel/Microsoft-Activation-Scripts?tab=readme-ov-file#download--how-to-use-it

Don't download from the below Source code (zip) link. Check the above link for the info.
View originalPermalink
How 3.6 went
3.5

v3.5 ESU for Home editions / Powershell method for Windows 7

Added 4
  • Added ESU support for Home editions with updated license files in Windows 10 19045.6156
  • Added detection for unsupported languages in the Office 2019 Perpetual VL update channel
  • Added checks for .NET corruption and Windows Sandbox
  • Added a new command for Windows 7, along with an alternative DoH-based command for cases where get.activated.win is blocked by ISP/DNS
Changed 4
  • The script now won't change region (temporarily) in the top countries for HWID
  • The AIO script will now show a tip about ESU updates on Windows 10
  • The AIO script will highlight Ohook in green if O365 is installed
  • In all KMS-related activation options, the script will display a message about KMS renewal notifications on build 26200 and later
Fixed 3
  • Fixed a bug on W10 ARM64 for TSforge
  • Fixed an issue with add/remove apps when more than one language is installed in Change Office Edition
  • Fixed a bug in detecting Terminal app
Removed 1
  • Removed KMS38 protection (registry lock) feature
Deprecated 1
  • The command irm https://massgrave.dev/get | iex is now officially retired

From Microsoft-Activation-Scripts

Changelog: 3.5
HWID:
  • The script now won't change region (temporarily) in the top countries.
KMS38:
  • Removed KMS38 protection (registry lock) feature, it's not important.
TSforge:
  • Added ESU support for Home editions (license files updated in Windows 10 19045.6156).
  • Fixed a bug on W10 ARM64.
Change Office Edition:
  • Fixed an issue with add/remove apps when more than one language is installed.
  • Added detection for unsupported languages in the Office 2019 Perpetual VL update channel.
All:
  • Fixed a bug in detecting Terminal app.
  • The AIO script will now show a tip about ESU updates on Windows 10.
  • The AIO script will highlight Ohook in green if O365 is installed.
  • In all KMS-related activation options, the script will display a message about KMS renewal notifications on build 26200 and later.
  • Added checks for .NET corruption and Windows Sandbox.
  • Various fixes and improvements.
Powershell command to launch MAS:
  • The command irm https://massgrave.dev/get | iex is now officially retired. It will display info on how to get the updated code.
  • Added a new command for Windows 7, along with an alternative DoH-based command for cases where get.activated.win is blocked by ISP/DNS. See https://massgrave.dev/ for details.

Download / How to use it?

https://github.com/massgravel/Microsoft-Activation-Scripts?tab=readme-ov-file#download--how-to-use-it

Don't download from the below Source code (zip) link. Check the above link for the info.
View originalPermalink
How 3.5 went
3.4

v3.4 Bug fixes

Added 1
  • Added a check to detect expired Office products
Changed 1
  • Updated info in the Change Activation Method menu in TSforge
Fixed 1
  • Fixed an issue where unattended mode was not working in TSforge

From Microsoft-Activation-Scripts

Changelog: 3.4
TSforge:
  • Fixed an issue where unattended mode was not working.
  • Updated info in the Change Activation Method menu.
All:
  • Added a check to detect expired Office products.

Download / How to use it?

https://github.com/massgravel/Microsoft-Activation-Scripts?tab=readme-ov-file#how-to-activate-windows--office

Don't download from the below Source code (zip) link. Check the above link for the info.
View originalPermalink
How 3.4 went
3.3

v3.3 The Empire Strikes Back

Added 2
  • KMS4k activation option is now available in the script
  • Added the option to switch the Office update channel between VL and non-VL
Changed 1
  • Script now uses StaticCID method on build 19041 and later to circumvent a Windows 11 build 27802 bug affecting Confirmation ID cache validation
Fixed 1
  • Various other fixes and improvements

From Microsoft-Activation-Scripts

Changelog: 3.3
TSforge:
  • In Windows 11 build 27802, Microsoft introduced a bug that causes Confirmation ID cache validation to always fail, forcing validation directly from the stored Confirmation ID each time the license status is checked.
  • To circumvent this bug, TSforge is used to set the current Installation ID to that of a known key that can be used to generate valid Confirmation IDs.
  • For more information on StaticCID, check https://massgrave.dev/tsforge#staticcid
  • From now on, the script will use StaticCID method (requires Internet) on build 19041 and later.
  • KMS4k activation option is now added in the script.
  • Thanks a lot to @WitherOrNot for working on this.
Change Office Edition:
  • Added the option to switch the Office update channel between VL and non-VL.
All:
  • Various other fixes and improvements.

Download / How to use it?

https://github.com/massgravel/Microsoft-Activation-Scripts?tab=readme-ov-file#download--how-to-use-it

Don't download from the below Source code (zip) link. Check the above link for the info.
View originalPermalink
How 3.3 went
View all

Discussion

If you publish Microsoft-Activation-Scripts, you can claim this product by proving you administer its repository.