How to use it? Please find the instructions here.
This activation is supported for Windows 10/11 only.
This activation does not store any files in your system.
This activation is a permanent activation for your system Hardware.
On a system, this activation can be created for all the supported editions, and all can be linked to Microsoft account without any issues.
Once a system is activated, this activation cannot be removed because the license is stored in the Microsoft servers and not in the user’s system. MS checks the hardware ID (HWID) and if a license is found in their database, the system will automatically activate.
Any significant changes in the Hardware (such as a motherboard) may deactivate the system. It is possible to reactivate a system that was deactivated because of significant hardware changes, IF your activation, was linked to an online Microsoft account.
For activation to succeed, internet connectivity must be enabled. If you are trying to activate without these conditions being met, then the system will auto-activate later when the conditions are met.
Auto activation scenario after the Windows re-install:
The Internet is required. (Only at the time of activation)
The system will auto-activate if Retail (Consumer) media was used for the installation.
The system will NOT auto-activate if VL (Business) media was used for the installation. In this case, the user will have to insert that windows edition Retail/OEM key (find keys below on this page) to activate, if the user doesn’t wish to activate again using this script.
In the official upgrade process from Windows 7 to Windows 10, Microsoft provides an HWID (digital license) activation for Windows 10 without any cost.
In the background, the upgrade process runs a file named
gatherosstate.exe and it checks the license of current
Windows if found activated, it generates a valid GenuineTicket.xml which
is sent to Microsoft and in return, MS authorizes a license.
So if we just convince the
that the system is activated by fooling it, it will generate a valid
ticket, which can be used to get the valid HWID (Digital license). The
script here does exactly that to get the activation for free without any
Now a question, can Microsoft differentiate counterfeit tickets and block the license?
|Windows 10/11||Generic Retail/OEM/MAK Key|
|Enterprise LTSB 2015||
|Enterprise LTSB 2016||
|Enterprise LTSC 2019||
|Enterprise N LTSB 2015||
|Enterprise N LTSB 2016||
|Home Single Language||
|IoT Enterprise LTSC 2021||
|Pro Education N||
|Pro for Workstations||
|Pro N for Workstations||
X86-X64 and ARM64 architecture systems are supported.
Any Evaluation version of Windows (i.e. ‘EVAL’ LTSB/C) cannot be activated.
IoTEnterpriseS (LTSC) 2021 key will be used to activate the unsupported EnterpriseS (LTSC) 2021 edition.
Windows Server does not support HWID activation.
ServerRdsh edition does not officially support activation on non-azure systems.
Downlevel = downlevelGTkey
Lockbox = clientLockboxKey
Downlevel Method: It creates a downlevelGTkey ticket for activation with the simplest process.
LockBox Method: It creates a clientLockboxKey ticket which better mimics genuine activation, But requires more steps such as,
Cleaning ClipSVC licenses
Deleting a volatile and protected registry key by taking
System may need a restart for successful activation
Microsoft Account and Store Apps may need relogin-restart in the system
We don’t suggest running the Lockbox method on a production system. Hence by default script will choose the Downlevel method and won’t show you the option to select the Lockbox method. However, if you want, you can apply it through command line switches.
Microsoft accepts both types of tickets and that’s unlikely to change.
This is applicable only in separate files versions.
If any parameter is used then the script will automatically run in unattended mode.
To activate with the Downlevel method (default),
"HWID_Activation.cmd" /a /k
"HWID_Activation.cmd" /g /k
Besides the plain batch script, HWID activation requires the use of the official gatherosstate.exe (x86) file.
File: gatherosstate.exe SHA-1: FABB5A0FC1E6A372219711152291339AF36ED0B5
It’s taken from Windows 10 Version 1607 ADK (Section: User State Migration Tool)
You need the
gatherosstate.exe file, get it from MAS
separate files version.
Make a folder named
Files in C drive,
C:\Files and copy the
in that folder.
Make sure the Internet is enabled.
Open Windows Powershell as administrator, and enter the following listed commands in the sequence in which they are given.
Enter the Key, (Replace
<key> with the key
from the above list) with the following command
slmgr /ipk <key>
$bytes = [System.IO.File]::ReadAllBytes("C:\Files\gatherosstate.exe") $bytes = 0x9c $bytes = 0xfb $bytes = 0x05 $bytes = 0x25 $bytes = 0x73 $bytes = 0x3b $bytes = 0x00 $bytes = 0x00 $bytes = 0x00 $bytes = 0x00 $bytes = 0xe9 $bytes = 0x9e $bytes = 0x00 $bytes = 0x00 $bytes = 0x00 $bytes = 0x8b $bytes = 0x44 $bytes = 0x64 $bytes = 0x85 $bytes = 0xc0 $bytes = 0x0f $bytes = 0x85 $bytes = 0x1c $bytes = 0x02 $bytes = 0x00 $bytes = 0xe9 $bytes = 0x3c $bytes = 0x01 $bytes = 0x00 $bytes = 0x00 $bytes = 0x85 $bytes = 0xdb $bytes = 0x75 $bytes = 0xeb $bytes = 0xe9 $bytes = 0x69 $bytes = 0xff $bytes = 0xff $bytes = 0xff $bytes = 0xe9 $bytes = 0x80 $bytes = 0x00 $bytes = 0x00 $bytes = 0x00 $bytes = 0x64 $bytes = 0x8d $bytes = 0x54 $bytes = 0x24 $bytes = 0xe9 $bytes = 0x55 $bytes = 0x01 $bytes = 0x00 $bytes = 0x00 $bytes = 0x59 $bytes = 0xeb $bytes = 0x28 $bytes = 0xe9 $bytes = 0x4f $bytes = 0x00 $bytes = 0x00 $bytes = 0x00 $bytes = 0x24 $bytes = 0xeb $bytes = 0x63 [System.IO.File]::WriteAllBytes("C:\Files\gatherosstatemodified.exe", $bytes)
$value = (Get-ItemProperty HKLM:\SYSTEM\CurrentControlSet\Control\ProductOptions).OSProductPfn C:\Files\gatherosstatemodified.exe Pfn=$value`;DownlevelGenuineState=1
C:\Files\now let’s apply it.
clipup -v -o -altto C:\Files\
Check the Extract OEM option in the MAS
section if you want pre-activated Windows installation.
Further, read here.