<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
<h2class="anchor anchorWithStickyNavbar_LWe7"id="overview">Overview<ahref="#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 <ahref="/#download--how-to-use-it">here</a>.</li>
<li>This Online KMS Activation script is a fork of abbodi1406's <ahref="https://github.com/abbodi1406/KMS_VL_ALL_AIO/"target="_blank"rel="noopener noreferrer">KMS_VL_ALL</a></li>
<li>This fork's purpose is to avoid having any KMS binary files and activate Windows / Office using only transparent batch script with online public KMS servers IP (Not hostname).</li>
<li>This script requires Internet for activation.</li>
<li>KMS activates Windows / Office for 180 Days. For Windows Core / ProWMC editions it is 30 / 45 Days.</li>
<li>This script can activate both Retail and Volume Windows installation.</li>
<li>This script can activate C2R Retail and VL Office, but not 2010 / 2013 MSI Retail Office and UWP Office.</li>
<li>This script skips the activation of any permanently / KMS38 activated product.</li>
<li>As mentioned, KMS activates only for a limited period and it's not permanent, read below on how to achieve lifetime activation.</li>
</ul>
<hr>
<h2class="anchor anchorWithStickyNavbar_LWe7"id="activation-renewal">Activation Renewal<ahref="#activation-renewal"class="hash-link"aria-label="Direct link to Activation Renewal"title="Direct link to Activation Renewal"></a></h2>
<ul>
<li>By design in the genuine <ahref="https://docs.microsoft.com/en-us/previous-versions/tn-archive/ee939272(v=technet.10)?redirectedfrom=MSDN#kms-overview"target="_blank"rel="noopener noreferrer">KMS</a> activation method, the system contacts the registered server every 7 days, and if contacted successfully it will automatically renew and reset the activation for the full period of 180 days again, starting from the day of successful contact. If the system cannot contact the server, it will be deactivated after 180 days and it will remain deactivated until contact can be restored.</li>
<li>To get the lifetime activation, you need to do either one of the below two things,</li>
</ul>
<ol>
<li>
<p><strong>Manual Activation</strong><br>
<!---->Run the online KMS activation whenever required.</p>
</li>
<li>
<p><strong>Activation Auto-Renewal</strong><br>
<!---->You can install the auto-renewal in the script.<br>
<!---->This method puts the following two files,<br>
<p>And creates a scheduled task <code>\Activation-Renewal</code> to run the script every 7 days. This task registers the working KMS server and triggers activation commands only for the installed Volume products.<br>
<!---->The scheduled task runs only if the system is connected to the Internet.</p>
</li>
</ol>
<hr>
<h2class="anchor anchorWithStickyNavbar_LWe7"id="remarks">Remarks<ahref="#remarks"class="hash-link"aria-label="Direct link to Remarks"title="Direct link to Remarks"></a></h2>
<ul>
<li>With KMS Activation, you can update Windows/Office without any issues.</li>
<li>What is left in the system in the activation process?<!---->
<ul>
<li><strong>If Renewal Task is installed:</strong> After activation, it leaves the KMS Server IP in the registry, which helps you to get the global activation feature whereby the system auto-renews the activation. About files and scheduled tasks, it has been mentioned above.</li>
<li><strong>If Renewal Task is NOT installed:</strong> It leaves a non-existent IP 10.0.0.10 to avoid the Office Not Genuine Banner issue.</li>
</ul>
</li>
<li>This script includes the most-stable KMS servers (16) list from all over the world. The server selection process is fully automatic. Script randomly selects a server, tests if it's online, if yes then apply the activation command, if fails, then retry this process maximum of total 3 times for a product. Such redundancy makes sure that we get the working KMS server at any time.</li>
<li>If your system date is incorrect (beyond 180 days) and you are offline, the system will be deactivated, but will automatically reactivate when you correct the system date.</li>
<li>The advantage of Online KMS activation is that it doesn't need any KMS binary file and the system can be activated using some manual commands or transparent batch script files. So this is for those who don't like/have difficulties/trust issues in offline KMS because of its binary files and antivirus detections.
But if you prefer offline KMS then checkout an open-source activator, abbodi1406's <ahref="https://github.com/abbodi1406/KMS_VL_ALL_AIO/"target="_blank"rel="noopener noreferrer">KMS_VL_ALL</a></li>
</ul>
<hr>
<h2class="anchor anchorWithStickyNavbar_LWe7"id="supported-products">Supported Products<ahref="#supported-products"class="hash-link"aria-label="Direct link to Supported Products"title="Direct link to Supported Products"></a></h2>
<p><strong>Volume-capable:</strong></p>
<ul>
<li>
<p><strong>Windows 11:</strong><br>
<!---->Enterprise, Enterprise LTSC, IoT Enterprise LTSC, Enterprise G, Enterprise multi-session, SE (CloudEdition), Education, Pro, Pro Workstation, Pro Education, Home, Home Single Language, Home China</p>
</li>
<li>
<p><strong>Windows 10:</strong><br>
<!---->Enterprise, Enterprise LTSC/LTSB, IoT Enterprise LTSC, Enterprise G, Enterprise multi-session, Education, Pro, Pro Workstation, Pro Education, Home, Home Single Language, Home China</p>
</li>
<li>
<p><strong>Windows 8.1:</strong><br>
<!---->Enterprise, Pro, Pro with Media Center, Core, Core Single Language, Core China, Pro for Students, Bing, Bing Single Language, Bing China, Embedded Industry Enterprise/Pro/Automotive</p>
</li>
<li>
<p><strong>Windows 8:</strong><br>
<!---->Enterprise, Pro, Pro with Media Center, Core, Core Single Language, Core China, Embedded Industry Enterprise/Pro</p>
</li>
<li>
<p>Windows 10/11 on <strong>ARM64</strong> is supported. Windows 8/8.1/10/11 <strong>N editions</strong> variants are also supported (e.g. Pro N)</p>
</li>
<li>
<p><strong>Windows 7:</strong><br>
<!---->Enterprise /N/E, Professional /N/E, Embedded POSReady/ThinPC</p>
</li>
<li>
<p><strong>Windows Server 2022/2019/2016:</strong><br>
<li>X86-X64 and ARM64 architecture systems are supported.</li>
<li>Any Evaluation version of Windows (i.e. 'EVAL' LTSB/C) cannot be activated.</li>
<li>ServerRdsh edition does not <ahref="https://docs.microsoft.com/en-us/azure/virtual-desktop/windows-10-multisession-faq#can-i-run-windows-10-enterprise-multi-session-on-premises"target="_blank"rel="noopener noreferrer">officially</a> support activation on non-azure systems.</li>
<li>Supported Windows products do not need volume conversion, only the GVLK (KMS key) is needed, which the script will install accordingly.</li>
<li>KMS activation on Windows 7 has a limitation related to OEM Activation 2.0 and Windows marker. For more info, see <ahref="https://support.microsoft.com/en-us/help/942962"target="_blank"rel="noopener noreferrer">here</a> and <ahref="https://technet.microsoft.com/en-us/library/ff793426(v=ws.10).aspx#activation-of-windows-oem-computers"target="_blank"rel="noopener noreferrer">here</a>. To verify the activation possibility before attempting, see <ahref="https://forums.mydigitallife.net/posts/1553139/"target="_blank"rel="noopener noreferrer">this</a>.</li>
<li>These editions are only KMS-activatable for <em>45</em> days at max:<!---->
<ul>
<li>Windows 10/11 Home edition variants</li>
<li>Windows 8.1 Core edition variants, Pro with Media Center, Pro for Students<br>
<!---->These editions are only KMS-activatable for <em>30</em> days at max:</li>
<li>Windows 8 Core edition variants, Pro with Media Center</li>
</ul>
</li>
</ul>
<hr>
<h2class="anchor anchorWithStickyNavbar_LWe7"id="unsupported-products">Unsupported Products<ahref="#unsupported-products"class="hash-link"aria-label="Direct link to Unsupported Products"title="Direct link to Unsupported Products"></a></h2>
<!---->Windows Server (Server Foundation, Storage Server, Home Server 2011... etc)</li>
</ul>
<hr>
<h2class="anchor anchorWithStickyNavbar_LWe7"id="how-does-it-work">How does it work?<ahref="#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>
<ul>
<li>
<p><strong>What is KMS activation?</strong><br>
<!---->Key Management Service (KMS) is a genuine activation method provided by Microsoft for volume licensing customers (organizations, schools, or governments). The machines in those environments (called KMS clients) are activated via the Environment KMS Host Server (authorized Microsoft's licensing key), instead of Microsoft activation servers. By design, the KMS activation period lasts up to 180 Days (6 Months) at max, with the ability to renew and reinstate the period at any time. Activation renewal automatically happens every 7 days if the client can connect to the KMS host server. For more info, see <ahref="https://www.microsoft.com/Licensing/servicecenter/Help/FAQDetails.aspx?id=201#215"target="_blank"rel="noopener noreferrer">here</a> and <ahref="https://technet.microsoft.com/en-us/library/ee939272(v=ws.10).aspx#kms-overview"target="_blank"rel="noopener noreferrer">here</a>.</p>
</li>
<li>
<p><strong>How are we getting it for free?</strong><br>
<!---->Developers reverse-engineered the KMS Host Server setup, so now anyone can host a KMS server and activate the systems without any limitations. KMS activators such as KMSpico, MTK, KMS_VL_ALL, etc., locally create an emulated KMS Host Server and activate Windows and Office.<br>
<!---->This locally-emulated KMS server requires you to run binary files which often cause anti-virus alerts (false positives).<br>
<!---->Another method of KMS activation is a publicly-available Online KMS Host Server. In this method, the site hosts the emulated KMS server, and anyone can simply use this server to activate their systems, there is no requirement for running any software on your system.</p>
<!---->Let's go into the details. In the KMS protocol, there is a relationship between host and client. The client system asks the host system to grant the activation, and the host system grants the activation if it's eligible. In this process, the client system shares some of the system's data, which is not sensitive in nature. According to the <ahref="https://technet.microsoft.com/en-us/library/ee939272(v=ws.10).aspx#kms-overview"target="_blank"rel="noopener noreferrer">Microsoft document</a>, the client system shares the following data with the host system: Client FQDN, CMID, time-stamp, Product license state, expiration time, and IP address
In this shared info, the important part is your IP address. Below are some things regarding it which you should know.</p>
<ul>
<li>Sharing your IP while going online is not a security concern. You can not go online to visit any website without having to share your IP address.</li>
<li>IP addresses do not necessarily represent a specific person. Internet Service Providers (ISPs) mostly use dynamic IP, which means the same IP address can be used by many different persons, and a dynamic IP address is periodically reassigned to different people all the time. But a static IP address is permanently assigned to a unique subscriber. The Internet Service Provider (ISP) won't reveal that information unless there is a legal reason to do so.</li>
<li>Microsoft has never tried to go after Home users in legal cases for using a few pirated activations (not talking about stolen legal keys) simply because the cost of legal actions would be much higher than the amount of money gained by forcing a few people to purchase activations.</li>
<li>No law enforcement is going to take action based on IPs from all over the world without the consent of Microsoft itself.</li>
</ul>
</li>
</ul>
<p>Feel free to contact us in case you have a contradictory point of view.</p>
<hr>
<h2class="anchor anchorWithStickyNavbar_LWe7"id="how-to-remove-online-kms">How to remove Online KMS?<ahref="#how-to-remove-online-kms"class="hash-link"aria-label="Direct link to How to remove Online KMS?"title="Direct link to How to remove Online KMS?"></a></h2>
<ul>
<li>In MAS, goto Online KMS activation and apply Uninstall option.</li>
<li>After that, In MAS, goto Troubleshoot and apply Fix Licensing option.</li>
<li>Done.</li>
</ul>
<hr>
<h2class="anchor anchorWithStickyNavbar_LWe7"id="office-non-genuine-banner">Office 'Non-genuine' Banner<ahref="#office-non-genuine-banner"class="hash-link"aria-label="Direct link to Office 'Non-genuine' Banner"title="Direct link to Office 'Non-genuine' Banner"></a></h2>
<ul>
<li>Office Click-to-Run builds (since February 2021) that are activated with KMS check the existence of the KMS server name in the registry.</li>
<li>If KMS server is not present, a banner is shown in Office programs notifying that "Office isn't licensed properly", see <ahref="/assets/files/office-license-is-not-genuine-f621aa6d7a64ca33d60a58739f8210f4.png"target="_blank">here</a>.</li>
<li>Therefore in manual mode, <code>KeyManagementServiceName</code> value containing a non-existent IP address 10.0.0.10 will be kept in the below registry keys:</li>
<li>This is perfectly fine to keep, and it does not affect Windows or Office activation. For more explanation, visit <ahref="/office-license-is-not-genuine">here</a></li>
</ul>
<hr>
<h2class="anchor anchorWithStickyNavbar_LWe7"id="office-retail-to-volume">Office Retail to Volume<ahref="#office-retail-to-volume"class="hash-link"aria-label="Direct link to Office Retail to Volume"title="Direct link to Office Retail to Volume"></a></h2>
<p>Office Retail must be converted to Volume first before it can be activated with KMS.<br>
<!---->By default, this activation script will convert Office C2R Retail to Volume.</p>
<li>Activated Office Retail or Subscription products will be skipped from conversion</li>
<li>Office 365 itself does not have volume licenses, therefore it will be converted to Office Mondo licenses</li>
<li>Windows 10/11: Office 2016 products will be converted with corresponding Office 2019 licenses (if RTM detected)</li>
<li>Windows 8.1: Office 2016/2019 products will be converted with corresponding Office 2021 licenses (if RTM detected)</li>
<li>Office Professional suite will be converted with Office Professional Plus licenses</li>
<li>Office HomeBusiness/HomeStudent suites will be converted with Office Standard licenses</li>
<li>Office 2013 products follow the same logic, but handled separately</li>
</ul>
<p>Alternatively, if the automatic conversion did not work, or if you prefer to use the standalone converter script: <ahref="https://forums.mydigitallife.net/posts/1150042/"target="_blank"rel="noopener noreferrer">Office-C2R-Retail2Volume</a></p>
<hr>
<h2class="anchor anchorWithStickyNavbar_LWe7"id="debug-mode">Debug Mode<ahref="#debug-mode"class="hash-link"aria-label="Direct link to Debug Mode"title="Direct link to Debug Mode"></a></h2>
<ul>
<li>With debug mode, we can get a log file with more details of the activation script process and it can be used to troubleshoot the activation issues.</li>
<li>In the Online KMS option, you can enable <code>Debug Mode</code> by pressing 6. When the activation is run with Debug Mode enabled, it creates a log file that contains details of the activation process, this is useful to detect activation errors. You can send that log to us to check. Check troubleshoot heading.</li>
</ul>
<hr>
<h2class="anchor anchorWithStickyNavbar_LWe7"id="override-office-vnext">Override Office vNext<ahref="#override-office-vnext"class="hash-link"aria-label="Direct link to Override Office vNext"title="Direct link to Override Office vNext"></a></h2>
<ul>
<li>The script is set by default to override Office C2R vNext license (subscription or lifetime) or its residue.</li>
<li>However, if you prefer to turn OFF this function from the menu, press 7 in keyboard to change the state to Override Office vNext [No] and then proceed to activate Office.</li>
<li>You will need to turn off this option if you have O365 subscription and wants to use KMS for Project and Visio.</li>
<li>If Office vNext license is detected, the option and state will be highlighted, to draw the user attention.</li>
</ul>
<hr>
<h2class="anchor anchorWithStickyNavbar_LWe7"id="command-line-switches">Command line Switches<ahref="#command-line-switches"class="hash-link"aria-label="Direct link to Command line Switches"title="Direct link to Command line Switches"></a></h2>
<h2class="anchor anchorWithStickyNavbar_LWe7"id="setup-preactivate">Setup Preactivate<ahref="#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>
<h2class="anchor anchorWithStickyNavbar_LWe7"id="troubleshooting">Troubleshooting<ahref="#troubleshooting"class="hash-link"aria-label="Direct link to Troubleshooting"title="Direct link to Troubleshooting"></a></h2>