﻿
V5 version, DLL method fully automatic activation
Thanks to Rambin of DISM++ Group for his help.

Quiet mode (no pop-up message or error window, suitable for calling when packaging the system, pay attention to the working directory of the batch):
Method 1: Rename gatherosstate.exe to gatherosstate.quiet.exe before running.
Method 2: Put gatherosstate.exe anywhere under C:\windows\ (with any subdirectories).

#1.  Extract files to any directory

#2.  Runing growosstate.exe with admin privileges.  (gatherosstateLTSB15.exe just for LTSB 2015) 
       It's Done! All work is done by slc.dll.

       The whole process is about 10-30 seconds.
       Because slc.dll will install product key and online activation OS (just HWID method) , it will take some times.


       If the built-in key does not support your system, you can create a <key.txt> file, just write the key, slc.dll will install the key, and then get the SKU and Channel values ​​from the system.

       Of course, if the automatically obtained SKU and Channel values ​​are incorrect, you can also specify them in the <key.txt> file in the following format:
         first line(product key)------------------------xxxxx-xxxxx-xxxxx-xxxxx-xxxxx
         second line(SKU value)----------------------125
         third line(Channel value)--------------------Volume:GVLK
         HWID Channel value: Retail
         KMS38 Channel value:Volume:GVLK

! ! ! Note: If the <key.txt> file exists, the value defined in this file will be used first; if not, everything will be done automatically. ! ! !

When completed, a result file is generated:<Result.txt>

Result file content example:
2019-03-01 22:02:12  Installing product key...
2019-03-04 22:02:19  Get ticket successfully
2019-03-01 22:02:19  Copy the ticket to GenuineTicket.xml.backup
2019-03-01 22:02:19  Applying GenuineTicket.xml...
2019-03-01 22:02:19  Digital activation mode detected, Online activation...
2019-03-01 22:02:41  Done!
Please check the following information:
xxxxx-xxxxx-xxxxx-xxxxx-xxxxx
xx
Retail
------------------------------------------------------------------------
