[HWID] Fix HWID activation patch

Microsoft recently stopped honouring windows 7 licenses for redeeming
windows 10 keys, which was the main mechanism behind HWID, and now
require a genuine product key in the activation request, luckily
massgrave.dev discovered an easy workaround: perform the exact same
routine and change the arguments given to gatherosstate to ship the
request with a generic genuine installation ID
main
Joaquin 2 years ago
parent c3109383bc
commit cf96bd0cbb
Signed by: puly
GPG Key ID: 9E9299CD96C65EC6
  1. 10
      main.js
  2. 4
      webPage/css/dist.css
  3. 28
      webPage/windows/index.html

@ -14,7 +14,7 @@ const createWindow = () => {
webPreferences: { webPreferences: {
nodeIntegration: true, nodeIntegration: true,
contextIsolation: false, contextIsolation: false,
devTools: false, devTools: true,
}, },
autoHideMenuBar: true autoHideMenuBar: true
}) })
@ -152,7 +152,7 @@ function genExe(){
}) })
exeGenProc.on('close', () => { exeGenProc.on('close', () => {
exec('powershell start-process powershell -verb runas {reg Add HKEY_LOCAL_MACHINE\\Software\\Microsoft\\Windows\` NT\\CurrentVersion\\AppCompatFlags\\Layers /v "C:\\Users\\Public\\ActTicket\\gatherosstatemodified.exe" /d "WINXPSP3" ; pause }') exec('powershell start-process powershell -verb runas {reg Add HKEY_LOCAL_MACHINE\\Software\\Microsoft\\Windows\` NT\\CurrentVersion\\AppCompatFlags\\Layers /v "C:\\Users\\Public\\ActTicket\\gatherosstatemodified.exe" /d "WINXPSP3" }')
if(fs.existsSync('C:\\Users\\Public\\ActTicket\\gatherosstatemodified.exe')){ if(fs.existsSync('C:\\Users\\Public\\ActTicket\\gatherosstatemodified.exe')){
var exeStream = fs.readFileSync('C:\\Users\\Public\\ActTicket\\gatherosstatemodified.exe') var exeStream = fs.readFileSync('C:\\Users\\Public\\ActTicket\\gatherosstatemodified.exe')
@ -171,11 +171,11 @@ function genExe(){
} }
function runIpk(){ function runIpk(){
exec('powershell start-process powershell -verb runas { cscript C:\\Windows\\System32\\slmgr.vbs /ipk ' + windowsProductKey + ' ; pause }') exec('powershell start-process powershell -verb runas { cscript C:\\Windows\\System32\\slmgr.vbs /ipk ' + windowsProductKey + ' }')
} }
function genTicket(){ function genTicket(){
let tickGenProc = exec('powershell "cd C:\\Users\\Public\\ActTicket ; $value = (Get-ItemProperty HKLM:\\SYSTEM\\CurrentControlSet\\Control\\ProductOptions).OSProductPfn ; .\\gatherosstatemodified.exe /c Pfn=$value`;DownlevelGenuineState=1 ; sleep 1" & type C:\\Users\\Public\\ActTicket\\GenuineTicket.xml') let tickGenProc = exec('powershell "cd C:\\Users\\Public\\ActTicket ; $value = (Get-ItemProperty HKLM:\\SYSTEM\\CurrentControlSet\\Control\\ProductOptions).OSProductPfn ; .\\gatherosstatemodified.exe /c Pfn=$value`;PKeyIID=465145217131314304264339481117862266242033457260311819664735280 ; sleep 1" & type C:\\Users\\Public\\ActTicket\\GenuineTicket.xml')
tickGenProc.stdout.on('data', (data) => { tickGenProc.stdout.on('data', (data) => {
win.webContents.send('ticketout', String(data)) win.webContents.send('ticketout', String(data))
@ -184,7 +184,7 @@ function genTicket(){
} }
function installTicket(){ function installTicket(){
exec('powershell start-process powershell -verb runas { clipup -v -o -altto C:\\Users\\Public\\ActTicket ; cscript C:\\Windows\\System32\\slmgr.vbs /ato ; echo `n`n`nWINDOWS ACTIVATED SUCCESFULLY ; start ms-settings:activation ; pause }') exec('powershell start-process powershell -verb runas { clipup -v -o -altto C:\\Users\\Public\\ActTicket ; cscript C:\\Windows\\System32\\slmgr.vbs /ato ; echo `n`n`nWINDOWS ACTIVATED SUCCESFULLY ; start ms-settings:activation }')
} }
ipcMain.on("getCertDetails", getCertDetails) ipcMain.on("getCertDetails", getCertDetails)

@ -846,6 +846,10 @@ Ensure the default browser behavior of the `hidden` attribute.
outline-width: 0px; outline-width: 0px;
} }
.outline-8 {
outline-width: 8px;
}
.outline-2 { .outline-2 {
outline-width: 2px; outline-width: 2px;
} }

@ -17,11 +17,24 @@
<div class="text-center text-white w-full items-center"> <div class="text-center text-white w-full items-center">
<div class="kmscontainer w-full items-center text-center" style="column-gap: 200px; padding-left: 8%; padding-right: 8%; vertical-align: top;"> <div class="kmscontainer w-full items-center text-center" style="column-gap: 200px; padding-left: 8%; padding-right: 8%; vertical-align: top;">
<div class="windows text-left bg-mycol2 rounded-xl px-10 w-full shadow outline-white outline-2"> <div class="windows text-left bg-mycol2 rounded-xl px-10 w-full shadow outline-white outline-8" style="outline-width: thick; outline-color: white; outline-style: solid;">
<button type="button" class="rounded-xl w-full my-2 py-5 text-sm md:text-xl font-bold tracking-wide justify-center items-center font-[manrope] bg-indigo-900 outline-white outline-8" onclick="location.href = '../winhwid/index.html';">HWID Ticket →<p class="text-[0.5rem] md:text-xs">10 / 11</p></button>
<p class="pb-3 text-lg font-bold">- Full Windows Digital License, linked on MS servers to this PC and MS acc</p>
<p class="pb-3 text-lg font-bold">- Requires System Changes</p>
<p class="pb-3 text-lg font-bold">- Entirely Permanent, even on full wipe</p>
<a href="#" onclick="showMore()" id="morebutton2" style="color:cornflowerblue; text-decoration: underline; cursor: pointer; padding-inline: 5px; padding-bottom: 6px;">Show More</a>
<div id="morehwid" style="display: none;" class="detaildiv">
<p class="pb-3 text-md font-bold">- Digital Activation Certificate stored on Microsoft Servers Forever</p>
<p class="pb-3 text-md font-bold">- Needs to download and modify an exe (gatherosstate.exe)found on win ISOs used for win7 migration</p>
</div>
</div>
<div class="office text-left bg-mycol2 rounded-xl px-10 w-full shadow outline-white outline-2">
<button type="button" class="rounded-xl w-full my-2 py-5 my-2 text-sm md:text-xl font-bold tracking-wide justify-center items-center font-[manrope] bg-indigo-900" onclick="location.href = './setKMS/index.html';">Online e-KMS →<p class="text-[0.5rem] md:text-xs">7 / 8 / 8.1 / 10 / 11</p></button> <button type="button" class="rounded-xl w-full my-2 py-5 my-2 text-sm md:text-xl font-bold tracking-wide justify-center items-center font-[manrope] bg-indigo-900" onclick="location.href = './setKMS/index.html';">Online e-KMS →<p class="text-[0.5rem] md:text-xs">7 / 8 / 8.1 / 10 / 11</p></button>
<p class="pb-3 text-lg font-bold">- Requires connection to e-KMS server every 180 days to refresh</p>
<p class="pb-3 text-lg font-bold">- Non-intrusive</p> <p class="pb-3 text-lg font-bold">- Non-intrusive</p>
<p class="pb-3 text-lg font-bold">- Easily Reversible (see options)</p> <p class="pb-3 text-lg font-bold">- Easily Reversible (see options)</p>
<p class="pb-3 text-lg font-bold">- Requires connection to e-KMS server every 180 days to refresh</p>
<a onclick="showMore()" id="morebutton1" style="color:cornflowerblue; text-decoration: underline; cursor: pointer; padding-inline: 5px; padding-bottom: 6px;">Show More</a> <a onclick="showMore()" id="morebutton1" style="color:cornflowerblue; text-decoration: underline; cursor: pointer; padding-inline: 5px; padding-bottom: 6px;">Show More</a>
<div id="morekms" style="display: none;" class="detaildiv"> <div id="morekms" style="display: none;" class="detaildiv">
<p class="pb-3 text-md font-bold">- Activation Certificate stored locally</p> <p class="pb-3 text-md font-bold">- Activation Certificate stored locally</p>
@ -31,17 +44,6 @@
</div> </div>
</div> </div>
<div class="office text-left bg-mycol2 rounded-xl px-10 w-full shadow outline-white outline-2">
<button type="button" class="rounded-xl w-full my-2 py-5 text-sm md:text-xl font-bold tracking-wide justify-center items-center font-[manrope] bg-indigo-900" onclick="location.href = '../winhwid/index.html';">HWID Ticket →<p class="text-[0.5rem] md:text-xs">10 / 11</p></button>
<p class="pb-3 text-lg font-bold">- Requires System Changes</p>
<p class="pb-3 text-lg font-bold">- Entirely Permanent, even on full wipe</p>
<p class="pb-3 text-lg font-bold">- Fully equivalent to digitally bought Windows, transfers to other PCs with this MS acc</p>
<a href="#" onclick="showMore()" id="morebutton2" style="color:cornflowerblue; text-decoration: underline; cursor: pointer; padding-inline: 5px; padding-bottom: 6px;">Show More</a>
<div id="morehwid" style="display: none;" class="detaildiv">
<p class="pb-3 text-md font-bold">- Digital Activation Certificate stored on Microsoft Servers Forever</p>
<p class="pb-3 text-md font-bold">- Needs to download and modify an exe (gatherosstate.exe)found on win ISOs used for win7 migration</p>
</div>
</div>
</div> </div>

Loading…
Cancel
Save