blob: 6d3fcddab8d65e05253a870781df9d5fc986d405 (
plain) (
blame)
1
2
3
4
5
|
rem activate windows, requires local KMS server and windows 10 enterprise ltsc, no exceptions
rem generic keys: https://docs.microsoft.com/en-us/windows-server/get-started/kmsclientkeys
slmgr/ipk QFFDN-GRT3P-VKWWX-X7T3R-8B639
ping -n 1 192.168.1.3 | find "TTL=" >nul
if errorlevel 0 ( slmgr/skms 192.168.1.3 && slmgr/ato ) else ( echo no local kms server found)
|