What’s New

Microsoft-Activation-Scripts

Developer Tools

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

Latest 3.12 · by massgravelWebsitemassgravel/Microsoft-Activation-Scripts

Changelog

3.12

v3.12 8 Years of MAS

Changed
  • 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
  • Removed the functionality for using user-provided DLLs instead of the ones included with the script
Security
  • Hardened the script against certain types of vulnerabilities
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.
3.11

v3.11 Minor Update

Added
  • 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
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.
3.10

v3.10 Minor Update

Added
  • 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
  • Remove newlines before blue suggestion lines
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.
3.9

v3.9 Minor Update

Changed
  • The script will no longer automatically change IoTEnterprise editions to Enterprise for KMS activation
Fixed
  • Fixed an issue where IoT ESU licenses were not working for the IoTEnterprise edition by using the Client ESU license instead
Removed
  • Removed the deprecated Semi Annual Preview channel from the change update channel option
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.
3.8

v3.8 R.I.P. KMS38

Added
  • 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
  • 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
  • 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
  • KMS38 has been removed from the MAS script
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.
3.7

v3.7 The Twin Keys Fall

Changed
  • 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
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.
3.6

v3.6 Minor Update

Added
  • Added the Outlook 2010 Retail key
Changed
  • StaticCID is now used by default only on build 26100 and above
  • Replaced Get-ScheduledTask with ComObject command for improved reliability
Fixed
  • Fixed an issue caused by the updated pkeyconfig on build 22631.5840
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.
3.5

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

Added
  • 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
  • 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
  • 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
  • Removed KMS38 protection (registry lock) feature
Deprecated
  • The command irm https://massgrave.dev/get | iex is now officially retired
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.
3.4

v3.4 Bug fixes

Added
  • Added a check to detect expired Office products
Changed
  • Updated info in the Change Activation Method menu in TSforge
Fixed
  • Fixed an issue where unattended mode was not working in TSforge
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.
3.3

v3.3 The Empire Strikes Back

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