Releases: massgravel/Microsoft-Activation-Scripts
Releases · massgravel/Microsoft-Activation-Scripts
v3.4 Bug fixes
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?
Don't download from the below Source code (zip) link. Check the above link for the info.
v3.3 The Empire Strikes Back
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?
Don't download from the below Source code (zip) link. Check the above link for the info.
v3.2 O365AppsBasicRetail support and bug fixes
Changelog: 3.2
Ohook:
- Added activation support for the newly released product
O365AppsBasicRetail
. - Added Office 2010 Publisher Retail key. Just FYI, we still don't have keys for these Office 2010 products
4eaff0d0-c6cb-4187-94f3-c7656d49a0aa Retail ExcelR_[HSExcelR]
7004b7f0-6407-4f45-8eac-966e5f868bde Retail GrooveR
fbf4ac36-31c8-4340-8666-79873129cf40 Retail OutlookR
133c8359-4e93-4241-8118-30bb18737ea0 Retail PowerPointR_[HSPowerPointR]
db3bbc9c-ce52-41d1-a46f-1a1d68059119 Retail WordR_[HSWordR]
dbe3aee0-5183-4ff7-8142-66050173cb01 Retail SmallBusBasicsR_[SmallBusBasicsMSDNR]
All:
- Fixed an issue in detecting Powershell 1.0 in Server 2008 SBS editions.
- Fixed ARM32 Office detection.
- Various other fixes and improvements.
Download / How to use it?
Don't download from the below Source code (zip) link. Check the above link for the info.
v3.1 Vista Support
Changelog: 3.1
Click to expand
TSforge:
- TSforge activation now supports Windows Vista and Server 2008.
- Thanks to @InvoxiPlayGames for Vista SPSys IOCTLs and physical store format, and to @WitherOrNot.
- Fixed an issue where
sppsvc
might not stop on older systems. Thanks to @WitherOrNot. - Fixed an issue where activation wouldn't work on Windows 10 ARM64. Thanks to @WitherOrNot.
- For Windows 10 ESU, selected 1Y and 2Y ESU options as well instead of only 3Y, to ensure compatibility.
- Updated the Windows 10 ESU editions list as per build 19045.5552 (ServerRdsh added, IoTEnterpriseS removed).
- Added support for Office 365 15.0 because phone licenses are available.
- Converted Office HomeStudentARM IDs to Mondo since phone licenses aren't available for them.
- Added support for external
LibTSforge.dll
if found in theBIN
folder next to the script. - Fixed an issue where Office did not require activation but TSforge would still show a phone license missing error.
Ohook:
- Ohook activation now supports OSPP-based Office versions as well, meaning all Office versions are now supported on Windows Vista/Server 2008 and later.
- Thanks to @abbodi1406 and @asdcorp.
Online KMS:
- Online KMS activation now supports Windows and Office from Windows Vista/Server 2008 onward.
Check Activation Status:
- Added updated CAS by @abbodi1406:
- Faster PInvoke native method imports from the Software Licensing Client DLL.
- Displays more information for all supported Windows and Office versions.
- Implements "Client Licensing Check" for Windows 7 and Vista.
All:
- Simplified code related to disabling QuickEdit and avoiding the Terminal app.
- Fixed issues with WPA key check logic.
- Fixed MSI Office detection issues for Visio and a few other products.
- Corrected an issue where the
SharedComputerLicensing
registry key was incorrectly added on Server editions for older Office retail versions. - Improved help messages.
- Various other fixes and improvements.
Download / How to use it?
Don't download from the below Source code (zip) link. Check the above link for the info.
v3.0 The Forge Awakens
Changelog: 3.0
TSforge:
- A new activation method named TSforge is added to MAS.
- For details about the method, see our documentation and our blogpost.
- Thanks to @WitherOrNot @asdcorp @abbodi1406 and @thecatontheceiling from the MASSGRAVE R&D team for TSforge.
HWID
- Fixed an issue in checking the licensing server status.
Ohook / Online KMS
- Some obscure Office products are added.
- Scripts will skip the check for permanently activated Office products.
Check Activation Status
- Updated CAS by @abbodi1406 is added.
All
- Various other minor fixes and improvements.
Download / How to use it?
Don't download from the below Source code (zip) link. Check the above link for the info.
Bug fixes
Changelog: 2.9
- Fixed an issue in changing eval server edition when key is not installed.
- Added troubleshooting info in case required services are corrupt.
- Updated 365 Office editions key to bypass login prompt in ohook.
- Added better info in case Windows update is not working when HWID activation fails.
Download / How to use it?
Don't download from the below Source code (zip) link. Check the above link for the info.
UWP Office support and bug fixes
Changelog: 2.8
- Added support for UWP Office activation in Online KMS
- Added an option to Add/Remove apps in change Office edition script
- Replaced generated GVLK with official GVLK for Office 2024 ProPlus, ProjectPro, and VisioPro
- Fixed an issue where the script would crash on Windows 10 ARM64 (because only x86 Powershell is available)
- Fixed an issue in fetching useraccounts SID list
- Fixed an issue where the excluded apps option wouldn't work in change Office edition script if the Office build is old. Thanks to @abbodi1406
- Fixed an issue where change Windows edition script wouldn't show the correct list if Windows is activated with a subscription license
- Various other minor fixes and improvements
Download / How to use it?
Don't download from the below Source code (zip) link. Check the above link for the info.
v2.7 A new change Office edition script, rewritten Online KMS script, and lots of improvements
Changelog: 2.7
Click to expand
All:
- Removed dependancy on WMIC and VBScript.
- Added the check for Windows subscription, activation will be performed based on base edition, example. Thanks to @asdcorp and @abbodi1406.
- Added the code to disable CMD QuickEdit using Powershell instead of temporary regedit (to avoid accidental pause when the user clicks inside the script window). Thanks to @abbodi1406.
- Added the code to launch from conhost.exe using Powershell to avoid the Terminal app. Thanks to @abbodi1406.
- Added more environment variables in the script at the start to resolve issues in case they are messed up in the user's system.
- Added debug mode option in separate files version to create a log file with details.
- Added better check in Powershell execution without crashing the script in case any antivirus is blocking it.
- Added better SPP check at the start to find issues where the script just hangs without any output, now it will show an error after waiting a certain time.
- Changed messages related to eval edition activation.
- Reduced the number of services to check health to a bare minimum.
- Added SPP trigger reevaluation command at the end of the activation, it helps in updating SPP tasks.
- Added the command to delete SuppressRulesEngine registry keys by default in every run if found, this causes issues in spp tasks to refresh.
- Added the extra checks for malware and showed info accordingly.
- Added better error handling of SPP 2.0 folder creation.
- Added better check to find permission issues in SPP.
- Added the command to check SvcRestartTask Status to find potential activation issues.
- Updated the WPA registry check code to skip unrelated keys, and to make it work on Windows 7 as well.
- Added the code to show the option to open the Troubleshoot page if errors are found.
- Many other small changes to better handle errors.
HWID / KMS38
- Removed the extra checks for Windows update services and replaced them with a more accurate check in S-1-5-19 IdentityCRL registry to find connection errors.
Now Update service error will only be shown when it's very likely to be a cause for the activation failure.
KMS38
- Update Windows Server 2025 keys to use from products.ini
Ohook
- Added the code to add SharedComputerLicensing registry to avoid licensing issues in the case of Windows Server with Retail C2R office.
- Script will now skip installing the key for already activated products.
- Added the info for the Office version and the update channel.
- Script will fix ProductReleaseIds In Registry if incorrect found, it affects features.
- Script will check the running Office apps and will ask to close them before proceeding.
- Added more detailed info in case Ohook installation fails.
- Added more accurate detection of MSI Office products.
- Script will now deeply find remnants of Office vNext/shared/device/OEM license block, and will clean them.
- Script will now add a Resiliency key to avoid the licensing banner in all of the user accounts including those that are not logged in, also registry will be added to all new future user accounts.
- Script is updated to use Ohook 0.5 (non+ version), nothing is changed functionality-wise, you don't need to update your already installed Ohook.
Online KMS
- Rewrote the whole thing from scratch. Thanks to @abbodi1406 for the help.
Difference from the previous version: - Added the option to set the KMS server/port.
- Added support for Office 2024.
- Script will show the option to activate Office (All) and Office (Project/Visio) and the script won't skip the already activated Office products.
- Toggle option is added to install the Renewal task along with the activation, by default it's set to install the renewal task along with activation.
- Script will create a run-once task if the Internet is not found, which will run on system login if the Internet is found later.
- Toggle option is added to not change edition if needed for Windows/Office.
- Added more info on the screen regarding the process.
Change Office Edition
- This is a new option added in the script.
- It offers the option to change the installed C2R Office edition to any other with minimum Internet consumption. Thanks to @ave9858 for the suggestion.
- It also offers the option to change the Office update channel. Thanks to @abbodi1406.
Change Windows Edition
- This script will now create log files on the desktop in case if edition change fails.
- Several bugs fixed.
Check Activation Status
- Previous scripts are now replaced with CAS by @abbodi1406.
Troubleshoot
- Added the code to fix activation errors caused by KB971033 in Windows 7.
- Removed the unnecessary code to find errors because they are already in activation scripts.
Misc
- MASSGRAVE blog page is now available.
- Offical support email ID is changed to
[email protected]
due to some issues from receiving emails from China on Protonmail. - A new mirror repo is opened on Codeberg.
Download / How to use it?
Don't download from the below Source code (zip) link. Check the above link for the info.
v2.6 Added Support For Office 2024
Changelog: 2.6
Ohook:
- Added keys for Office 2024 products; some product licenses are still missing. Keys for them will be added later.
Download / How to use it?
Don't download from the below Source code (zip) link. Check the above link for the info.
v2.5 Added Support For New Editions
Changelog: 2.5
Click to expand
HWID:
- Added support for the Windows 11 IoTEnterpriseK edition.
KMS38:
- Added support for Windows Server 2025 editions.
Ohook:
- Added support for Microsoft Office 2024 (Preview) editions.
- Fixed a delay issue in checking user account SIDs if a lot of users are added to the domain-joined system.
All:
- Fixed a delay issue in checking WPA registry keys
- Optimized some codes and fixed a few bugs
Download / How to use it?
Method 1 - PowerShell (Recommended)
- Right-click on the Windows start menu and select PowerShell or Terminal (Not CMD).
- Copy-paste the below code and press enter
irm https://massgrave.dev/get | iex
- You will see the activation options, and follow onscreen instructions.
- That's all.
Method 2 - Traditional
- Download the file from here
- Right-click on the downloaded zip file and extract
- In the extracted folder, find the folder named
All-In-One-Version
- Run the file named
MAS_AIO.cmd
- You will see the activation options, and follow onscreen instructions.
- That's all.
To run the scripts in unattended mode, check here