Skip to content

Releases: massgravel/Microsoft-Activation-Scripts

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

v1.7 Goodbye to Gatherosstate.exe

07 Nov 20:39
ed91ab5
Compare
Choose a tag to compare

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

Changelog: 1.7

Click to expand

HWID/KMS38:

  • Gatherosstate.exe is replaced by universal tickets. Thanks to @ave9858 (Alex).
  • Legacy HWID methods are now preserved in another repo MAS-Legacy-Methods.
  • HWID key is added for Windows 11 IoTEnterpriseSK edition.
  • To avoid errors due to unsupported Windows region, HWID script will change it to US and revert it back.
  • HWID script will delete an IdentityCRL registry key to resolve issues caused by changed hardware ID. Thanks to @awuctl.
  • KMS38 script will now apply the KMS38 protection by default. Powershell code for it is now simplified.
  • ClipUp.exe for Server CorAcor editions is removed from separate files version as well. Users will need to follow this to KMS38 activate them.
  • Scripts will enable Windows Script Host if it's disabled.
  • More checks are added to find the cause of activation failure.

Online KMS:

  • Script is updated as per abbodi1406 KVA v48 (Major change: optional behavior to override Office C2R vNext license (subscription or lifetime) or its residue (which may prevent proper KMS activation).
  • Scripts will enable Windows Script Host if it's disabled.
  • More checks are added to find the cause of activation failure.

Activation Troubleshoot:

  • Added more options: Rebuild WMI Repository, Fix issues Caused By Gaming Spoofers, Fix issues Caused By KB971033 In Windows 7, Export Event Viewer Logs.

Change Windows Edition:

  • Support for Windows 7/8//8.1 and their server equivalent editions are added and an alternative method is added for Windows 10/11 and their server equivalent. Thanks to Gamers Against Weed for CBS Upgrade method.

Check Activation Status WMI:

  • Thanks to @abbodi1406 for fixing a cosmetic issue in Office vNext Status (vNextDiag.ps1).

MAS AIO:

  • Command line switches are added for unattended mode. It can be utilized in Powershell One-Liner code to execute it as well.
  • Exit and Go Back options are set to 0 key in all the cases.

Download / How to use it?

Method 1 - PowerShell

  • On Windows 10/11, right click on windows start menu, select PowerShell or Terminal.
  • Copy-paste the below code and press enter

irm https://massgrave.dev/get | iex

  • You will see the activation options, follow onscreen instructions.
  • That’s all.

Method 2 - Traditional

  • Download the file named MAS_1.7_Password_1234.7z from here
  • Extract this file with a 3rd party archive manager, such as 7zip
  • Password is 1234
  • In extracted folder, find the folder named All-In-One-Version
  • Run the file named MAS_AIO.cmd
  • You will see the activation options, follow onscreen instructions.
  • That’s all.

To run the scripts in unattended mode, check here

 File: MAS_1.7_Password_1234.7z
SHA-1: 67A4D41BBEB8B24A5F893644AC63F91F931A2A75

Password: 1234


Homepage: https://massgrave.dev/

v1.6 Future proofing / Goodbye to slc.dll

25 Jul 18:14
47e3aa2
Compare
Choose a tag to compare

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

Changelog: 1.6

Click to expand

HWID/KMS38:

  • slc.dll is removed, we will patch original gatherosstate.exe on the fly with Powershell. (Thanks to Gamers Against Weed )
  • arm64 files are removed, now x86 gatherosstate.exe can work in all
  • Scripts can now activate future editions by getting the key from the system. (Thanks to @awuctl and @abbodi1406)
  • More detailed diagnostic checks incase of failed activation
  • Windows product name is now taken from winbrand.dll instead of registry/wmi for accurate results (Thanks to @abbodi1406)
  • Fixed an issue when in Eval edition, non-eval edition key and certs are installed but script will show Eval edition error
  • HWID Lockbox method is now removed in UI due to some issues with this method in certain builds.
  • Ticket generation option is removed in UI since people rarely need it and it creates confusion
  • Fixed an issue in registry ownership snippet where it would fail if path name have special characters
  • clipup.exe is removed from AIO but exists in separate files version.
    Users very rarely need it (server cor/acor) and less size of AIO would help in download & execution in Powershell
  • Bug fixes and lots of improvements

Online KMS:

  • Script is updated as per KVA v47 (major change: improved office C2R-R2V conversion)
  • Script will now set KMS server to private IP (non-existent) 10.0.0.10 instead of 0.0.0.0 to avoid non-genuine banner issue in office
  • Desktop context menu option is removed, not very useful
  • Renewal task, file and directory name are changed to remove "KMS" word to avoid antivirus detections
  • Skip KMS38 and Convert C2R-R2V on-off options are removed from UI since people rarely need it and it creates confusion
  • Some changes have been done to avoid possible antivirus detections

Activation Troubleshoot:

  • Token rebuilding options will now clear SPP-OSPP data.dat, tokens.dat, cache.dat
    and Office repair option will be launched to fix license issue
  • Added an option to clear Office vNext License, it helps when KMS activation fails due to remnants of vNext licenses
  • Rearm option is removed since full token rebuild is enough
  • Clean ClipSVC Licences option is removed since it may creates some issues in licensing in older builds

Change Windows Edition:

  • Added feature to change Windows Server editions
  • Scripts can now change the future editions by getting the key from the system
  • Script now blocks the change to/from CountrySpecific and CloudEdition editions, since it's offically not supported and user may face issues
  • Improved the way of available editions are presented to choose

Insert Windows HWID Key:

  • Scripts can now install HWID key for future editions by getting the key from the system

All:

  • Fixed an issue when script wouldn't launch if path have certain speacial characters
  • Fixed an issue when files couldn't be extrated in AIO compressed2txt if username have accent characters. Thanks to @AveYo for fix.
  • Fixed an issue when script would start looping while getting correct arch process in rare cases
  • Added a check to detect if file is in Unix (LF) format, if yes then script would stop
  • Homepage https://windowsaddict.ml/ is changed to https://massgrave.dev/ because of DNS issue with free domain (Thanks to @luzea9903 for Server hosting)
  • Homepage https://massgrave.dev/ is upadated with better reabable format
  • Added an option to download and execute MAS from Powershell
    iwr -useb https://massgrave.dev/get | iex

Download / How to use it?

Method 1 - PowerShell

  • On Windows 10/11, right click on windows start menu, select PowerShell or Terminal.
  • Copy-paste the below code and press enter

iwr -useb https://massgrave.dev/get | iex

  • You will see the activation options, follow onscreen instructions.
  • That’s all.

Method 2 - Traditional

  • Download the file named MAS_1.6_Password_1234.7z from here
  • Extract this file with a 3rd party archive manager, such as 7zip
  • Password is 1234
  • In extracted folder, find the folder named All-In-One-Version
  • Run the file named MAS_AIO.cmd
  • You will see the activation options, follow onscreen instructions.
  • That’s all.
 File: MAS_1.6_Password_1234.7z
SHA-1: 0324a68b1206ab7bbaca0689d99b15f0bf1f2c35

Password: 1234


Homepage: https://massgrave.dev/

v1.5 Important Update

11 Jan 03:08
f9c7a5c
Compare
Choose a tag to compare

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

MAS 1.5 Changelog:

Click to expand

All

  • Support added for Windows build 22483 and later (No wmic.exe issue)
  • Support added for ARM64 architecture in all the scripts
  • Made sure script run fine where path variables are misconfigured in system
  • Made sure script run fine from UNC path
  • Improved text coloring method
  • Script would show an error if ran directly from archive files
  • Scripts would make sure to start from the system's main architecture process
  • All read me files are shifted to online for better update
  • New discord channel https://discord.gg/gjJEfq7ux8 and new main homepage https://windowsaddict.ml/ added
  • Various cosmetic improvements and bug fixes

HWID / KMS38

  • HWID Support added for CloudEdition/N, IoTEnterpriseS editions. (IoTEnterpriseS key will be used to activate EnterpriseS 2021)
  • KMS38 support added for all new Windows 10-11 and Server's, KMS capable edition's including core and acor editions
  • HWID with Lockbox ticket option is added
    x86-x64 Lockbox slc.dll is created by @mspaintmsi, @qxkqf ported it to ARM64 slc.dll
  • KMS38 Protection and KMS38 uninstall option is added
  • Ticket generation option is added
  • Improved key detection logic, now it can support custom build editions
  • Fixed issues where in certain languages OS's, script would show incorrect status of services
  • Improved script options if required key is not found in script
  • Improved script options if an edition is not supporting HWID currently but may support in future

Online KMS

  • All related scripts are merged in one in separate files version, with onscreen choice options
  • KMS server selection process is improved to make it fail-proof, server numbers are increased to 16
  • Improved error handling and display messages
  • From now on, KMS server IP address will be used for activation instead of hostname to avoid detection by AV's and MS
  • While using manual mode (no renewal task), a non-existent IP 0.0.0.0 will be left in registry to avoid Office non genuine banner issue
  • For renewal task, a separate small script will be used to only renew activation, instead of running full script, every week
  • Base script is updated to use abbodi1406's latest KMS_VL_ALL-45u (09-Jan-2022)
    Major changes-
    Support added for Windows 10 ARM64, Office 2021, all new Windows and Server editions
    VBS method will be used for WMI in Windows build 22483 and later
    Enhanced detection for Office C2R vNext subscriptions
    Check Activation Status [wmi] will show vNext subscriptions status using vNextDiag.ps1 (require Powershell / WMF 4 or later on Windows 7)
    Various fixes for Office activation

Verify_Files-Clear_Zone.Identifier

  • This new script is added in root folder to verify files with hashes and to remove Zone.Identifier from files (to prevent SmartScreen warnings)

Activation Troubleshoot

  • This new script is added in Extras section to deal with activation issues. Various options are added with proper onscreen info and warning's.

Change_W10_11_Edition

  • Now it can change the Windows editions from Core to Non core too with proper error handling. Works on Windows build 10240 and later

    File: MAS_1.5_Password_1234.7z
   SHA-1: A086663F07901B39FB52E06E6BF47ADEE5001DCA

Password: 1234

To use the script, extract the content of this .7z file with a 3rd party archive manager, such as 7-Zip
MAS Homepage: https://massgrave.dev/

1.4: Added HWID support for Windows 10 LTSC 2019

14 Aug 04:03
d4b8f94
Compare
Choose a tag to compare

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

Microsoft Activation Scripts (MAS) 1.4

Changelog:

  • Now Microsoft support HWID (Digital License) for Windows 10 LTSC 2019, added key for it in the script.
  • Some minor improvements.

File: MAS_1.4_Password_1234.7z
SHA-1: D38FE80A1827049F8571775236CF27C1F2B88F4A
Password: 1234

To use the script, extract the content of this .7z file with a 3rd party archive manager, such as 7-Zip

1.3: Add files via upload

22 Jan 02:03
b65004d
Compare
Choose a tag to compare

Microsoft Activation Scripts (MAS) 1.3


Changelog:

Click me to collapse/fold.

HWID / KMS38

  • Fixed a bug in Enterprise Edition activation.
  • Updated the ticket generation and applying process.

All

  • Added a project mirror on github.
  • Some minor improvements

Downloads:

Click me to collapse/fold.
Files are available to download in the following three formats.
Browsers may show the warning for the last two formats while downloading.
  • Password protected .7z archive file for better files security. (Requires 3rd party archive manager to open.)

    MAS_1.3_Password_1234.7z

    SHA-1: EDAFC6CED40D54BB44425F5E4CB94A76D704F5CC

  • Self-extracting .cmd file for better files security and no Zone markers, smart screen intervention issue for inside files.
    Files are stored in text format with the tool Compressed2TXT

    Extract_MAS_1.3.cmd

    SHA-1: EA18B20B8545B5A60B16B9CCD9473E191B346D98

  • .zip file. (Not enough secure and does not require 3rd party archive manager.)

    MAS_1.3_Password_1234.zip

    SHA-1: 89761DC4E746591C6987EE54B6F771C5A90CF9A2

1.2

12 Jan 23:55
Compare
Choose a tag to compare
1.2

Microsoft Activation Scripts (MAS) 1.2


Changelog:

Click me to collapse/fold.

HWID / KMS38

  • Fixed the Edition ID mismatch issue of DISM / REG / WMIC, with the help of SKU ID.
  • Fixed an issue where ticket installation would fail in case if the username has non-English characters or spaces in certain conditions.
  • Now files would be copied to "%SystemRoot%\Temp_Ticket_Work" to generate the ticket to prevent any unforeseen issue caused by the pathname.
  • Added the support for ARM64 systems, thanks to @mspaintmsi for providing the method and thanks to @ Chibi ANUBIS and @ smashed for testing the scripts.
  • Various other minor improvements.

Online KMS

  • Updated the script to @ abbodi1406's KMS_VL_ALL v37f, which includes various improvements and fixes, most notably automatic retail-to-volume conversion for Office C2R.
  • Added official Microsoft's two .exe files for the Retail office C2R to volume conversion purpose.
  • Now Renewal task and desktop context menu, both will share the same directory which is now changed to "%ProgramData%\Online_KMS_Activation"
  • Optimized the files/folder structure.
  • Updated the KMS server list.
  • Various other minor improvements.

All

  • Now all scripts can work from the directory which contains special characters in the pathname. Thanks to @ abbodi1406 for the fix.
  • Changed all the colored text part to Powershell, so now it can support the non-English characters.
  • Now every script can work in case the Windows Script Host is disabled.
  • Now every script can work from the read-only/protected directories.
  • Added the offline ReadMe files since nsaneforums topic is only open to members.
  • Removed the VBS check activation method since now @ abbodi1406 made WMIC method better than vbs.
  • Created a repository for this tool at Gitlab https://gitlab.com/massgrave/microsoft-activation-scripts


 

Downloads:

Files are available to download in the following three formats.
Browser may show the warning for the last two formats while downloading.

  • Password protected .7z archive file for better files security. (Requires 3rd party archive manager to open.)
    MAS_1.2_Password_1234.7z
    SHA-1: 4A9ED91622229E8AA507AF32F2B38F40BC007F67

  • Self-extracting .cmd file for better files security and no Zone markers, smart screen intervention issue for inside files.
    Files are stored in text format with the tool Compressed2TXT
    Extract_MAS_1.2.cmd
    SHA-1: 7E3FC72DC395A945496F8E7DC88C5CB55CBD8328

  • .zip file. (Not enough secure and does not require 3rd party archive manager.)
    MAS_1.2.zip
    SHA-1: E5F345EDEB04A9B42CCD2B0FF5924DC28B4938AF