3.3
This commit is contained in:
parent
11d14a95ba
commit
f2cc764055
@ -2,6 +2,26 @@
|
||||
|
||||
------------------------------------------------------------------------
|
||||
|
||||
## 3.3
|
||||
|
||||
**The Empire Strikes Back**
|
||||
|
||||
#### **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.
|
||||
|
||||
------------------------------------------------------------------------
|
||||
|
||||
## 3.2
|
||||
|
||||
**O365AppsBasicRetail support and bug fixes**
|
||||
|
@ -4,37 +4,42 @@ Below is a comparison of activation methods offered by Microsoft Activation Scri
|
||||
|
||||
Basics
|
||||
------
|
||||
| | HWID | Ohook | KMS38 | Online KMS | TSforge (ZeroCID) |
|
||||
| --- | :---: | :---: | :---: | :---: | :---: |
|
||||
| Works offline | ❌ | ✅ | ✅ | ❌ | ✅ |
|
||||
| Activation is permanent | ✅ | ✅ | ✅[^1] | ✅[^2] | ✅ |
|
||||
| Does not leave any files in the system to maintain activation status | ✅ | ❌ | ✅ | ❌ | ✅ |
|
||||
| | HWID | Ohook | KMS38 | Online KMS | ZeroCID[^1] | StaticCID[^1] | KMS4k[^1] |
|
||||
| --- | :---: | :---: | :---: | :---: | :---: | :---: | :---: |
|
||||
| Works offline | ❌ | ✅ | ✅ | ❌ | ✅ | ❌ | ✅ |
|
||||
| Activation is permanent | ✅ | ✅ | ✅[^2] | ✅[^3] | ✅ | ✅ | ✅[^4] |
|
||||
| Does not leave any files in the system to maintain activation status | ✅ | ❌ | ✅ | ❌ | ✅ | ✅ | ✅ |
|
||||
|
||||
Persistence
|
||||
-----------
|
||||
| | HWID | Ohook | KMS38 | Online KMS | TSforge (ZeroCID) |
|
||||
| --- | :---: | :---: | :---: | :---: | :---: |
|
||||
| Persists between hardware changes | ❌ | ✅ | ❌ | ✅ | ✅ |
|
||||
| Persists between clean installations on the same hardware | ✅ | ❌ | ❌ | ❌ | ❌ |
|
||||
| Persists between Windows 10 / 11 feature upgrades | ✅ | ✅ | ✅ | ✅ | ❌ |
|
||||
| | HWID | Ohook | KMS38 | Online KMS | ZeroCID[^1] | StaticCID[^1] | KMS4k[^1] |
|
||||
| --- | :---: | :---: | :---: | :---: | :---: | :---: | :---: |
|
||||
| Persists between hardware changes | ❌ | ✅ | ❌ | ✅ | ✅ | ❌ | ✅
|
||||
| Persists between clean installations on the same hardware | ✅ | ❌ | ❌ | ❌ | ❌ | ❌ | ❌ |
|
||||
| Persists between Windows 10 / 11 feature upgrades | ✅ | ✅ | ✅ | ✅ | ❌ | ❌ | ❌ |
|
||||
|
||||
Support
|
||||
-------
|
||||
| | HWID | Ohook | KMS38 | Online KMS | TSforge (ZeroCID) |
|
||||
| --- | :---: | :---: | :---: | :---: | :---: |
|
||||
| Windows Vista / 7 / 8 / 8.1 | ❌ | ❌ | ❌ | ✅[^3] | ✅ |
|
||||
| Windows 10 / 11 | ✅ | ❌ | ✅[^3] | ✅[^3] | ✅ |
|
||||
| Windows Server 2008 / 2008 R2 / 2012 / 2012 R2 | ❌ | ❌ | ❌ | ✅ | ✅ |
|
||||
| Windows Server 2016 and later | ❌ | ❌ | ✅ | ✅ | ✅ |
|
||||
| Office 2010 | ❌ | ✅ | ❌ | ✅[^3] | ❌ |
|
||||
| Office 2013 and later | ❌ | ✅ | ❌ | ✅[^3] | ✅[^4] |
|
||||
| Windows / Office KMS Host | ❌ | ❌ | ❌ | ❌ | ✅ |
|
||||
| Windows Extended Security Updates | ❌ | ❌ | ❌ | ❌ | ✅ |
|
||||
| OCUR / RP / APPXLOB addons | ❌ | ❌ | ❌ | ❌ | ✅ |
|
||||
| | HWID | Ohook | KMS38 | Online KMS | ZeroCID[^1] | StaticCID[^1] | KMS4k[^1] |
|
||||
| --- | :---: | :---: | :---: | :---: | :---: | :---: | :---: |
|
||||
| Windows Vista / 7 | ❌ | ❌ | ❌ | ✅[^5] | ✅ | ❌ | ✅[^5] |
|
||||
| Windows 8 / 8.1 | ❌ | ❌ | ❌ | ✅[^5] | ✅ | ✅ | ✅[^5] |
|
||||
| Windows 10 / 11 | ✅ | ❌ | ✅[^5] | ✅[^5] | ✅ | ✅ | ✅[^5] |
|
||||
| Windows 11 (26100.4188 and later) | ✅ | ❌ | ✅[^5] | ✅[^5] | ❌ | ✅ | ✅[^5] |
|
||||
| Windows Server 2008 / 2008 R2 | ❌ | ❌ | ❌ | ✅ | ✅ | ❌ | ✅ |
|
||||
| Windows Server 2012 / 2012 R2 | ❌ | ❌ | ❌ | ✅ | ✅ | ✅ | ✅ |
|
||||
| Windows Server 2016 and later | ❌ | ❌ | ✅ | ✅ | ✅ | ✅ | ✅ |
|
||||
| Office 2010 | ❌ | ✅ | ❌ | ✅[^5] | ❌ | ❌ | ❌ |
|
||||
| Office 2013 and later | ❌ | ✅ | ❌ | ✅[^5] | ✅[^6] | ✅[^6] |✅[^5] [^6] |
|
||||
| Windows / Office KMS Host | ❌ | ❌ | ❌ | ❌ | ✅ | ✅ | ❌ |
|
||||
| Windows Extended Security Updates | ❌ | ❌ | ❌ | ❌ | ✅ | ✅ | ❌ |
|
||||
| OCUR / RP / APPXLOB addons | ❌ | ❌ | ❌ | ❌ | ✅ | ✅ | ❌ |
|
||||
|
||||
---
|
||||
|
||||
[^1]: Valid until the year 2038.
|
||||
[^2]: Valid for 180 days by default. Permanent with renewal task installed.
|
||||
[^3]: Volume activation capable editions only.
|
||||
[^4]: Supported only on Windows 8 and later; subscription editions are not supported.
|
||||
[^1]: Provided by [TSforge](tsforge.md).
|
||||
[^2]: Valid until the year 2038.
|
||||
[^3]: Valid for 180 days by default. Permanent with renewal task installed.
|
||||
[^4]: Valid for 4083 years.
|
||||
[^5]: Volume activation capable editions only.
|
||||
[^6]: Supported only on Windows 8 and later; subscription editions are not supported.
|
||||
|
@ -28,9 +28,7 @@ Alternatively, you can use the following (this will be deprecated in the future)
|
||||
irm https://massgrave.dev/get | iex
|
||||
```
|
||||
|
||||
3. You will see the activation options.
|
||||
Press [1] HWID for Windows activation.
|
||||
Press [2] Ohook for Office activation.
|
||||
3. You will see the activation options. Choose the activation options highlighted in green.
|
||||
|
||||
4. That's all
|
||||
|
||||
@ -55,7 +53,7 @@ or
|
||||
|
||||
---
|
||||
|
||||
- **[Office for macOS](office_for_mac.md)**
|
||||
- To activate additional products such as **Office for macOS, Visual Studio, RDS CALs, and Windows XP**, check [here](unsupported_products_activation.md).
|
||||
- To run the scripts in unattended mode, check [here](command_line_switches.md).
|
||||
|
||||
---
|
||||
@ -80,7 +78,7 @@ or
|
||||
|
||||
## MAS Latest Release
|
||||
|
||||
Last Release - v3.2 (6-May-2025)
|
||||
Last Release - v3.3 (1-June-2025)
|
||||
[GitHub](https://github.com/massgravel/Microsoft-Activation-Scripts) / [Azure DevOps](https://dev.azure.com/massgrave/_git/Microsoft-Activation-Scripts) / [Self-hosted Git](https://git.activated.win/massgrave/Microsoft-Activation-Scripts)
|
||||
|
||||
------------------------------------------------------------------------
|
||||
@ -109,7 +107,7 @@ Last Release - v3.2 (6-May-2025)
|
||||
|:----------------|:-----------------------|:-------------------------------------|:--------------------|
|
||||
| HWID | Windows 10-11 | Permanent | Yes |
|
||||
| Ohook | Office | Permanent | No |
|
||||
| TSforge | Windows / ESU / Office | Permanent | No |
|
||||
| TSforge | Windows / ESU / Office | Permanent | Yes, needed on build 19041 and later |
|
||||
| KMS38 | Windows 10-11-Server | Till the Year 2038 | No |
|
||||
| Online KMS | Windows / Office | 180 Days. Lifetime With Renewal Task | Yes |
|
||||
|
||||
|
@ -1,5 +1,8 @@
|
||||
# News
|
||||
|
||||
### [1-June-25] MAS 3.3 update is released
|
||||
StaticCID and KMS4k methods are added in TSforge, for details check the [changelog](changelog.md)
|
||||
|
||||
### [21-May-25] Added May 2025 updated ISOs
|
||||
Windows 10 22H2 / Windows 11 24H2 / Windows 11 23H2 / Server 2025 / Server 2022 / Server 23H2
|
||||
https://massgrave.dev/genuine-installation-media
|
||||
|
@ -6,7 +6,7 @@
|
||||
- This activation is permanent until a Windows reinstall or a major feature upgrade (not to be confused with small enablement upgrades or monthly cumulative updates).
|
||||
- This activation method doesn't modify any Windows components and doesn't install any new files.
|
||||
- Once the system is activated, hardware can be changed arbitrarily without triggering de-activation.
|
||||
- Internet is not required for this method.
|
||||
- Internet is not required for ZeroCID or KMS4k, but it is required for StaticCID. The script uses the StaticCID method from Windows 10 20H1 (19041) and later versions.
|
||||
- This activation method can activate any of the following products if a phone license is available and licensing is managed by the system's SPP. For example,
|
||||
* Windows Vista and later
|
||||
* Windows Server 2008 and later
|
||||
@ -21,6 +21,8 @@
|
||||
|
||||
## How does it work?
|
||||
|
||||
### ZeroCID
|
||||
|
||||
**Process on Windows Vista and 7**
|
||||
|
||||

|
||||
@ -42,13 +44,30 @@
|
||||
- Windows 7 - `C:\Windows\ServiceProfiles\NetworkService\AppData\Roaming\Microsoft\SoftwareProtectionPlatform\tokens.dat`
|
||||
- Windows 8 - `C:\Windows\System32\spp\store\tokens.dat`
|
||||
- Windows 8.1/10/11 - `C:\Windows\System32\spp\store\2.0\tokens.dat`
|
||||
- In normal product key installation and phone activation, associated data is written to the physical store and token store. Said phone activation data is [cryptographically checked](https://github.com/UMSKT/writeups/blob/main/PKEY2005.md) against the Installation ID before being written. When SPP relaunches, it is only given a very basic check against the current Hardware ID.
|
||||
- By writing forged data directly to the physical store and token store, we can bypass both checks, causing SPP to believe it installed a fake product key and/or confirmation ID.
|
||||
- In normal product key installation and phone activation, associated cache data is written to the physical store and token store. Said phone activation data is [cryptographically checked](https://github.com/UMSKT/writeups/blob/main/PKEY2005.md) against the Installation ID before being written. When SPP relaunches, it is only given a very basic check against the current Hardware ID.
|
||||
- By writing forged cache data directly to the physical store and token store, we can bypass both checks, causing SPP to believe it installed a fake product key and/or confirmation ID.
|
||||
- To bypass checks for hardware changes, a [Hardware ID](https://github.com/massgravel/activation/blob/main/Hwid.md#hardware-id) with a threshold of 0 is included in this forged data.
|
||||
- On Windows 7, the fake product key data does not contain a value known as the "Key Unique ID". This value is required for both WAT and online activation, so removing it causes both to be non-functional, preventing WAT from triggering de-activation.
|
||||
- The presence of valid product key and confirmation ID data causes SPP to activate the specified product as long as it is capable of phone activation.
|
||||
- This process is implemented as the ZeroCID option in [TSforge](https://github.com/massgravel/TSforge).
|
||||
|
||||
### StaticCID
|
||||
|
||||
- In [Windows 11 build 27802](https://betawiki.net/wiki/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.
|
||||
- Because of this, ZeroCID does not work in any Windows 11/Server 2025 Insider Canary builds released afterwards, or any Windows 11/Server 2025 retail/release preview builds newer than 26100.4188.
|
||||
- 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.
|
||||
- Confirmation IDs are then obtained over the internet using [a client](https://github.com/dadorner-msft/activationws) for the [VAMT](https://learn.microsoft.com/en-us/windows/deployment/volume-activation/introduction-vamt) API.
|
||||
- Depositing this CID causes activation, since the CID matches the IID and SPP never checks if the IID matches the installed product key.
|
||||
- The following product keys are used in StaticCID:
|
||||
- RTM Licenses - `744NM-C4FXY-YGM8B-7MVJC-BBFB9`
|
||||
- Test Licenses - `PCPHN-JH4DV-KW84V-JTWT3-VXHBC`
|
||||
|
||||
### KMS4k
|
||||
|
||||
- In KMS4k, fake cached KMS server response data is written to the trusted store.
|
||||
- Unlike via normal KMS emulators, this method can arbitrarily set the activation expiration up to a maximum of 2147483640 (2^31 - 8) minutes, or 4083 years.
|
||||
- This allows for offline KMS activation that is effectively infinite for all practical purposes.
|
||||
|
||||
------------------------------------------------------------------------
|
||||
|
||||
## Supported Products
|
||||
@ -61,7 +80,7 @@ This activation method can activate any of the following products if a phone lic
|
||||
- Windows 8
|
||||
- Windows 8.1
|
||||
- Windows 10
|
||||
- Windows 11
|
||||
- Windows 11 (Does not support ZeroCID since 26100.4188)
|
||||
- **Windows Server**
|
||||
- Windows Server 2008
|
||||
- Windows Server 2008 R2
|
||||
@ -70,7 +89,7 @@ This activation method can activate any of the following products if a phone lic
|
||||
- Windows Server 2016
|
||||
- Windows Server 2019
|
||||
- Windows Server 2022
|
||||
- Windows Server 2025
|
||||
- Windows Server 2025 (Does not support ZeroCID since 26100.4188)
|
||||
- **Microsoft Office** (Requires Windows 8 or later) (Also supports UWP version of Office)
|
||||
- Office 2013
|
||||
- Office 2016
|
||||
@ -218,8 +237,8 @@ This activation method does not work if a phone license is not available or if l
|
||||
|
||||
- TSforge is included in MAS and it also has its own [standalone release](https://github.com/massgravel/TSforge).
|
||||
- TSforge includes the ZeroCID / KMS4k / AVMA4k activation methods.
|
||||
- KMS4k and AVMA4k are proof-of-concept methods with limitations, so we do not recommend using them.
|
||||
- MAS uses the ZeroCID method only and does not include KMS4k or AVMA4k, as ZeroCID can already activate all available products permanently.
|
||||
- AVMA4k is a proof-of-concept method with many limitations, so we do not recommend using it.
|
||||
- MAS only uses the ZeroCID and KMS4k method and does not include AVMA4k, as ZeroCID can already activate all available products permanently.
|
||||
|
||||
| Methods | Info |
|
||||
|---------|------------------------------------------------------------------------------------------------------|
|
||||
|
@ -33,9 +33,9 @@ function CheckFile {
|
||||
|
||||
[Net.ServicePointManager]::SecurityProtocol = [Net.SecurityProtocolType]::Tls12
|
||||
$URLs = @(
|
||||
'https://raw.githubusercontent.com/massgravel/Microsoft-Activation-Scripts/a149fc5f2048b135c649a04da89e1b2f3178b449/MAS/All-In-One-Version-KL/MAS_AIO.cmd',
|
||||
'https://dev.azure.com/massgrave/Microsoft-Activation-Scripts/_apis/git/repositories/Microsoft-Activation-Scripts/items?path=/MAS/All-In-One-Version-KL/MAS_AIO.cmd&versionType=Commit&version=a149fc5f2048b135c649a04da89e1b2f3178b449',
|
||||
'https://git.activated.win/massgrave/Microsoft-Activation-Scripts/raw/commit/a149fc5f2048b135c649a04da89e1b2f3178b449/MAS/All-In-One-Version-KL/MAS_AIO.cmd'
|
||||
'https://raw.githubusercontent.com/massgravel/Microsoft-Activation-Scripts/be7d101df5bf99d959b1f2d16557b88614ac7920/MAS/All-In-One-Version-KL/MAS_AIO.cmd',
|
||||
'https://dev.azure.com/massgrave/Microsoft-Activation-Scripts/_apis/git/repositories/Microsoft-Activation-Scripts/items?path=/MAS/All-In-One-Version-KL/MAS_AIO.cmd&versionType=Commit&version=be7d101df5bf99d959b1f2d16557b88614ac7920',
|
||||
'https://git.activated.win/massgrave/Microsoft-Activation-Scripts/raw/commit/be7d101df5bf99d959b1f2d16557b88614ac7920/MAS/All-In-One-Version-KL/MAS_AIO.cmd'
|
||||
)
|
||||
|
||||
foreach ($URL in $URLs | Sort-Object { Get-Random }) {
|
||||
@ -50,7 +50,7 @@ if (-not $response) {
|
||||
}
|
||||
|
||||
# Verify script integrity
|
||||
$releaseHash = '99B9D8E20701DDCA02676146F7878ECC79BC403CB7B51FBB1B15B2D8D8BC64C4'
|
||||
$releaseHash = '6396F7EFE144AFCA1B48670D7F327F1275C90C3A7BD9AEC7641B9600BAA1DA9A'
|
||||
$stream = New-Object IO.MemoryStream
|
||||
$writer = New-Object IO.StreamWriter $stream
|
||||
$writer.Write($response)
|
||||
|
Loading…
x
Reference in New Issue
Block a user