Skip to content

Releases: massgravel/Microsoft-Activation-Scripts

v2.7 A new change Office edition script, rewritten Online KMS script, and lots of improvements

07 Sep 02:36
Compare
Choose a tag to compare

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

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?

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.

v2.6 Added Support For Office 2024

20 Apr 12:40
Compare
Choose a tag to compare

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?

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.

v2.5 Added Support For New Editions

15 Nov 21:05
Compare
Choose a tag to compare

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


Troubleshooting / Help

Download Original Windows & Office

Check Homepage For More Details

Don't download from the below Source code (zip) link. Read the above instructions for the link.

v2.4 Minor Update

21 Oct 00:03
Compare
Choose a tag to compare

This is old. Use the latest version https://github.com/massgravel/Microsoft-Activation-Scripts/releases

Changelog: 2.4

Click to expand

Ohook:

  • Reverted the Ohook version back to 0.3. We noticed some Antivirus detections (false positive), possibly due to the registry adding change introduced in 0.4. The downside of 0.3 is that the Ohook script would need to be run again upon new user account creation in Windows if O365 is installed.
  • Separate files version for Ohook script is changed to AIO.
  • Users don't need to update their Ohook installation with this update.

Download / How to use it?

Method 1 - PowerShell (Recommended)

  • On Windows 8.1/10/11, 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


Troubleshooting / Help

Download Original Windows & Office

Check Homepage For More Details

v2.3 Bug Fixes

16 Oct 02:51
Compare
Choose a tag to compare

This is old. Use the latest version https://github.com/massgravel/Microsoft-Activation-Scripts/releases

Changelog: 2.3

Click to expand

Ohook:

  • Script is updated to use v0.4 Ohook. It will help in preventing license check banner in non-admin, Domain joined, and future new user accounts.
  • Script is updated to find and remove remnants of Office vNext license for all user accounts in registry.

Change Edition:

  • Script will check for Pending reboot flags before proceeding with Edition change with DISM.
  • Change to ServerRdsh edition is blocked in the script since it's policies often can not roll back.

All:

  • Scripts will now check for updates and notify users.
  • Some other bugs fixed.

Download / How to use it?

Method 1 - PowerShell (Recommended)

  • On Windows 8.1/10/11, 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


Troubleshooting / Help

Download Original Windows & Office

Check Homepage For More Details

v2.2 A New Hope For HWID

03 Oct 10:32
Compare
Choose a tag to compare

This is old. Use the latest version https://github.com/massgravel/Microsoft-Activation-Scripts/releases

Changelog: 2.2

HWID:


Download / How to use it?

Method 1 - PowerShell (Recommended)

  • On Windows 8.1/10/11, 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


Troubleshooting / Help

Download Original Windows & Office

Check Homepage For More Details

v2.1 HWID Activation is not working

30 Sep 20:26
Compare
Choose a tag to compare

This is old. Use the latest version https://github.com/massgravel/Microsoft-Activation-Scripts/releases

Changelog: 2.1

HWID:

  • Added info for activation not working issue.
    It's not working because of server-side changes at Microsoft. Use the KMS38 option for now. Your previously established HWID is safe. This happened because of recent change to not allow Windows 7/8 free upgrades.

Ohook:

  • Change the key preference for Office products in this order Retail:TB:Sub > Retail > OEM:NONSLP > Volume:MAK > Volume:GVLK
  • Fixed a few bugs

Download / How to use it?

Method 1 - PowerShell (Recommended)

  • On Windows 8.1/10/11, 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


Troubleshooting / Help

Download Original Windows & Office

Check Homepage For More Details

Minor Update

25 Sep 16:05
Compare
Choose a tag to compare

This is old. Use the latest version https://github.com/massgravel/Microsoft-Activation-Scripts/releases

Changelog: 2.0

Minor update: Add info in check activation scripts to ignore ospp.vbs /dstatus results if Ohook install is found.


Download / How to use it?

Method 1 - PowerShell (Recommended)

  • On Windows 8.1/10/11, 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


Troubleshooting / Help

Download Original Windows & Office

Check Homepage For More Details

v1.9 Added Permanent Activation for Office

25 Sep 13:47
Compare
Choose a tag to compare

This is old. Use the latest version https://github.com/massgravel/Microsoft-Activation-Scripts/releases

Changelog: 1.9

