set i=1 cscript //nologo ospp.vbs /inpkey:XQNVK-8JYDB-WJ9W3-YJ8YR-WFG99 >nul||cscript //nologo ospp.vbs /inpkey:NMMKJ-6RK4F-KMJVX-8D9MJ-6MWKP >nul||cscript //nologo ospp.vbs /inpkey:FXYTK-NJJ8C-GB6DW-3DYQT-6F7TH||goto notsupported echo New key setted
:skms if %i% GTR 10 goto busy if %i% EQU 1 set KMS=kms7.MSGuides.com if %i% EQU 2 set KMS=kms8.MSGuides.com if %i% EQU 3 set KMS=kms9.MSGuides.com if %i% EQU 4 set KMS=e8.us.to if %i% EQU 5 set KMS=kms-project.MSGuides.com cscript //nologo ospp.vbs /sethst:%KMS% >nul cscript //nologo ospp.vbs /act | find /i "successful" || (echo The connection to my KMS server failed! Trying to connect to another one... & echo Please wait... & echo. & echo. & set /a i+=1 & goto skms)
echo Activation finished successfully! goto halt
:notsupported echo ============================================================================ echo. echo Sorry, your version is not supported. echo. goto halt
:busy echo ============================================================================ echo. echo Sorry, the server is busy and can't respond to your request. Please try again. echo. :halt pause