@echo off

echo Activating Windows 10
set i=1

:server
if %i%==1 set KMS_Sev=kms7.MSGuides.com
if %i%==2 set KMS_Sev=kms8.MSGuides.com
if %i%==3 set KMS_Sev=kms9.MSGuides.com
if %i%==4 goto notsupported
echo Attempting activation with %KMS_Sev%
cscript //nologo slmgr.vbs /skms %KMS_Sev% >nul
cscript //nologo slmgr.vbs /ato | find /i "successful" && (if errorlevel 0 goto success) || (echo The connection to %KMS_Sev% failed! Trying to connect to another one... & echo Please wait... & echo. & echo. & set /a i+=1 & goto server)

:notsupported
echo Sorry! Your version is not supported.

:halt
pause >nul

:success
echo Windows 10 has been activated
echo Hit any key to exit
pause >nul