<script>!function(){functiont(t){document.documentElement.setAttribute("data-theme",t)}vare=function(){try{returnnewURLSearchParams(window.location.search).get("docusaurus-theme")}catch(t){}}()||function(){try{returnlocalStorage.getItem("theme")}catch(t){}}();t(null!==e?e:"light")}(),function(){try{constc=newURLSearchParams(window.location.search).entries();for(var[t,e]ofc)if(t.startsWith("docusaurus-data-")){vara=t.replace("docusaurus-data-","data-");document.documentElement.setAttribute(a,e)}}catch(t){}}()</script><divid="__docusaurus"><divrole="region"aria-label="Skip to main content"><aclass="skipToContent_fXgn"href="#__docusaurus_skipToContent_fallback">Skip to main content</a></div><navaria-label="Main"class="navbar navbar--fixed-top"><divclass="navbar__inner"><divclass="navbar__items"><buttonaria-label="Toggle navigation bar"aria-expanded="false"class="navbar__toggle clean-btn"type="button"><svgwidth="30"height="30"viewBox="0 0 30 30"aria-hidden="true"><pathstroke="currentColor"stroke-linecap="round"stroke-miterlimit="10"stroke-width="2"d="M4 7h22M4 15h22M4 23h22"></path></svg></button><aclass="navbar__brand"href="/"><divclass="navbar__logo"><imgsrc="/img/logo.png"alt="MAS"class="themedComponent_mlkZ themedComponent--light_NVdE"><imgsrc="/img/logo.png"alt="MAS"class="themedComponent_mlkZ themedComponent--dark_xIcU"></div><bclass="navbar__title text--truncate">MAS</b></a><aclass="navbar__item navbar__link"href="/faq">FAQ</a><aclass="navbar__item navbar__link"href="/troubleshoot">Troubleshoot</a><aclass="navbar__item navbar__link"href="/genuine-installation-media">Download Windows / Office</a><aclass="navbar__item navbar__link"href="/hwid">Docs</a><aclass="navbar__item navbar__link"href="/news">News</a><aclass="navbar__item navbar__link"href="/credits">Credits</a></div><divclass="navbar__items navbar__items--right"><aclass="navbar__item navbar__link"href="/contactus">Contact Us</a><ahref="https://discord.gg/tVFN4N84PP"target="_blank"rel="noopener noreferrer"class="navbar__item navbar__link discord-button"title="Chat with us on Discord">Discord<svgwidth="13.5"height="13.5"aria-hidden="true"viewBox="0 0 24 24"class="iconExternalLink_nPIU"><pathfill="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><ahref="https://github.com/massgravel/Microsoft-Activation-Scripts"target="_blank"rel="noopener noreferrer"class="navbar__item navbar__link github-button"title="GitHub repository">GitHub<svgwidth="13.5"height="13.5"aria-hidden="true"viewBox="0 0 24 24"class="iconExternalLink_nPIU"><pathfill="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><divclass="toggle_vylO colorModeToggle_DEke"><buttonclass="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"><svgviewBox="0 0 24 24"width="24"height="24"class="lightToggleIcon_pyhR"><pathfill="currentColor"d="M12,9c1.65,0,3,1.35,3,3s-1.35,3-3,3s-3-1.35-3-3S10.35,9,12,9M12,7c-2.76,0-5,2.24-5,5s2.24,5,5,5s5-2.24,5-5S14.76,7,12,7L12,7zM2,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,13zM20,13l2,0c0.55,0,1-0.45,1-1s-0.45-1-1-1l-2,0c-0.55,0-1,0.45-1,1S19.45,13,20,13zM11,2v2c0,0.55,0.45,1,1,1s1-0.45,1-1V2c0-0.55-0.45-1-1-1S11,1.45,11,2zM11,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,20zM5.99,4.58c-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,0s0.39-1.03,0-1.41L5.99,4.58zM18.36,16.95c-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.41L18.36,16.95zM19.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,1.06c-0.39,0.39-0.39,1.03,0,1.41s1.03,0
<p>(Windows Pre-Activation)</p>
<ul>
<li>To create a pre-activated Windows installation .iso, do the following:</li>
<li>Extract the <code>$OEM$</code> folder to the desktop using the MAS script.</li>
<li>Copy the <code>$OEM$</code> folder to the <code>sources</code> folder in the Windows installation media (.iso or USB).</li>
<li>The directory will appear like this: <code>\sources\$OEM$</code> in your altered .iso or on your bootable USB drive.</li>
<li>Now use this .iso or bootable USB drive to install Windows, it will either already be activated (KMS38) as soon as it boots or will self-activate (HWID or Online KMS) at the first internet contact.</li>
<li>You can check <ahref="/">here</a> for activation method details and select the activation method as per your requirement.</li>
</ul>
<hr>
<h2class="anchor anchorWithStickyNavbar_LWe7"id="edit-iso-file">Edit ISO File<ahref="#edit-iso-file"class="hash-link"aria-label="Direct link to Edit ISO File"title="Direct link to Edit ISO File"></a></h2>
<ul>
<li>As stated above, you can copy the <code>$OEM$</code> folder to your bootable USB so you don't have to edit the ISO file. However, if you need to, then follow the steps below.</li>
<li>Download <ahref="https://www.anyburn.com/anyburn.zip"target="_blank"rel="noopener noreferrer">AnyBurn Free Portable</a> and extract this zip file</li>
<li>Run the file named <code>AnyBurn(64-bit)\AnyBurn.exe</code></li>
<li>Select the option named <code>Edit image file</code></li>
<li>Follow the on-screen instructions and add the <code>$OEM$</code> folder to the <code>sources</code> folder so that the directory will appear like this: <code>\sources\$OEM$</code></li>
<li>Save the ISO, that's it.</li>
</ul>
<hr>
<h2class="anchor anchorWithStickyNavbar_LWe7"id="limitations">Limitations<ahref="#limitations"class="hash-link"aria-label="Direct link to Limitations"title="Direct link to Limitations"></a></h2>
<ul>
<li>On Windows 8 and later, <strong>running setupcomplete.cmd is disabled</strong> if the default installed key for the edition is OEM Channel.<br>
<!---->For example - Preactivation won't work for Windows 10 Iot Enterprise LTSC because installed key is of the OEM channel.</li>
<li>The <strong>solution</strong> for this issue is to use (Non-Iot) Windows 10 Enterprise LTSC ISO, and the HWID method in preactivation will use Iot LTSC key to change the edition.</li>
</ul>
<hr>
<h2class="anchor anchorWithStickyNavbar_LWe7"id="kms38---server-coracor">KMS38 - Server Cor/Acor<ahref="#kms38---server-coracor"class="hash-link"aria-label="Direct link to KMS38 - Server Cor/Acor"title="Direct link to KMS38 - Server Cor/Acor"></a></h2>
<ul>
<li>Windows Server Cor/Acor (No GUI) editions don't have the <code>clipup.exe</code> file.</li>
<li>To KMS38 activate it, you need to download the missing <code>ClipUp.exe</code> file from <ahref="/assets/files/ClipUp-35a116e9ec8a086319a5a83e176f6156.zip"target="_blank">this link</a>.<br>
<!---->This file has digital signatures that can be verified. You can also get this file from the official <ahref="https://download.microsoft.com/download/1/6/F/16FA20E6-4662-482A-920B-1A45CF5AAE3C/14393.0.160715-1616.RS1_RELEASE_SERVER_EVAL_X64FRE_EN-US.ISO"target="_blank"rel="noopener noreferrer">Windows Server 2016 x64 RTM ISO</a>.</li>
<li>Put the <code>ClipUp.exe</code> beside the KMS38 Activation script. That would be either <code>MAS_AIO.cmd</code> or <code>KMS38_Activation.cmd</code></li>
<li>The activation script will check <code>ClipUp.exe</code> in the current folder (from where script is running) and will use it accordingly.</li>
</ul>
<hr>
<h2class="anchor anchorWithStickyNavbar_LWe7"id="hwid">HWID<ahref="#hwid"class="hash-link"aria-label="Direct link to HWID"title="Direct link to HWID"></a></h2>
<ul>
<li>When using HWID activation, no files are stored on the system, and Windows 10-11 will be activated when connected to the internet for the first time.</li>
</ul>
<hr>
<h2class="anchor anchorWithStickyNavbar_LWe7"id="ohook">Ohook<ahref="#ohook"class="hash-link"aria-label="Direct link to Ohook"title="Direct link to Ohook"></a></h2>
<ul>
<li>If Office is preinstalled then Ohook method will activate the Office immediately without Internet. This activation uses custom sppc.dll file for the activation.</li>
</ul>
<hr>
<h2class="anchor anchorWithStickyNavbar_LWe7"id="kms38">KMS38<ahref="#kms38"class="hash-link"aria-label="Direct link to KMS38"title="Direct link to KMS38"></a></h2>
<ul>
<li>When using KMS38 activation, no files are stored on the system, and Windows 10-11-Server becomes activated immediately without Internet.</li>
</ul>
<hr>
<h2class="anchor anchorWithStickyNavbar_LWe7"id="online-kms">Online KMS<ahref="#online-kms"class="hash-link"aria-label="Direct link to Online KMS"title="Direct link to Online KMS"></a></h2>
<ul>
<li>When using Online KMS activation, Windows-Server and Office (Preinstalled) both will be activated when connected to the internet for the first time. This option uses a renewal task for lifetime activation.</li>
</ul>
<hr>
<h2class="anchor anchorWithStickyNavbar_LWe7"id="hwid--ohook">HWID + Ohook<ahref="#hwid--ohook"class="hash-link"aria-label="Direct link to HWID + Ohook"title="Direct link to HWID + Ohook"></a></h2>
<ul>
<li>In this method, Windows 10-11 will be activated with HWID, and <strong>Office</strong> (Preinstalled) will be activated using Ohook.</li>
</ul>
<hr>
<h2class="anchor anchorWithStickyNavbar_LWe7"id="hwid--online-kms">HWID + Online KMS<ahref="#hwid--online-kms"class="hash-link"aria-label="Direct link to HWID + Online KMS"title="Direct link to HWID + Online KMS"></a></h2>
<ul>
<li>In this method, Windows 10-11 will be activated with HWID, and <strong>Office</strong> (Preinstalled) will be activated using Online KMS.</li>
</ul>
<hr>
<h2class="anchor anchorWithStickyNavbar_LWe7"id="kms38--ohook">KMS38 + Ohook<ahref="#kms38--ohook"class="hash-link"aria-label="Direct link to KMS38 + Ohook"title="Direct link to KMS38 + Ohook"></a></h2>
<ul>
<li>In this method, Windows 10-11-Server will be activated with KMS38, and <strong>Office</strong> (Preinstalled) will be activated using Ohook.</li>
</ul>
<hr>
<h2class="anchor anchorWithStickyNavbar_LWe7"id="kms38--online-kms">KMS38 + Online KMS<ahref="#kms38--online-kms"class="hash-link"aria-label="Direct link to KMS38 + Online KMS"title="Direct link to KMS38 + Online KMS"></a></h2>
<ul>
<li>In this method, Windows 10-11-Server will be activated with KMS38, and <strong>Office</strong> (Preinstalled) will be activated using Online KMS.</li>
</ul>
<hr>
<h2class="anchor anchorWithStickyNavbar_LWe7"id="online-kms--ohook">Online KMS + Ohook<ahref="#online-kms--ohook"class="hash-link"aria-label="Direct link to Online KMS + Ohook"title="Direct link to Online KMS + Ohook"></a></h2>
<ul>
<li>In this method, Windows-Server will be activated with Online KMS, and <strong>Office</strong> (Preinstalled) will be activated using Ohook.</li>