Click to expand

Ohook:

HWID/KMS38:

  • HWID activation is added for IotEnterpriseS 2024. At the moment, the 2024 version of IotEnterpriseS and IotEnterpriseSK have HWID activation, EnterpriseS/SN don't
  • More checks are added to find better error details for:
    Internet issue
    WMI issue
    SvcRestartTask issue
    Services issue
  • Some codes are optimized

Online KMS:

  • Script will create schduled task files in C:\Program Files\Activation-Renewal instead of C:\ProgramData\Activation-Renewal due to security reasons
  • The script is updated as per @abbodi1406 KVA v50. Changes:
    • Fixed conversion for Office 2016 C2R Retail
      previously, the first run mistakenly said conversion had failed, even though it was successful (due to confusion with Office 2019 licenses/location detection)
    • Added support for activating Windows 10 IoT Enterprise LTSC 2021 (LCU 19044.2788 or later)

Change Windows Edition:

  • Script will use @ave9858 (Alex) DISM API method instead of changepk.exe method to change from Windows 10/11 Core to Non-core (e.g. Home to Pro)
    Advantages: Internet doesn't need to be disabled, all OEM/GVLK key restrictions are removed, and better error output
  • Script will only use best methods to change edition instead of showing multiple choices

Troubleshoot:

  • Script will compress large log files to cab instead of deleting and creating them fresh in DISM restore and SFC scan options
  • WMI fix is improved

All:

  • Insert HWID key script is removed because it's not important and causes confusion
  • Scripts will now disable quick edit mode temporarily because users often click inside the script window and it pauses the script
  • Check is added for Null service at the start of the script because corrupt service crashes the script
  • Codes are optimized and fixed a few bugs
  • Gitlab repo was taken down, we have created a repo on Bitbucket as a replacement. Also revived the Subreddit.

Download / How to use it?

Method 1 - PowerShell (Recommended)

  • On Windows 8.1/10/11, 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


Troubleshooting / Help

Download Original Windows & Office

Check Homepage For More Details

v1.8 Goodbye to Cleanospp.exe / MAS is now 100% naked

16 Mar 18:15
Compare
Choose a tag to compare

This is old. Use the latest version https://github.com/massgravel/Microsoft-Activation-Scripts/releases

Changelog: 1.8

Click to expand

HWID/KMS38:

  • Checks are added to find issues in:
    • Connection to MS licensing servers. Thanks to @ave9858 (Alex)
    • SPP permissions in files and registry
    • WPA registry keys. Thanks to @ave9858 (Alex)
    • KeyIso service which affects ticket installation. Thanks to @ave9858 (Alex)
    • Store apps blocking registries
    • Windows updates
    • Many more
  • Fixed a few bugs

Online KMS:

  • Replaced cleanospp.exe with powershell script CleanOffice.ps1 Thanks to @ave9858 (Alex)
  • Fixed an issue where script may stuck in server port check
  • Script is updated as per @abbodi1406 KVA v49. Changes:
    • Enhanced Office 15.0 C2R detection to differentiate Retail<>Volume products
    • Added fallback if Office 16.0 C2R licenses integrator.exe failed, to install them the old way (using slmgr.vbs/ospp.vbs)

Troubleshoot:

  • Fix WMI option is improved
  • Fix licensing option now will fix ClipSVC, Office vNext, SPP and OSPP licenses and SPP permissions in files and registry. Thanks to @ave9858 (Alex)

Change Windows Edition:

  • Script now supports default Win 7 RTM, WMF requirement is removed. Thanks to @ave9858 (Alex)

All:

  • All C# code is changed to Powershell reflection code to avoid temp files and AV detections. Thanks to @ave9858 (Alex)
  • Keys are a bit obfuscated in scripts to reduce AV detections
  • irm https://massgrave.dev/get | iex code to launch MAS via Powershell will now create uniquely named/hash files on each run to reduce AV detections
  • A detailed page is added for Office C2R retail installers
  • Error messages and instructions are improved in all scripts
  • MAS legacy methods scripts are updated as well
  • We are now on Twitter and a Telegram group is created for MAS-related queries and activation issues

Download / How to use it?

Method 1 - PowerShell (Recommended)

  • On Windows 8.1/10/11, 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


Troubleshooting / Help

Download Original Windows & Office

Check Homepage For More Details