Online KMS Activation


Overview

  • How to use it? Please find the instructions here.

  • This Online KMS Activation script is a fork of abbodi1406’s KMS_VL_ALL

  • 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).

  • This script requires Internet for activation.

  • KMS activates Windows / Office for 180 Days. For Windows Core / ProWMC editions it is 30 / 45 Days.

  • This script can activate both Retail and Volume Windows installation.

  • This script can activate C2R Retail and VL Office, but not 2010 / 2013 MSI Retail Office and UWP Office.

  • This script skips the activation of any permanently / Subscription / KMS38 activated product.

  • As mentioned, KMS activates only for a limited period and it’s not permanent, read below on how to achieve lifetime activation.


Activation Renewal

  • By design in the genuine KMS 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 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.

  • To get the lifetime activation, you need to do either one of the below two things,

  1. Manual Activation
    Run the online KMS activation whenever required.

  2. Activation Auto-Renewal
    You can install the auto-renewal in the script.
    This method puts the following two files,

    C:\ProgramData\Activation-Renewal\Activation_task.cmd

    C:\ProgramData\Activation-Renewal\Info.txt

    And creates a scheduled task (\Activation-Renewal) to run the script every 7 days. This task registers the working KMS server and triggers activation commands only for the installed Volume products.
    The scheduled task runs only if the system is connected to the Internet.


Remarks

  • With KMS Activation, you can update Windows/Office without any issues.

  • What is left in the system in the activation process?

    • If Renewal Task is installed: 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 task, it has been mentioned above.

    • If Renewal Task is NOT installed: It leaves a non-existent IP 10.0.0.10 to avoid Office Not Genuine Banner issue.

  • This script includes the most-stable KMS servers (16) list from all over the world. The server selection process is fully automatic. Script randomly select 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 any time.

  • 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.

  • The advantage of Online KMS activation is that it doesn’t need any KMS binary file and 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 detection’s.

    But if you prefer offline KMS then checkout an open-source activator, abbodi1406’s KMS_VL_ALL


Supported Products

Volume-capable:

  • Windows 11:
    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

  • Windows 10:
    Enterprise, Enterprise LTSC/LTSB, Enterprise G, Enterprise multi-session, Education, Pro, Pro Workstation, Pro Education, Home, Home Single Language, Home China

  • Windows 8.1:
    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

  • Windows 8:
    Enterprise, Pro, Pro with Media Center, Core, Core Single Language, Core China, Embedded Industry Enterprise/Pro

  • Windows 10/11 on ARM64 is supported. Windows 8/8.1/10/11 N editions variants are also supported (e.g. Pro N)

  • Windows 7:
    Enterprise /N/E, Professional /N/E, Embedded POSReady/ThinPC

  • Windows Server 2022/2019/2016:
    LTSC editions (Standard, Datacenter, Essentials, Cloud Storage, Azure Core, Server ARM64), SAC editions (Standard ACor, Datacenter ACor, Azure Datacenter)

  • Windows Server 2012 R2:
    Standard, Datacenter, Essentials, Cloud Storage

  • Windows Server 2012:
    Standard, Datacenter, MultiPoint Standard, MultiPoint Premium

  • Windows Server 2008 R2:
    Standard, Datacenter, Enterprise, MultiPoint, Web, HPC Cluster

  • Office Volume 2010 / 2013 / 2016 / 2019 / 2021

Notes:

  • X86-X64 and ARM64 architecture systems are supported.

  • Any Evaluation version of Windows (i.e. ‘EVAL’ LTSB/C) cannot be activated.

  • ServerRdsh edition does not officially support activation on non-azure systems. However on all builds except in range of 22000 will activate Windows.

  • Supported Windows products do not need volume conversion, only the GVLK (KMS key) is needed, which the script will install accordingly.

  • KMS activation on Windows 7 has a limitation related to OEM Activation 2.0 and Windows marker. For more info, see here and here. To verify the activation possibility before attempting, see this.

  • These editions are only KMS-activatable for 45 days at max:

    • Windows 10/11 Home edition variants

    • Windows 8.1 Core edition variants, Pro with Media Center, Pro for Students

    These editions are only KMS-activatable for 30 days at max:

    • Windows 8 Core edition variants, Pro with Media Center

Unsupported Products

  • Office MSI Retail 2010/2013, Office 2010 C2R Retail

  • Office UWP (Windows 10/11 Apps)

  • Windows editions which do not support KMS activation by design:Windows Evaluation Editions
    Windows 7 (Starter, HomeBasic, HomePremium, Ultimate)
    Windows 10 (Cloud “S”, IoTEnterprise, IoTEnterpriseS, ProfessionalSingleLanguage… etc)
    Windows Server (Server Foundation, Storage Server, Home Server 2011… etc)


