0% found this document useful (0 votes)
1K views6 pages

KMS_VL_ALL_AIO: Windows & Office Activation Script

This document provides information about KMS_VL_ALL_AIO, a script that automates activation of supported Windows and Office products using a local KMS server emulator or external server. The script activates non-activated products, provides continuous activation without user interaction, and has an all-in-one design for easy distribution. It works by emulating the KMS protocol to activate KMS client products, and makes use of WMI and other tools to query and activate Windows and Office licensing.

Uploaded by

asdf
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as TXT, PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
1K views6 pages

KMS_VL_ALL_AIO: Windows & Office Activation Script

This document provides information about KMS_VL_ALL_AIO, a script that automates activation of supported Windows and Office products using a local KMS server emulator or external server. The script activates non-activated products, provides continuous activation without user interaction, and has an all-in-one design for easy distribution. It works by emulating the KMS protocol to activate KMS client products, and makes use of WMI and other tools to query and activate Windows and Office licensing.

Uploaded by

asdf
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as TXT, PDF, TXT or read online on Scribd
You are on page 1/ 6

KMS_VL_ALL_AIO - Smart Activation Script

A standalone batch script to automate the activation of supported Windows and


Office products using local KMS server emulator or an external server.
Designed to be unattended and smart enough not to override the permanent activation
of products (Windows or Office),
only non-activated products will be KMS-activated (if supported).
The ultimate feature of this solution when installed, will provide 24/7 activation,
whenever the system itself requests it (renewal, reactivation, hardware change,
Edition upgrade, new Office...), without needing interaction from the user.
Some security programs will report infected files due to KMS emulating (see source
code near the end),
this is false-positive, as long as you download the file from the trusted Home
Page.
wmic.exe tool is removed from Windows 11 build 22483 and later.
In order to overcome this, KMS_VL_ALL v45 and later incorporate simple VBScripts to
query and execute WMI functions.
This require Windows Script Host to be working and not disabled.
Furthermore, be advised, this may increase the ratio for marking the script(s) as a
security threat.

AIO vs. Traditional


The KMS_VL_ALL_AIO fork has these differences and extra features compared to the
traditional KMS_VL_ALL:

Portable all-in-one script, easier to move and distribute alone.


All options and configurations are accessed via easy-to-use menu.
Combine all the functions of the traditional scripts (Activate, AutoRenewal-Setup,
Check-Activation-Status, setupcomplete).
Required binary files are embedded in the script (including ReadMeAIO.html itself),
using ascii encoder by AveYo.
The needed files get extracted (decoded) later on-demand, via Windows PowerShell.
Simple text colorization for some menu options (for easier differentiation).
Auto administrator elevation request.

How does it work?


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) activate via the
environment KMS host server (authorized Microsoft's licensing key), not via
Microsoft activation servers.
For more info, see here and here.
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.
With the proper auto renewal configuration, it will be a continuous activation
(essentially permanent).
KMS Emulators (server and client) are sophisticated tools based on the reversed
engineered KMS protocol.
It mimics the KMS server/client communications, and provide a clean activation for
the supported KMS clients, without altering or hacking any system files integrity.
Updates for Windows or Office do not affect or block KMS activation, only a new KMS
protocol will not work with the local emulator.
The mechanism of SppExtComObjPatcher makes it act as a ready-on-request KMS server,
providing instant activation without external schedule tasks or manual
intervention.
Including auto renewal, auto activation of volume Office afterward, reactivation
because of hardware change, date change, windows or office edition change... etc.
On Windows 7, later installed Office may require initiating the first activation
vis OSPP.vbs or the script, or opening Office program.
That feature makes use of the "Image File Execution Options" technique to work,
programmed as an Application Verifier custom provider for the system file
responsible for the KMS process.
Hence, OS itself handle the DLL injection, allowing the hook to intercept the KMS
activation request and write the response on the fly.
On Windows 8.1/10, it also handles the localhost restriction for KMS activation and
redirects any local/private IP address as it were external (different stack).
KMS_VL_ALL scripts make use of Windows Management Instrumentation WMI utilities,
which query the properties and executes the methods of Windows and Office licensing
classes,
providing a native activation processing, which is almost identical to the official
VBScript tools slmgr.vbs and ospp.vbs, but in an automated way.
The script make these changes to the system (if the emulator is used):
copy or link the file "C:\Windows\System32\SppExtComObjHook.dll"
add the hook registry keys to "HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows NT\
CurrentVersion\Image File Execution Options"
add osppsvc.exe keys to "HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\
OfficeSoftwareProtectionPlatform"
create schedule task "\Microsoft\Windows\SoftwareProtectionPlatform\SvcTrigger" (on
Windows 8 and later)

Supported Products
Volume-capable:

Windows 10/11:
Enterprise, Enterprise LTSC/LTSB, Enterprise G, Enterprise multi-session,
Enterprise, 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


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)

Office C2R 'Your license isn't genuine' notification 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".
Therefore in manual mode, KeyManagementServiceName value containing a non-existent
IP address 0.0.0.0 will be kept in the below registry keys:
HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows NT\CurrentVersion\
SoftwareProtectionPlatform
HKEY_LOCAL_MACHINE\SOFTWARE\WOW6432Node\Microsoft\Windows NT\CurrentVersion\
SoftwareProtectionPlatform
This is perfectly fine to keep, and it does not affect Windows or Office
activation.

