cd /rootwget https://github.com/Wind4/vlmcsd/releases/download/svn1111/binaries.tar.gztar -xvf binaries.tar.gzcd /root/binaries/Linux/intel/staticmv vlmcsdmulti-x64-musl-static /usr/local/KMS-server/usr/local/KMS-server vlmcsdnetstat -plten | grep 1688cd /root && rm -rf binaries binaries.tar.gzThe Key Management Service (KMS) is an activation service that allows organizations to activate systems within their own network, eliminating the need for individual computers to connect to Microsoft for product activation.
Software Licensing Management Tool (slmgr) is a VBS file in Windows against which you can run commands to perform advanced Windows activation tasks.
Windows 7 activation:
Run a command prompt as administrator and enter the following commands in order:
slmgr -xpr
slmgr -dlv
slmgr -cpky
slmgr -ckms
slmgr -ipk 6NTH3-CW976-3G3Y2-JK3TX-8QHTT
slmgr -skms kms.03k.org
slmgr -ato
Useful KMS servers:
kms.03k.org
kms.chinancce.com
kms.shuax.com
kms.dwhd.org
kms.luody.info
kms.digiboy.ir
kms.lotro.cc
Issues encountered during activation
Issue:
Activating Windows(R) 7, Ultimate edition
(aOcde89c-3304-4157-b61 c-c8ad785dlfad)...
The activation server determined the specified product key is blocked
Activating Windows(R) 7, Ultimate edition
(aOcde89c-3304-4157-b61 c-c8ad785dlfad)...
On a computer running Microsoft Windows non-core edition, run 'slui.exe 0x2a
0xC004FC03『 to display the error text.
Error 0xC004FC03
Solution:
Windows 7 Ultimate edition(旗艦版)無 KMS Client Setup Key,建議安裝 Windows 7 Professional/Enterprise VL edition(專業版/企業版批量許可)
https://kevien.github.io/2017/08/26/%E5%8F%AF%E6%BF%80%E6%B4%BBwindows%E5%92%8Coffice%E7%9A%84KMS%E6%9C%8D%E5%8A%A1%E6%90%AD%E5%BB%BA/
Issue:
WIN7 系統已激活但還是黑屏
Solution:
控制面板->外觀與個性化->選擇一個主題->確定
Product Key Latest 2020 | Windows – Microsoft Office
https://iproductkeys.com/windows-7-ultimate-64-bit-product-key/#WINDOWS_7_ULTIMATE_64-BIT_PRODUCT_KEY
優雅而安全地進行Windows和Office系列產品的KMS激活
https://www.licc.tech/article?id=31
Common slmgr commands:
slmgr Description
-xpr Show the expiry date of current license (if not permanently activated).
-dli Display the current license information with activation status and partial product key.
-dlv Verbose, similar to -dli but with more information.
-ipk Key Enter a new product key supplied as xxxxx-xxxxx-xxxxx-xxxxx-xxxxx.
-ato Activate Windows license and product key against Microsoft’s server.
-upk Uninstall current installed product key and return license status back to trial state.
-cpky Clear product key from the registry (prevents disclosure attacks).
-ckms Clear the name of KMS server used to default and port to default.
-rearm Reset the evaluation period/licensing status and activation state of the machine.
-skms activationservername:port Set the Volume Licensing KMS server and/or the port used for KMS activation (where supported by your Windows edition).
-skhc Enable KMS host caching (default), this blocks the use of DNS priority and weight after the initial discovery of a working KMS host.
-ckhc Disable KMS host caching. This setting instructs the client to use DNS auto-discovery each time it attempts KMS activation (recommended when using priority and weight).
-sai interva Sets the interval in minutes for unactivated clients to attempt KMS connection. The activation interval must be between 15 minutes and 30 days, although the default (2 hours) is recommended. The KMS client initially picks up this interval from the registry but switches to the KMS setting after the first KMS response has been received.
-sri interval Sets the renewal interval in minutes for activated clients to attempt KMS connection. The renewal interval must be between 15 minutes and 30 days. This option is set initially on both the KMS server and client sides. The default is 10080 minutes (7 days).
-spri Set the KMS priority to normal (default)
-cpri Set the KMS priority to low.
-sprt port Sets the port on which the KMS host listens for client activation requests. The default TCP port is 1688.
-sdns Enable DNS publishing by the KMS host (default).
-cdns Disable DNS publishing by the KMS host.