How does it work?

  • What is KMS activation?
    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 here and here.

  • How are we getting it for free?
    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.

    This locally-emulated KMS server requires you to run binary files which often cause anti-virus alerts (false positives).

    Another method of KMS activation is 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.

  • Is Online KMS activation safe?
    Yes.
    Let’s go into the details. In the KMS protocol, there is a relationship of 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 Microsoft document, 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.

    • 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.

    • IP addresses do not necessarily represent a specific person. Internet Service Providers (ISP’s) 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.

    • 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.

    • No law enforcement is going to take action based on the IP’s from all over the world without the consent from the Microsoft itself.

Feel free contact us in case you have a contradictory point of view.


Office ‘Non-genuine’ Banner

  • Office Click-to-Run builds (since February 2021) that are activated with KMS checks the existence of the KMS server name in the registry.

  • If KMS server is not present, a banner is shown in Office programs notifying that “Office isn’t licensed properly”, see here.

  • Therefore in manual mode, KeyManagementServiceName value containing a non-existent IP address 10.0.0.10 will be kept in the below registry keys:

HKLM\SOFTWARE\Microsoft\Windows NT\CurrentVersion\SoftwareProtectionPlatform

HKLM\SOFTWARE\WOW6432Node\Microsoft\Windows NT\CurrentVersion\SoftwareProtectionPlatform

This is perfectly fine to keep, and it does not affect Windows or Office activation. For more explanation, visit here


Office Retail to Volume

Office Retail must be converted to Volume first before it can be activated with KMS.
By default, this activation script will convert Office C2R Retail to Volume.

Notes:

  • Supported Click-to-Run products: Office 365 (Microsoft 365 Apps), Office 2021 / 2019 / 2016, Office 2013

  • Activated Office Retail or Subscription products will be skipped from conversion

  • Office 365 itself does not have volume licenses, therefore it will be converted to Office Mondo licenses

  • Windows 10/11: Office 2016 products will be converted with corresponding Office 2019 licenses (if RTM detected)

  • Windows 8.1: Office 2016/2019 products will be converted with corresponding Office 2021 licenses (if RTM detected)

  • Office Professional suite will be converted with Office Professional Plus licenses

  • Office HomeBusiness/HomeStudent suites will be converted with Office Standard licenses

  • Office 2013 products follow the same logic, but handled separately

Alternatively, if the automatic conversion did not work, or if you prefer to use the standalone converter script: Office-C2R-Retail2Volume


File Details

cleanosppx64.exe        SHA-1: d30a0e4e5911d3ca705617d17225372731c770e2
cleanosppx86.exe        SHA-1: 39ed8659e7ca16aaccb86def94ce6cec4c847dd6
  • These files are used in cleaning office license in C2R Retail office to VL conversion process.

  • These files are taken from the old version of Microsoft official tool O15CTRRemove.diagcab

 File: O15CTRRemove.diagcab (Digitally Signed)
 Link: https://app.box.com/s/n8qpb5ljmv6djp77w5p6fk043dm6s3r1 (Unofficial Link)
SHA-1: 56c6ca76993a96cf9a255463b90db96cb9d24464

Debug Mode

  • With debug mode, we can get a log file with more details of activation script process and it can be used to troubleshoot the activation issues.

  • In Online KMS option, you can enable Debug Mode by pressing 6. When the activation is run with Debug Mode enabled, it creates a log file which contains details of activation process, this is useful to detect activation errors. You can send that log to us to check. Check troubleshoot heading.


Command line Switches

  • This is applicable only in separate files version. Online_KMS_Activation\Activate.cmd

  • If any parameter is used then script will automatically run in unattended mode.

Below the switches are divided into four groups, you can use the combination of switches from only one group at a time.

Group 1
Activate Windows only /w
Activate Office only /o
Activate Windows and Office /wo
Debug mode and create detailed log on desktop /d
Silent and create simple log in current directory /L
Group 2
Create Renewal Task /rt
Group 3
Create Renewal and Activation Task /rat
Group 4
Complete Uninstall /uni

Setup Preactivate

  • Check Extract OEM option in the MAS Extras section if you want pre-activated Windows installation.

  • Further read here.


Troubleshooting

  • Reach out to us on Discord (signup not required) with an error screenshot.