Office Retail to Volume


Office Retail must be converted to Volume first before it can be activated with KMS

specifically, Office Click-to-Run products, whether installed from ISO (e.g.


ProPlus2019Retail.img) or using Office Deployment Tool.

Starting version 36, the activation script implements automatic license conversion
for Office C2R.

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

How To Use
Built-in Windows PowerShell is required for certain functions, make sure it is not
disabled or removed from the system.
Remove any other KMS solutions.
Temporary suspend Antivirus realtime protection, or exclude the downloaded file and
the extracted folder from scanning to avoid quarantine.
If you are using Windows Defender on Windows 11, 10 or 8.1, the script
automatically adds an exclusion for C:\Windows\System32\SppExtComObjHook.dll
therefore, it's best not to disable Windows Defender, and instead exclude the
downloaded file and the extracted folder before running the script(s).
Extract the downloaded file contents to a simple path without special characters or
long spaces.
Administrator rights are required to run the script.
KMS_VL_ALL_AIO offer 3 flavors of activation modes.

Activation Modes

Auto Renewal
Recommended mode, where you only need to install the activation emulator once.
Afterward, the system itself handles and renew activation per schedule.

To run this mode:

from the menu, press 2 to Install Activation Auto-Renewal


If you use Antivirus software, make sure to exclude this file from real-time
protection:
C:\Windows\System32\SppExtComObjHook.dll

If you later installed Volume Office product(s), it will be auto activated in this
mode.

Additionally, If you want to convert and activate Office C2R, renew the activation,
or activate new products:

from the menu, press 1 to Activate [Auto Renewal Mode]


On Windows 8 and later, the script duplicate inbox system schedule task
SvcRestartTaskLogon to SvcTrigger
this is just a precaution step to insure that the auto renewal period is evaluated
and respected, it's not directly related to activation itself, and you can manually
remove it.

To remove this mode:

from the menu, press 3 to Uninstall Completely


____________________________________________________________

Manual
No remnants mode, where the activation is executed, and then any KMS emulator
traces will be cleared from the system.

To run this mode:

make sure that auto renewal mode is not installed, or remove it


from the menu, press 1 to Activate [Manual Mode]
You will have to run the script again to activate newly installed products (e.g.
Office) or if Windows edition is switched.

You will have to run the script again to activate before the KMS activation period
expires.

You can run and activate anytime during that period to renew the period to the max
interval.

If the script is accidentally terminated before it completes the process, run the
script again, then:

from the menu, press 3 to Uninstall Completely


____________________________________________________________

External
Standalone mode, where you activate against trusted external KMS server, without
using the local KMS emulator.

The external server can be a web address, or a network IP address (local LAN or
VM).

To run this mode:

from the menu, press letter E to Activate [External Mode]


input or paste the server address, then press Enter
If you later installed Volume Office product(s), it will be auto activated if the
external server is still connected.

The used server address will be left registered in the system to allow activated
products to auto renew against it,
if the server is no longer available, you will need to run the mode again with a
new available server.

If you want to clear the server registration and traces:

from the menu, press 3 to Uninstall Completely (this will also clear KMS cache)

Configuration Options

Enable Debug Mode


Debug Mode is turned OFF by default.

This option only works with activation functions (menu options [1], [2], [3], [E]).

If you need to enable this function for troubleshooting or to detect any activation
errors:

from the menu, press 4 to change the state to Enable Debug Mode [Yes]
then, run the desired activation option.
______________________________

Process Windows / Process Office


The script is set by default to process and try to activate both Windows and
Office.

However, if you want to turn OFF processing Windows or Office, for whatever reason:

you afraid it may override permanent activation


you want to speed up the operation (you have Windows or Office already permanently
activated)
you want to activate Windows or Office later on your terms
To do that:

from the menu, press 5 to change the state to Process Windows [No]
from the menu, press 6 to change the state to Process Office [No]
Notice:
this turn OFF is not very effective if Windows or Office installation is already
Volume (GVLK installed),
because the system itself may try to reach and KMS activate the products,
especially on Windows 8 and later.
______________________________

Convert Office C2R-R2V


The script is set by default to auto convert detected Office C2R Retail to Volume
(except activated Retail products).

However, if you prefer to turn OFF this function:

from the menu, press 7 to change the state to Convert Office C2R-R2V [No]
______________________________

Skip Windows 10/11 KMS 2038


The script is set by default to check and skip Windows activation if KMS 2038 is
detected.

However, if you want to revert to normal KMS activation:

from the menu, press letter X to change the state to Skip Windows KMS38 [No]
Notice:
On Windows 10/11, if SkipKMS38 is ON (default), Windows will always get checked and
processed, even if Process Windows is No

Miscellaneous Options

Check Activation Status


You can use those options to check the status of Windows and Office products.

Check Activation Status [vbs]:

query and execute official licensing VBScripts: slmgr.vbs for Windows, ospp.vbs for
Office
shows the activation expiration date for Windows
Office 2010 ospp.vbs shows a very little info
Check Activation Status [wmi]:

query and execute WMI functions using wmic.exe, or vbscripting


shows extra more info (SKU ID, key channel)
shows the activation expiration date for all products
shows more detailed info for Office 2010
can show the status of Office UWP apps
implement vNextDiag.ps1 functions to detect new Office 365 vNext licenses and
subscriptions

You might also like