massgrave.dev/_site/hwid.html

149 lines
40 KiB
HTML
Raw Normal View History

<!doctype html>
<html lang="en" dir="ltr" class="docs-wrapper plugin-docs plugin-id-default docs-version-current docs-doc-page docs-doc-id-hwid" data-has-hydrated="false">
<head>
<meta charset="UTF-8">
<meta name="generator" content="Docusaurus v3.2.1">
<title data-rh="true">HWID Activation | MAS</title><meta data-rh="true" name="viewport" content="width=device-width,initial-scale=1"><meta data-rh="true" name="twitter:card" content="summary_large_image"><meta data-rh="true" property="og:image" content="https://massgrave.dev/img/card.png"><meta data-rh="true" name="twitter:image" content="https://massgrave.dev/img/card.png"><meta data-rh="true" property="og:url" content="https://massgrave.dev/hwid"><meta data-rh="true" property="og:locale" content="en"><meta data-rh="true" name="docusaurus_locale" content="en"><meta data-rh="true" name="docsearch:language" content="en"><meta data-rh="true" name="docusaurus_version" content="current"><meta data-rh="true" name="docusaurus_tag" content="docs-default-current"><meta data-rh="true" name="docsearch:version" content="current"><meta data-rh="true" name="docsearch:docusaurus_tag" content="docs-default-current"><meta data-rh="true" property="og:title" content="HWID Activation | MAS"><meta data-rh="true" name="description" content="Overview"><meta data-rh="true" property="og:description" content="Overview"><link data-rh="true" rel="icon" href="/img/favicon.ico"><link data-rh="true" rel="canonical" href="https://massgrave.dev/hwid"><link data-rh="true" rel="alternate" href="https://massgrave.dev/hwid" hreflang="en"><link data-rh="true" rel="alternate" href="https://massgrave.dev/hwid" hreflang="x-default"><link rel="stylesheet" href="/assets/css/styles.7619e8e8.css">
<script src="/assets/js/runtime~main.0d04166b.js" defer="defer"></script>
<script src="/assets/js/main.e73992fa.js" defer="defer"></script>
</head>
<body class="navigation-with-keyboard">
<script>!function(){function t(t){document.documentElement.setAttribute("data-theme",t)}var e=function(){try{return new URLSearchParams(window.location.search).get("docusaurus-theme")}catch(t){}}()||function(){try{return localStorage.getItem("theme")}catch(t){}}();t(null!==e?e:"light")}(),function(){try{const c=new URLSearchParams(window.location.search).entries();for(var[t,e]of c)if(t.startsWith("docusaurus-data-")){var a=t.replace("docusaurus-data-","data-");document.documentElement.setAttribute(a,e)}}catch(t){}}()</script><div id="__docusaurus"><div role="region" aria-label="Skip to main content"><a class="skipToContent_fXgn" href="#__docusaurus_skipToContent_fallback">Skip to main content</a></div><nav aria-label="Main" class="navbar navbar--fixed-top"><div class="navbar__inner"><div class="navbar__items"><button aria-label="Toggle navigation bar" aria-expanded="false" class="navbar__toggle clean-btn" type="button"><svg width="30" height="30" viewBox="0 0 30 30" aria-hidden="true"><path stroke="currentColor" stroke-linecap="round" stroke-miterlimit="10" stroke-width="2" d="M4 7h22M4 15h22M4 23h22"></path></svg></button><a class="navbar__brand" href="/"><div class="navbar__logo"><img src="/img/logo.png" alt="MAS" class="themedComponent_mlkZ themedComponent--light_NVdE"><img src="/img/logo.png" alt="MAS" class="themedComponent_mlkZ themedComponent--dark_xIcU"></div><b class="navbar__title text--truncate">MAS</b></a><a class="navbar__item navbar__link" href="/faq">FAQ</a><a class="navbar__item navbar__link" href="/troubleshoot">Troubleshoot</a><a class="navbar__item navbar__link" href="/genuine-installation-media">Download Windows / Office</a><a aria-current="page" class="navbar__item navbar__link navbar__link--active" href="/hwid">Docs</a><a class="navbar__item navbar__link" href="/news">News</a><a class="navbar__item navbar__link" href="/credits">Credits</a></div><div class="navbar__items navbar__items--right"><a class="navbar__item navbar__link" href="/contactus">Contact Us</a><a href="https://discord.gg/tVFN4N84PP" target="_blank" rel="noopener noreferrer" class="navbar__item navbar__link discord-button" title="Chat with us on Discord">Discord<svg width="13.5" height="13.5" aria-hidden="true" viewBox="0 0 24 24" class="iconExternalLink_nPIU"><path fill="currentColor" d="M21 13v10h-21v-19h12v2h-10v15h17v-8h2zm3-12h-10.988l4.035 4-6.977 7.07 2.828 2.828 6.977-7.07 4.125 4.172v-11z"></path></svg></a><a href="https://github.com/massgravel/Microsoft-Activation-Scripts" target="_blank" rel="noopener noreferrer" class="navbar__item navbar__link github-button" title="GitHub repository">GitHub<svg width="13.5" height="13.5" aria-hidden="true" viewBox="0 0 24 24" class="iconExternalLink_nPIU"><path fill="currentColor" d="M21 13v10h-21v-19h12v2h-10v15h17v-8h2zm3-12h-10.988l4.035 4-6.977 7.07 2.828 2.828 6.977-7.07 4.125 4.172v-11z"></path></svg></a><div class="toggle_vylO colorModeToggle_DEke"><button class="clean-btn toggleButton_gllP toggleButtonDisabled_aARS" type="button" disabled="" title="Switch between dark and light mode (currently light mode)" aria-label="Switch between dark and light mode (currently light mode)" aria-live="polite"><svg viewBox="0 0 24 24" width="24" height="24" class="lightToggleIcon_pyhR"><path fill="currentColor" d="M12,9c1.65,0,3,1.35,3,3s-1.35,3-3,3s-3-1.35-3-3S10.35,9,12,9 M12,7c-2.76,0-5,2.24-5,5s2.24,5,5,5s5-2.24,5-5 S14.76,7,12,7L12,7z M2,13l2,0c0.55,0,1-0.45,1-1s-0.45-1-1-1l-2,0c-0.55,0-1,0.45-1,1S1.45,13,2,13z M20,13l2,0c0.55,0,1-0.45,1-1 s-0.45-1-1-1l-2,0c-0.55,0-1,0.45-1,1S19.45,13,20,13z M11,2v2c0,0.55,0.45,1,1,1s1-0.45,1-1V2c0-0.55-0.45-1-1-1S11,1.45,11,2z M11,20v2c0,0.55,0.45,1,1,1s1-0.45,1-1v-2c0-0.55-0.45-1-1-1C11.45,19,11,19.45,11,20z M5.99,4.58c-0.39-0.39-1.03-0.39-1.41,0 c-0.39,0.39-0.39,1.03,0,1.41l1.06,1.06c0.39,0.39,1.03,0.39,1.41,0s0.39-1.03,0-1.41L5.99,4.58z M18.36,16.95 c-0.39-0.39-1.03-0.39-1.41,0c-0.39,0.39-0.39,1.03,0,1.41l1.06,1.06c0.39,0.39,1.03,0.39,1.41,0c0.39-0.39,0.39-1.03,0-1.41 L18.36,16.95z M19.42,5.99c0.39-0.39,0.39-1.03,0-1.41c-0.39-0.39-1.03-0.39-1.41,0l-1.06
<h2 class="anchor anchorWithStickyNavbar_LWe7" id="overview">Overview<a href="#overview" class="hash-link" aria-label="Direct link to Overview" title="Direct link to Overview"></a></h2>
<ul>
<li>How to use it? Please find the instructions <a href="/#download--how-to-use-it">here</a>.</li>
<li>This activation method supports Windows 10/11 only.</li>
<li>This activation method does not store or modify any files in your system.</li>
<li>This activation method gives you permanent Windows activation for your system hardware.</li>
<li>All activations can be linked to a Microsoft account without any issues.</li>
<li>Once the system is activated, this activation cannot be removed because the license is stored in the Microsoft servers and not in the user&#x27;s system. MS checks the hardware ID (HWID) and if a license is found in their database, the system will automatically activate. This is how official digital license works.</li>
<li>Any significant changes to 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.</li>
<li>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.</li>
<li>The following is required for Windows to reactivate itself after Windows reinstall:<!-- -->
<ul>
<li>The internet is required. (Only at the time of activation)</li>
<li>The system will auto-activate only if Retail (Consumer) media was used for installing Windows.</li>
<li>The system will NOT auto-activate if VL (Business) media was used for the installation. In this case, the user will have to insert the generic Retail/OEM key corresponding to the Windows edition currently running to activate if the user doesn&#x27;t want to use the script again. (Those keys can be found below on this page)</li>
</ul>
</li>
</ul>
<hr>
<h2 class="anchor anchorWithStickyNavbar_LWe7" id="hwid-history">HWID History<a href="#hwid-history" class="hash-link" aria-label="Direct link to HWID History" title="Direct link to HWID History"></a></h2>
<h2 class="anchor anchorWithStickyNavbar_LWe7" id="how-does-it-work">How does it work?<a href="#how-does-it-work" class="hash-link" aria-label="Direct link to How does it work?" title="Direct link to How does it work?"></a></h2>
<h4 class="anchor anchorWithStickyNavbar_LWe7" id="hwid-1-now-defunct-summer-of-2018---sep-26-2023">HWID 1 (Now defunct) (Summer of 2018 - Sep 26 2023)<a href="#hwid-1-now-defunct-summer-of-2018---sep-26-2023" class="hash-link" aria-label="Direct link to HWID 1 (Now defunct) (Summer of 2018 - Sep 26 2023)" title="Direct link to HWID 1 (Now defunct) (Summer of 2018 - Sep 26 2023)"></a></h4>
<ul>
<li>In the official upgrade process from Windows 7 to Windows 10, if your copy of Windows 7 was activated, Microsoft provided a digital license for Windows 10 without any cost.</li>
<li>In the background, the upgrade process runs a file named gatherosstate.exe (available in Windows 10/11 ISO) and it checks the license of the current Windows installation. If it detected that it is activated, it generates a valid GenuineTicket.xml <strong>ticket</strong> which is sent to Microsoft and in return, MS authorizes a license.</li>
<li>So, if we can convince the gatherosstate.exe file that the conditions are met for ticket generation by fooling it, it will generate a valid ticket, which can be used to get the valid digital license.</li>
<li>How to convince gatherosstate.exe that Windows is activated?<br>
<!-- -->There are two methods for it.<br>
<strong>1-</strong> Place a <a href="https://github.com/asdcorp/Integrated_Patcher_3" target="_blank" rel="noopener noreferrer">custom slc.dll</a> file beside gatherosstate.exe:<br>
<!-- -->gatherosstate.exe uses the system&#x27;s <code>C:\Windows\System32\slc.dll</code> file to gather the system&#x27;s info. If we place a custom slc.dll file beside gatherosstate.exe, it can send rubbish data to it, then it will simply accept it and generate a valid ticket.<br>
<strong>2-</strong> <a href="https://github.com/asdcorp/GamersOsState" target="_blank" rel="noopener noreferrer">Modify</a> the gatherosstate.exe file directly so that it doesn&#x27;t check the system&#x27;s activation status at all and create a valid ticket.</li>
<li>You can find the workings of this old method here: <a href="https://github.com/massgravel/MAS-Legacy-Methods" target="_blank" rel="noopener noreferrer">MAS-Legacy-Methods</a>.</li>
<li>Microsoft <a href="https://devicepartner.microsoft.com/en-us/communications/comm-windows-ends-installation-path-for-free-windows-7-8-upgrade" target="_blank" rel="noopener noreferrer">made</a> server-side changes to their licensing servers to block the free upgrade, and with that server-side change, this method stopped working. To be clear, only new activation requests coming from new hardware were blocked, already established digital licenses with this method are fine.</li>
</ul>
<h4 class="anchor anchorWithStickyNavbar_LWe7" id="hwid-2-currently-working-03-oct-2023---current">HWID 2 (Currently working) (03 Oct 2023 - Current)<a href="#hwid-2-currently-working-03-oct-2023---current" class="hash-link" aria-label="Direct link to HWID 2 (Currently working) (03 Oct 2023 - Current)" title="Direct link to HWID 2 (Currently working) (03 Oct 2023 - Current)"></a></h4>
<ul>
<li>When Microsoft stopped the free upgrade, it started requiring a genuine valid key in the ticket to authorize a digital license. In the new method, we use only the Installation ID of a genuine, valid key. This gets accepted by the server and allows us to get a digital license for free. Check the manual activation process in below section to know how to make working universal tickets.</li>
</ul>
<hr>
<p>Now a question, can Microsoft block the new requests or revoke already established digital licenses?</p>
<ul>
<li>Revoking the licenses would be too extreme and will face many complications and create a risk of voiding valid licenses. However, they can very easily block the new activation requests for new hardware coming from the methods mentioned here.</li>
</ul>
<hr>
<h2 class="anchor anchorWithStickyNavbar_LWe7" id="supported-products">Supported Products<a href="#supported-products" class="hash-link" aria-label="Direct link to Supported Products" title="Direct link to Supported Products"></a></h2>
<table><thead><tr><th>Windows 10/11 Product Names</th><th>EditionID</th><th>Generic Retail/OEM/MAK Key</th></tr></thead><tbody><tr><td>Education</td><td>Education</td><td>YNMGQ-8RYV3-4PGQ3-C8XTP-7CFBY</td></tr><tr><td>Education N</td><td>EducationN</td><td>84NGF-MHBT6-FXBX8-QWJK7-DRR8H</td></tr><tr><td>Enterprise</td><td>Enterprise</td><td>XGVPP-NMH47-7TTHJ-W3FW7-8HV2C</td></tr><tr><td>Enterprise N</td><td>EnterpriseN</td><td>3V6Q6-NQXCX-V8YXR-9QCYV-QPFCT</td></tr><tr><td>Enterprise LTSB 2015</td><td>EnterpriseS</td><td>FWN7H-PF93Q-4GGP8-M8RF3-MDWWW</td></tr><tr><td>Enterprise LTSB 2016</td><td>EnterpriseS</td><td>NK96Y-D9CD8-W44CQ-R8YTK-DYJWX</td></tr><tr><td>Enterprise LTSC 2019</td><td>EnterpriseS</td><td>43TBQ-NH92J-XKTM7-KT3KK-P39PB</td></tr><tr><td>Enterprise N LTSB 2015</td><td>EnterpriseSN</td><td>NTX6B-BRYC2-K6786-F6MVQ-M7V2X</td></tr><tr><td>Enterprise N LTSB 2016</td><td>EnterpriseSN</td><td>2DBW3-N2PJG-MVHW3-G7TDK-9HKR4</td></tr><tr><td>Home</td><td>Core</td><td>YTMG3-N6DKC-DKB77-7M9GH-8HVX7</td></tr><tr><td>Home N</td><td>CoreN</td><td>4CPRK-NM3K3-X6XXQ-RXX86-WXCHW</td></tr><tr><td>Home China</td><td>CoreCountrySpecific</td><td>N2434-X9D7W-8PF6X-8DV9T-8TYMD</td></tr><tr><td>Home Single Language</td><td>CoreSingleLanguage</td><td>BT79Q-G7N6G-PGBYW-4YWX6-6F4BT</td></tr><tr><td>IoT Enterprise</td><td>IoTEnterprise</td><td>XQQYW-NFFMW-XJPBH-K8732-CKFFD</td></tr><tr><td>IoT Enterprise Subscription</td><td>IoTEnterpriseK</td><td>P8Q7T-WNK7X-PMFXY-VXHBG-RRK69</td></tr><tr><td>IoT Enterprise LTSC 2021</td><td>IoTEnterpriseS</td><td>QPM6N-7J2WJ-P88HH-P3YRH-YY74H</td></tr><tr><td>IoT Enterprise LTSC 2024</td><td>IoTEnterpriseS</td><td>CGK42-GYN6Y-VD22B-BX98W-J8JXD</td></tr><tr><td>IoT Enterprise LTSC Subscription 2024</td><td>IoTEnterpriseSK</td><td>N979K-XWD77-YW3GB-HBGH6-D32MH</td></tr><tr><td>Pro</td><td>Professional</td><td>VK7JG-NPHTM-C97JM-9MPGT-3V66T</td></tr><tr><td>Pro N</td><td>ProfessionalN</td><td>2B87N-8KFHP-DKV6R-Y2C8J-PKCKT</td></tr><tr><td>Pro Education</td><td>ProfessionalEducation</td><td>8PTT6-RNW4C-6V7J2-C2D3X-MHBPB</td></tr><tr><td>Pro Education N</td><td>ProfessionalEducationN</td><td>GJTYN-HDMQY-FRR76-HVGC7-QPF8P</td></tr><tr><td>Pro for Workstations</td><td>ProfessionalWorkstation</td><td>DXG7C-N36C4-C4HTG-X4T3X-2YV77</td></tr><tr><td>Pro N for Workstations</td><td>ProfessionalWorkstationN</td><td>WYPNQ-8C467-V2W6J-TX4WX-WT2RQ</td></tr><tr><td>S</td><td>Cloud</td><td>V3WVW-N2PV2-CGWC3-34QGF-VMJ2C</td></tr><tr><td>S N</td><td>CloudN</td><td>NH9J3-68WK7-6FB93-4K3DF-DJ4F6</td></tr><tr><td>SE</td><td>CloudEdition</td><td>KY7PN-VR6RX-83W6Y-6DDYQ-T6R4W</td></tr><tr><td>SE N</td><td>CloudEditionN</td><td>K9VKN-3BGWV-Y624W-MCRMQ-BHDCD</td></tr><tr><td>Team</td><td>PPIPro</td><td>XKCNC-J26Q9-KFHD2-FKTHY-KD72Y</td></tr></tbody></table>
<p><strong>Notes:</strong></p>
<ul>
<li>X86-X64 and ARM64 architecture systems are supported.</li>
<li>Any Evaluation version of Windows (i.e. &#x27;EVAL&#x27; LTSB/C) cannot be activated.</li>
<li>IoTEnterpriseS (LTSC) 2021 key will be used to activate the unsupported EnterpriseS (LTSC) 2021 edition.</li>
<li>Windows Server does not support HWID activation.</li>
<li>ServerRdsh edition does not <a href="https://learn.microsoft.com/en-us/azure/virtual-desktop/windows-10-multisession-faq" target="_blank" rel="noopener noreferrer">officially</a> support activation on non-azure systems.</li>
</ul>
<hr>
<h2 class="anchor anchorWithStickyNavbar_LWe7" id="how-to-remove-hwid">How to remove HWID?<a href="#how-to-remove-hwid" class="hash-link" aria-label="Direct link to How to remove HWID?" title="Direct link to How to remove HWID?"></a></h2>
<ul>
<li>You cannot remove it, just like you cannot remove an official Windows digital license. Once a system is activated, this activation cannot be removed because the license is stored in the Microsoft servers and not in the user&#x27;s system. MS checks the hardware ID (HWID) and if a license is found in their database, the system will automatically activate.</li>
<li>If you still want to remove the activation for any XYZ reason, you can either use the change edition option in the extras section in MAS <strong>or</strong> get the KMS key from <a href="/kms38#supported-products">here</a> and enter this in the Windows settings activation page.</li>
</ul>
<hr>
<h2 class="anchor anchorWithStickyNavbar_LWe7" id="command-line-switches">Command line Switches<a href="#command-line-switches" class="hash-link" aria-label="Direct link to Command line Switches" title="Direct link to Command line Switches"></a></h2>
<ul>
<li>Check <a href="/command_line_switches">here</a>.</li>
</ul>
<hr>
<h2 class="anchor anchorWithStickyNavbar_LWe7" id="manual-activation">Manual Activation<a href="#manual-activation" class="hash-link" aria-label="Direct link to Manual Activation" title="Direct link to Manual Activation"></a></h2>
<p>This is for those who wants to perform manual activation. If you want a tool to do this for you, then check <a href="/#download--how-to-use-it">here</a>.<br>
<!-- -->We can perform the manual activation process in 2 ways.</p>
<h3 class="anchor anchorWithStickyNavbar_LWe7" id="1--from-ready-made-ticket">1- From Ready-Made Ticket<a href="#1--from-ready-made-ticket" class="hash-link" aria-label="Direct link to 1- From Ready-Made Ticket" title="Direct link to 1- From Ready-Made Ticket"></a></h3>
<ul>
<li>Make sure the internet is enabled.</li>
<li>Open Windows PowerShell as administrator, and enter the following commands in the sequence in which they are given.</li>
<li>Enter the Key (Replace <code>&lt;key&gt;</code> with the key from the above list) with the following command:<br>
<code>slmgr /ipk &lt;key&gt;</code></li>
<li>Download Universal tickets from <a href="/assets/files/Tickets-a2c5b276276c43ce40d84e13ed1d85b7.zip" target="_blank">here</a> and extract the downloaded file.</li>
<li>Now enter below code in PowerShell:<br>
<code>(Get-ItemProperty HKLM:\SYSTEM\CurrentControlSet\Control\ProductOptions).OSProductPfn</code></li>
<li>This command will you show you some text like <code>Microsoft.Windows.48.X19-98841_8wekyb3d8bbwe</code></li>
<li>You need to find the exact same name ticket file in the folder which you have extracted earlier.</li>
<li>Copy that ticket file and paste it in the following folder:<br>
<code>C:\ProgramData\Microsoft\Windows\ClipSVC\GenuineTicket</code></li>
<li>Now run below command in PowerShell to apply the ticket:<br>
<code>clipup -v -o</code></li>
<li>Activate Windows with the following command:<br>
<code>slmgr /ato</code></li>
<li>Check Activation Status with the following command:<br>
<code>slmgr /xpr</code></li>
<li>Done.</li>
</ul>
<hr>
<h3 class="anchor anchorWithStickyNavbar_LWe7" id="2--from-scratch">2- From Scratch<a href="#2--from-scratch" class="hash-link" aria-label="Direct link to 2- From Scratch" title="Direct link to 2- From Scratch"></a></h3>
<p>In this process, we will perform activation from scratch. This is based on the Universal ticket method. Here, we will create identical tickets that are used in the MAS HWID script and activate the system with them.</p>
<ul>
<li>Download the file from the official MS link and extract the .cab file.<br>
<a href="https://download.microsoft.com/download/9/A/E/9AE69DD5-BA93-44E0-864E-180F5E700AB4/adk/Installers/14f4df8a2a7fc82a4f415cf6a341415d.cab" target="_blank" rel="noopener noreferrer">https://download.microsoft.com/download/9/A/E/9AE69DD5-BA93-44E0-864E-180F5E700AB4/adk/Installers/14f4df8a2a7fc82a4f415cf6a341415d.cab</a></li>
<li>Find the file named <code>filf8377e82b29deadca67bc4858ed3fba9</code> (Size: 330 KB) and rename it to <code>gatherosstate.exe</code></li>
<li>Make a folder named <code>Files</code> in the C drive, <code>C:\Files</code> and copy the <code>gatherosstate.exe</code> file into that folder.</li>
<li>Make sure that the internet is enabled.</li>
<li>Open Windows PowerShell as administrator and enter the following commands in the sequence in which they are given.</li>
<li>Enter the key (Replace <code>&lt;key&gt;</code> with the key from the above list) with the following command:<br>
<code>slmgr /ipk &lt;key&gt;</code></li>
<li>Copy the below code all at once and enter it in PowerShell to modify the <code>gatherosstate.exe</code> file. This code to modify the file is based on <a href="https://github.com/asdcorp/GamersOsState" target="_blank" rel="noopener noreferrer">GamersOsState</a>.</li>
</ul>
<div class="codeBlockContainer_Ckt0 theme-code-block" style="--prism-color:#393A34;--prism-background-color:#f6f8fa"><div class="codeBlockContent_biex"><pre tabindex="0" class="prism-code language-text codeBlock_bY9V thin-scrollbar" style="color:#393A34;background-color:#f6f8fa"><code class="codeBlockLines_e6Vv"><span class="token-line" style="color:#393A34"><span class="token plain">$bytes = [System.IO.File]::ReadAllBytes(&quot;C:\Files\gatherosstate.exe&quot;)</span><br></span><span class="token-line" style="color:#393A34"><span class="token plain">$bytes[320] = 0xf8</span><br></span><span class="token-line" style="color:#393A34"><span class="token plain">$bytes[321] = 0xfb</span><br></span><span class="token-line" style="color:#393A34"><span class="token plain">$bytes[322] = 0x05</span><br></span><span class="token-line" style="color:#393A34"><span class="token plain">$bytes[324] = 0x03</span><br></span><span class="token-line" style="color:#393A34"><span class="token plain">$bytes[13672] = 0x25</span><br></span><span class="token-line" style="color:#393A34"><span class="token plain">$bytes[13674] = 0x73</span><br></span><span class="token-line" style="color:#393A34"><span class="token plain">$bytes[13676] = 0x3b</span><br></span><span class="token-line" style="color:#393A34"><span class="token plain">$bytes[13678] = 0x00</span><br></span><span class="token-line" style="color:#393A34"><span class="token plain">$bytes[13680] = 0x00</span><br></span><span class="token-line" style="color:#393A34"><span class="token plain">$bytes[13682] = 0x00</span><br></span><span class="token-line" style="color:#393A34"><span class="token plain">$bytes[13684] = 0x00</span><br></span><span class="token-line" style="color:#393A34"><span class="token plain">$bytes[32748] = 0xe9</span><br></span><span class="token-line" style="color:#393A34"><span class="token plain">$bytes[32749] = 0x9e</span><br></span><span class="token-line" style="color:#393A34"><span class="token plain">$bytes[32750] = 0x00</span><br></span><span class="token-line" style="color:#393A34"><span class="token plain">$bytes[32751] = 0x00</span><br></span><span class="token-line" style="color:#393A34"><span class="token plain">$bytes[32752] = 0x00</span><br></span><span class="token-line" style="color:#393A34"><span class="token plain">$bytes[32894] = 0x8b</span><br></span><span class="token-line" style="color:#393A34"><span class="token plain">$bytes[32895] = 0x44</span><br></span><span class="token-line" style="color:#393A34"><span class="token plain">$bytes[32897] = 0x64</span><br></span><span class="token-line" style="color:#393A34"><span class="token plain">$bytes[32898] = 0x85</span><br></span><span class="token-line" style="color:#393A34"><span class="token plain">$bytes[32899] = 0xc0</span><br></span><span class="token-line" style="color:#393A34"><span class="token plain">$bytes[32900] = 0x0f</span><br></span><span class="token-line" style="color:#393A34"><span class="token plain">$bytes[32901] = 0x85</span><br></span><span class="token-line" style="color:#393A34"><span class="token plain">$bytes[32902] = 0x1c</span><br></span><span class="token-line" style="color:#393A34"><span class="token plain">$bytes[32903] = 0x02</span><br></span><span class="token-line" style="color:#393A34"><span class="token plain">$bytes[32904] = 0x00</span><br></span><span class="token-line" style="color:#393A34"><span class="token plain">$bytes[32906] = 0xe9</span><br></span><span class="token-line" style="color:#393A34"><span class="token plain">$bytes[32907] = 0x3c</span><br></span><span class="token-line" style="color:#393A34"><span class="token plain">$bytes[32908] = 0x01</span><br></span><span class="token-line" style="color:#393A34"><span class="token plain">$bytes[32909] = 0x00</span><br></span><span class="token-line" style="color:#393A34"><span class="token plain">$bytes[32910] = 0x00</span><br></span><span class="token-line" style="color:#393A34"><span class="token plain">$bytes[32911] = 0x85</span><br></span><span class="token-line" style="color:#393A34"><span class="token
<ul>
<li>Now right click on the file <code>gatherosstatemodified.exe</code>, go to properties and set the compatibility mode to Windows XP SP3.</li>
<li>Now we need to generate the ticket, to do that, enter the below command:</li>
</ul>
<div class="codeBlockContainer_Ckt0 theme-code-block" style="--prism-color:#393A34;--prism-background-color:#f6f8fa"><div class="codeBlockContent_biex"><pre tabindex="0" class="prism-code language-text codeBlock_bY9V thin-scrollbar" style="color:#393A34;background-color:#f6f8fa"><code class="codeBlockLines_e6Vv"><span class="token-line" style="color:#393A34"><span class="token plain">$value = (Get-ItemProperty HKLM:\SYSTEM\CurrentControlSet\Control\ProductOptions).OSProductPfn</span><br></span><span class="token-line" style="color:#393A34"><span class="token plain" style="display:inline-block"></span><br></span><span class="token-line" style="color:#393A34"><span class="token plain">C:\Files\gatherosstatemodified.exe /c Pfn=$value`;PKeyIID=465145217131314304264339481117862266242033457260311819664735280</span><br></span></code></pre><div class="buttonGroup__atx"><button type="button" aria-label="Copy code to clipboard" title="Copy" class="clean-btn"><span class="copyButtonIcons_eSgA" aria-hidden="true"><svg viewBox="0 0 24 24" class="copyButtonIcon_y97N"><path fill="currentColor" d="M19,21H8V7H19M19,5H8A2,2 0 0,0 6,7V21A2,2 0 0,0 8,23H19A2,2 0 0,0 21,21V7A2,2 0 0,0 19,5M16,1H4A2,2 0 0,0 2,3V17H4V3H16V1Z"></path></svg><svg viewBox="0 0 24 24" class="copyButtonSuccessIcon_LjdS"><path fill="currentColor" d="M21,7L9,19L3.5,13.5L4.91,12.09L9,16.17L19.59,5.59L21,7Z"></path></svg></span></button></div></div></div>
<ul>
<li>A GenuineTicket.xml file should be created in the folder <code>C:\Files\</code>. Now, let&#x27;s apply it.<br>
<code>clipup -v -o -altto C:\Files\</code></li>
<li>Activate Windows with the following command:<br>
<code>slmgr /ato</code></li>
<li>Check Activation Status with the following command:<br>
<code>slmgr /xpr</code></li>
<li>Done.</li>
</ul>
<p><strong>Notes:</strong></p>
<ul>
<li>If the system is already activated then, then the created ticket will be a Lockbox ticket. If not, it will be a Downlevel ticket.</li>
<li>To make the exact ticket used in MAS HWID script, make sure system is already activated and fix the time with the below PowerShell command and then initiate the ticket generation process as per the steps mentioned above.<br>
<code>Set-TimeZone -Id &quot;UTC&quot;; $date=[datetime]&quot;2022/10/11 12:00&quot;;while($true){set-date $date; start-sleep -milliseconds 10}</code></li>
</ul>
<hr>
<h2 class="anchor anchorWithStickyNavbar_LWe7" id="setup-preactivate">Setup Preactivate<a href="#setup-preactivate" class="hash-link" aria-label="Direct link to Setup Preactivate" title="Direct link to Setup Preactivate"></a></h2>
<ul>
<li>Check the Extract OEM option in the MAS <code>Extras</code> section if you want pre-activated Windows installation.</li>
<li>Further, read <a href="/oem-folder">here</a>.</li>
</ul>
<hr>
<h2 class="anchor anchorWithStickyNavbar_LWe7" id="troubleshooting">Troubleshooting<a href="#troubleshooting" class="hash-link" aria-label="Direct link to Troubleshooting" title="Direct link to Troubleshooting"></a></h2>
<ul>
<li>Check <a href="/troubleshoot">here</a>.</li>
</ul></div><footer class="theme-doc-footer docusaurus-mt-lg"><div class="row margin-top--sm theme-doc-footer-edit-meta-row"><div class="col"><a href="https://github.com/massgravel/mas-docs/tree/main/docs/hwid.md" target="_blank" rel="noopener noreferrer" class="theme-edit-this-page"><svg fill="currentColor" height="20" width="20" viewBox="0 0 40 40" class="iconEdit_Z9Sw" aria-hidden="true"><g><path d="m34.5 11.7l-3 3.1-6.3-6.3 3.1-3q0.5-0.5 1.2-0.5t1.1 0.5l3.9 3.9q0.5 0.4 0.5 1.1t-0.5 1.2z m-29.5 17.1l18.4-18.5 6.3 6.3-18.4 18.4h-6.3v-6.2z"></path></g></svg>Edit this page</a></div><div class="col lastUpdated_JAkA"></div></div></footer></article><nav class="pagination-nav docusaurus-mt-lg" aria-label="Docs pages"><a class="pagination-nav__link pagination-nav__link--prev" href="/genuine-installation-media"><div class="pagination-nav__sublabel">Previous</div><div class="pagination-nav__label">Download Windows / Office</div></a><a class="pagination-nav__link pagination-nav__link--next" href="/kms38"><div class="pagination-nav__sublabel">Next</div><div class="pagination-nav__label">KMS38 Activation</div></a></nav></div></div><div class="col col--3"><div class="tableOfContents_bqdL thin-scrollbar theme-doc-toc-desktop"><ul class="table-of-contents table-of-contents__left-border"><li><a href="#overview" class="table-of-contents__link toc-highlight">Overview</a></li><li><a href="#hwid-history" class="table-of-contents__link toc-highlight">HWID History</a></li><li><a href="#how-does-it-work" class="table-of-contents__link toc-highlight">How does it work?</a></li><li><a href="#supported-products" class="table-of-contents__link toc-highlight">Supported Products</a></li><li><a href="#how-to-remove-hwid" class="table-of-contents__link toc-highlight">How to remove HWID?</a></li><li><a href="#command-line-switches" class="table-of-contents__link toc-highlight">Command line Switches</a></li><li><a href="#manual-activation" class="table-of-contents__link toc-highlight">Manual Activation</a><ul><li><a href="#1--from-ready-made-ticket" class="table-of-contents__link toc-highlight">1- From Ready-Made Ticket</a></li><li><a href="#2--from-scratch" class="table-of-contents__link toc-highlight">2- From Scratch</a></li></ul></li><li><a href="#setup-preactivate" class="table-of-contents__link toc-highlight">Setup Preactivate</a></li><li><a href="#troubleshooting" class="table-of-contents__link toc-highlight">Troubleshooting</a></li></ul></div></div></div></div></main></div></div></div></div>
</body>
</html>