@echo off
chcp 65001 >nul
mode con cols=100 lines=30
title Activate your Windows 10
reg query “HKU\S-1-5-19” >nul 2>&1 || (
cls
echo.
echo PLEASE RUN AS ADMINISTRATOR!
echo.
echo Press any key to exit.
echo.
pause>nul
exit
)
cls
echo Please Select your version of Windows
echo ============================================================
echo. 1 – Pro
echo. 2 – Enterprise
echo. 3 – Education
echo. 4 – Enterprise LSTB
echo. 5 – Pro N
echo. 6 – Enterprise N
echo. 7 – Education N
echo. 8 – Enterprise LSTB N
echo ============================================================
echo.
echo.
choice /c 123456780 /n /m “Choose a version, or 0 to quit: ”
if errorlevel 1 goto :pro
if errorlevel 2 goto :ent
if errorlevel 3 goto :edu
if errorlevel 4 goto :entlstb
if errorlevel 5 goto :pron
if errorlevel 6 goto :entn
if errorlevel 7 goto :edun
if errorlevel 8 goto :entlstbn
if errorlevel 9 exit
:pro
slmgr.vbs -upk >nul
slmgr.vbs -ipk W269N-WFGWX-YVC9B-4J6C9-T83GX >nul
goto :activate
:pron
slmgr.vbs -upk >nul
slmgr.vbs -ipk MH37W-N47XK-V7XM9-C7227-GCQG9 >nul
goto :activate
:ent
slmgr.vbs -upk >nul
slmgr.vbs -ipk NPPR9-FWDCX-D2C8J-H872K-2YT43 >nul
goto :activate
:entn
slmgr.vbs -upk >nul
slmgr.vbs -ipk DPH2V-TTNVB-4X9Q3-TJR4H-KHJW4 >nul
goto :activate
:edu
slmgr.vbs -upk >nul
slmgr.vbs -ipk NW6C2-QMPVW-D7KKK-3GKT6-VCFB2 >nul
goto :activate
:edun
slmgr.vbs -upk >nul
slmgr.vbs -ipk 2WH4N-8QGBV-H22JP-CT43Q-MDWWJ >nul
goto :activate
:entlstb
slmgr.vbs -upk >nul
slmgr.vbs -ipk WNMTR-4C88C-JK8YV-HQ7T2-76DF9 >nul
goto :activate
:entlstbn
slmgr.vbs -upk >nul
slmgr.vbs -ipk 2F77B-TNFGY-69QQF-B8YKP-D69TJ >nul
goto :activate
:activate
slmgr.vbs -skms kms.xspace.in >nul
slmgr.vbs -ato >nul
slmgr.vbs -dlv
echo Done.Press any key to exit.
echo If Windows is not activated,please run the bat again.
pause>nul
exit
—————————————————————————————–
把上面的这些代码复制到文本文档中,然后再保存为.BAT文件,再执行一次就有可以会激活的。
如果觉得麻烦的话也可能直接去下载这个KMS激活Windows 10批处理文件。
百度下载:http://pan.baidu.com/s/159Quq
原创文章,作者:校长,如若转载,请注明出处:https://www.yundongfang.com/Yun2226.html