================================================================
# Manual (Default):

To only activate without installing and without renewal, run this script only:

KMS_VL_ALL.cmd

you will need to run it again before the activation period expire (6 months by default).

================================================================
# Auto Renewal:

To install this solution for auto renewal activation:

- open/edit KMS_VL_ALL.cmd with Notepad
- change _Task=0 from zero 0 to 1
- choose the desired schedule _TaskFrequency (Default Weekly)
- save the script, and run it as administrator

you may also use Create-Remove-Task.cmd to install the solution

================================================================
# Create-Remove-Task.cmd:

- Install or remove the project and scheduled reactivation task(s).

- Scheduled tasks will be run silently.

- You can create more than one task simultaneously.

- You may change start time/day for Daily/Weekly/Monthly tasks after creation via Task Scheduler.
For advanced users, you can edit the tasks .xml files in Win32 folder prior creation.

================================================================
# Setup Preactivate:

- To preactivate the system during installation, copy $oem$ to "sources" folder in the installation media (iso/usb)

- The default TaskFrequency is Weekly, you may edit setupcomplete.cmd to change it.

- If you already use another setupcomplete.cmd, rename this one to KMS_VL_ALL.cmd or similar name
then add a command to run it in your setupcomplete.cmd, example:
call KMS_VL_ALL.cmd

- Use Create-Remove-Task.cmd if you want to uninstall the project afterwards.

- Note: setupcomplete.cmd is disabled if the default installed key for the edition is OEM Channel

================================================================
# Remarks:

- Some security programs may report infected files, that is false-positive due KMS emulating.
- Remove any other KMS solutions. Temporary turn off AV security protection. Run as administrator.
- If you installed the solution, exclude this folder in your security protection program:
C:\Windows\KMS_VL_ALL

================================================================
# Debug:

If the activation failed, you may run the debug mode to help determining the reason

move WinDivert-kms folder to a short path
with Notepad open/edit KMS_VL_ALL.cmd
change the zero 0 to 1 in set _Debug=0
save the script, and run it as administrator
wait until cmd window is closed and KMS_VL_ALL_Debug.log is created
then upload or copy/post the log file

================================================================
# Fix Tip:

If you having activation errors, try to rebuild licensing Tokens.dat as suggested:
https://support.microsoft.com/en-us/help/2736303

launch command prompt as admin and execute these commands respectively:
net stop sppsvc
ren %windir%\System32\spp\store\2.0\tokens.dat tokens.bar
net start sppsvc
cscript %windir%\system32\slmgr.vbs /rilc

then restart the system
afterwards, run KMS_VL_ALL.cmd or Activate-Local.cmd

================================================================
# Supported Volume Products:

Windows 7/8/8.1/10
Windows Server 2008R2/2012/2012R2/2016
Office 2010/2013/2016/2019
