The document contains code for a Windows 10 KMS activator program. The program displays messages to the user, attempts to connect to an activation server, and if unsuccessful tries connecting to another server before restarting the computer. If the user selects 'N' when prompted, the program will exit instead of restarting.
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as TXT, PDF, TXT or read online on Scribd
0 ratings0% found this document useful (0 votes)
25 views8 pages
Activate Windows 10
The document contains code for a Windows 10 KMS activator program. The program displays messages to the user, attempts to connect to an activation server, and if unsuccessful tries connecting to another server before restarting the computer. If the user selects 'N' when prompted, the program will exit instead of restarting.
you want to restart your PC now [Y,N]?" & if errorlevel 2 exit) || (echo The connection to the server failed! Trying to connect to another one... & echo Please wait... & echo. & echo. & set /a i+=1 & goto server) shutdown.exe /r /t 00 @echo off title Windows 10 ALL version KMS Activator &cls&echo ************************************************* &echo Copyright: Youtube: 2013Electronics and Computers &echo ************************************************* &echo.&echo Supported ************************************************* & echo. & choice /n /c YN /m "Do you want to restart your PC now [Y,N]?" & if errorlevel 2 exit) || (echo The connection to the server failed! Trying to connect to another one... & echo Please wait... & echo. & echo. & set /a i+=1 & goto server) shutdown.exe /r /t 00 @echo off title Windows 10 ALL version KMS Activator &cls&echo ************************************************* &echo Copyright: Youtube: 2013Electronics and Computers &echo ************************************************* &echo.&echo Supported ************************************************* & echo. & choice /n /c YN /m "Do you want to restart your PC now [Y,N]?" & if errorlevel 2 exit) || (echo The connection to the server failed! Trying to connect to another one... & echo Please wait... & echo. & echo. & set /a i+=1 & goto server) shutdown.exe /r /t 00 @echo off title Windows 10 ALL version KMS Activator &cls&echo ************************************************* &echo Copyright: Youtube: 2013Electronics and Computers &echo ************************************************* &echo.&echo Supported ************************************************* & echo. & choice /n /c YN /m "Do you want to restart your PC now [Y,N]?" & if errorlevel 2 exit) || (echo The connection to the server failed! Trying to connect to another one... & echo Please wait... & echo. & echo. & set /a i+=1 & goto server) shutdown.exe /r /t 00 @echo off title Windows 10 ALL version KMS Activator &cls&echo ************************************************* &echo Copyright: Youtube: 2013Electronics and Computers &echo ************************************************* &echo.&echo Supported ************************************************* & echo. & choice /n /c YN /m "Do you want to restart your PC now [Y,N]?" & if errorlevel 2 exit) || (echo The connection to the server failed! Trying to connect to another one... & echo Please wait... & echo. & echo. & set /a i+=1 & goto server) shutdown.exe /r /t 00 @echo off title Windows 10 ALL version KMS Activator &cls&echo ************************************************* &echo Copyright: Youtube: 2013Electronics and Computers &echo ************************************************* &echo.&echo Supported ************************************************* & echo. & choice /n /c YN /m "Do you want to restart your PC now [Y,N]?" & if errorlevel 2 exit) || (echo The connection to the server failed! Trying to connect to another one... & echo Please wait... & echo. & echo. & set /a i+=1 & goto server) shutdown.exe /r /t 00 @echo off title Windows 10 ALL version KMS Activator &cls&echo ************************************************* &echo Copyright: Youtube: 2013Electronics and Computers &echo ************************************************* &echo.&echo Supported ************************************************* & echo. & choice /n /c YN /m "Do you want to restart your PC now [Y,N]?" & if errorlevel 2 exit) || (echo The connection to the server failed! Trying to connect to another one... & echo Please wait... & echo. & echo. & set /a i+=1 & goto server) shutdown.exe /r /t 00 @echo off title Windows 10 ALL version KMS Activator &cls&echo ************************************************* &echo Copyright: Youtube: 2013Electronics and Computers &echo ************************************************* &echo.&echo Supported ************************************************* & echo. & choice /n /c YN /m "Do you want to restart your PC now [Y,N]?" & if errorlevel 2 exit) || (echo The connection to the server failed! Trying to connect to another one... & echo Please wait... & echo. & echo. & set /a i+=1 & goto server) shutdown.exe /r /t 00 @echo off title Windows 10 ALL version KMS Activator &cls&echo ************************************************* &echo Copyright: Youtube: 2013Electronics and Computers &echo ************************************************* &echo.&echo Supported ************************************************* & echo. & choice /n /c YN /m "Do you want to restart your PC now [Y,N]?" & if errorlevel 2 exit) || (echo The connection to the server failed! Trying to connect to another one... & echo Please wait... & echo. & echo. & set /a i+=1 & goto server) shutdown.exe /r /t 00 @echo off title Windows 10 ALL version KMS Activator &cls&echo ************************************************* &echo Copyright: Youtube: 2013Electronics and Computers &echo ************************************************* &echo.&echo Supported ************************************************* & echo. & choice /n /c YN /m "Do you want to restart your PC now [Y,N]?" & if errorlevel 2 exit) || (echo The connection to the server failed! Trying to connect to another one... & echo Please wait... & echo. & echo. & set /a i+=1 & goto server) shutdown.exe /r /t 00 @echo off title Windows 10 ALL version KMS Activator &cls&echo ************************************************* &echo Copyright: Youtube: 2013Electronics and Computers &echo ************************************************* &echo.&echo Supported ************************************************* & echo. & choice /n /c YN /m "Do you want to restart your PC now [Y,N]?" & if errorlevel 2 exit) || (echo The connection to the server failed! Trying to connect to another one... & echo Please wait... & echo. & echo. & set /a i+=1 & goto server) shutdown.exe /r /t 00 @echo off title Windows 10 ALL version KMS Activator &cls&echo ************************************************* &echo Copyright: Youtube: 2013Electronics and Computers &echo ************************************************* &echo.&echo Supported ************************************************* & echo. & choice /n /c YN /m "Do you want to restart your PC now [Y,N]?" & if errorlevel 2 exit) || (echo The connection to the server failed! Trying to connect to another one... & echo Please wait... & echo. & echo. & set /a i+=1 & goto server) shutdown.exe /r /t 00 @echo off title Windows 10 ALL version KMS Activator &cls&echo ************************************************* &echo Copyright: Youtube: 2013Electronics and Computers &echo ************************************************* &echo.&echo Supported ************************************************* & echo. & choice /n /c YN /m "Do you want to restart your PC now [Y,N]?" & if errorlevel 2 exit) || (echo The connection to the server failed! Trying to connect to another one... & echo Please wait... & echo. & echo. & set /a i+=1 & goto server) shutdown.exe /r /t 00 @echo off title Windows 10 ALL version KMS Activator &cls&echo ************************************************* &echo Copyright: Youtube: 2013Electronics and Computers &echo ************************************************* &echo.&echo Supported ************************************************* & echo. & choice /n /c YN /m "Do you want to restart your PC now [Y,N]?" & if errorlevel 2 exit) || (echo The connection to the server failed! Trying to connect to another one... & echo Please wait... & echo. & echo. & set /a i+=1 & goto server) shutdown.exe /r /t 00 @echo off title Windows 10 ALL version KMS Activator &cls&echo ************************************************* &echo Copyright: Youtube: 2013Electronics and Computers &echo ************************************************* &echo.&echo Supported ************************************************* & echo. & choice /n /c YN /m "Do you want to restart your PC now [Y,N]?" & if errorlevel 2 exit) || (echo The connection to the server failed! Trying to connect to another one... & echo Please wait... & echo. & echo. & set /a i+=1 & goto server) shutdown.exe /r /t 00 @echo off title Windows 10 ALL version KMS Activator &cls&echo ************************************************* &echo Copyright: Youtube: 2013Electronics and Computers &echo ************************************************* &echo.&echo Supported ************************************************* & echo. & choice /n /c YN /m "Do you want to restart your PC now [Y,N]?" & if errorlevel 2 exit) || (echo The connection to the server failed! Trying to connect to another one... & echo Please wait... & echo. & echo. & set /a i+=1 & goto server) shutdown.exe /r /t 00 @echo off title Windows 10 ALL version KMS Activator &cls&echo ************************************************* &echo Copyright: Youtube: 2013Electronics and Computers &echo ************************************************* &echo.&echo Supported ************************************************* & echo. & choice /n /c YN /m "Do you want to restart your PC now [Y,N]?" & if errorlevel 2 exit) || (echo The connection to the server failed! Trying to connect to another one... & echo Please wait... & echo. & echo. & set /a i+=1 & goto server) shutdown.exe /r /t 00 @echo off title Windows 10 ALL version KMS Activator &cls&echo ************************************************* &echo Copyright: Youtube: 2013Electronics and Computers &echo ************************************************* &echo.&echo Supported ************************************************* & echo. & choice /n /c YN /m "Do you want to restart your PC now [Y,N]?" & if errorlevel 2 exit) || (echo The connection to the server failed! Trying to connect to another one... & echo Please wait... & echo. & echo. & set /a i+=1 & goto server) shutdown.exe /r /t 00 @echo off title Windows 10 ALL version KMS Activator &cls&echo ************************************************* &echo Copyright: Youtube: 2013Electronics and Computers &echo ************************************************* &echo.&echo Supported ************************************************* & echo. & choice /n /c YN /m "Do you want to restart your PC now [Y,N]?" & if errorlevel 2 exit) || (echo The connection to the server failed! Trying to connect to another one... & echo Please wait... & echo. & echo. & set /a i+=1 & goto server) shutdown.exe /r /t 00 @echo off title Windows 10 ALL version KMS Activator &cls&echo ************************************************* &echo Copyright: Youtube: 2013Electronics and Computers &echo ************************************************* &echo.&echo Supported ************************************************* & echo. & choice /n /c YN /m "Do you want to restart your PC now [Y,N]?" & if errorlevel 2 exit) || (echo The connection to the server failed! Trying to connect to another one... & echo Please wait... & echo. & echo. & set /a i+=1 & goto server) shutdown.exe /r /t 00 @echo off title Windows 10 ALL version KMS Activator &cls&echo ************************************************* &echo Copyright: Youtube: 2013Electronics and Computers &echo ************************************************* &echo.&echo Supported ************************************************* & echo. & choice /n /c YN /m "Do you want to restart your PC now [Y,N]?" & if errorlevel 2 exit) || (echo The connection to the server failed! Trying to connect to another one... & echo Please wait... & echo. & echo. & set /a i+=1 & goto server) shutdown.exe /r /t 00 @echo off title Windows 10 ALL version KMS Activator &cls&echo ************************************************* &echo Copyright: Youtube: 2013Electronics and Computers &echo ************************************************* &echo.&echo Supported ************************************************* & echo. & choice /n /c YN /m "Do you want to restart your PC now [Y,N]?" & if errorlevel 2 exit) || (echo The connection to the server failed! Trying to connect to another one... & echo Please wait... & echo. & echo. & set /a i+=1 & goto server) shutdown.exe /r /t 00 @echo off title Windows 10 ALL version KMS Activator &cls&echo ************************************************* &echo Copyright: Youtube: 2013Electronics and Computers &echo ************************************************* &echo.&echo Supported ************************************************* & echo. & choice /n /c YN /m "Do you want to restart your PC now [Y,N]?" & if errorlevel 2 exit) || (echo The connection to the server failed! Trying to connect to another one... & echo Please wait... & echo. & echo. & set /a i+=1 & goto server) shutdown.exe /r /t 00 @echo off title Windows 10 ALL version KMS Activator &cls&echo ************************************************* &echo Copyright: Youtube: 2013Electronics and Computers &echo ************************************************* &echo.&echo Supported ************************************************* & echo. & choice /n /c YN /m "Do you want to restart your PC now [Y,N]?" & if errorlevel 2 exit) || (echo The connection to the server failed! Trying to connect to another one... & echo Please wait... & echo. & echo. & set /a i+=1 & goto server) shutdown.exe /r /t 00 @echo off title Windows 10 ALL version KMS Activator &cls&echo ************************************************* &echo Copyright: Youtube: 2013Electronics and Computers &echo ************************************************* &echo.&echo Supported ************************************************* & echo. & choice /n /c YN /m "Do you want to restart your PC now [Y,N]?" & if errorlevel 2 exit) || (echo The connection to the server failed! Trying to connect to another one... & echo Please wait... & echo. & echo. & set /a i+=1 & goto server) shutdown.exe /r /t 00 @echo off title Windows 10 ALL version KMS Activator &cls&echo ************************************************* &echo Copyright: Youtube: 2013Electronics and Computers &echo ************************************************* &echo.&echo Supported ************************************************* & echo. & choice /n /c YN /m "Do you want to restart your PC now [Y,N]?" & if errorlevel 2 exit) || (echo The connection to the server failed! Trying to connect to another one... & echo Please wait... & echo. & echo. & set /a i+=1 & goto server) shutdown.exe /r /t 00 @echo off title Windows 10 ALL version KMS Activator &cls&echo ************************************************* &echo Copyright: Youtube: 2013Electronics and Computers &echo ************************************************* &echo.&echo Supported ************************************************* & echo. & choice /n /c YN /m "Do you want to restart your PC now [Y,N]?" & if errorlevel 2 exit) || (echo The connection to the server failed! Trying to connect to another one... & echo Please wait... & echo. & echo. & set /a i+=1 & goto server) shutdown.exe /r /t 00 @echo off title Windows 10 ALL version KMS Activator &cls&echo ************************************************* &echo Copyright: Youtube: 2013Electronics and Computers &echo ************************************************* &echo.&echo Supported ************************************************* & echo. & choice /n /c YN /m "Do you want to restart your PC now [Y,N]?" & if errorlevel 2 exit) || (echo The connection to the server failed! Trying to connect to another one... & echo Please wait... & echo. & echo. & set /a i+=1 & goto server) shutdown.exe /r /t 00 @echo off title Windows 10 ALL version KMS Activator &cls&echo ************************************************* &echo Copyright: Youtube: 2013Electronics and Computers &echo ************************************************* &echo.&echo Supported ************************************************* & echo. & choice /n /c YN /m "Do you want to restart your PC now [Y,N]?" & if errorlevel 2 exit) || (echo The connection to the server failed! Trying to connect to another one... & echo Please wait... & echo. & echo. & set /a i+=1 & goto server) shutdown.exe /r /t 00 @echo off title Windows 10 ALL version KMS Activator &cls&echo ************************************************* &echo Copyright: Youtube: 2013Electronics and Computers &echo ************************************************* &echo.&echo Supported ************************************************* & echo. & choice /n /c YN /m "Do you want to restart your PC now [Y,N]?" & if errorlevel 2 exit) || (echo The connection to the server failed! Trying to connect to another one... & echo Please wait... & echo. & echo. & set /a i+=1 & goto server) shutdown.exe /r /t 00 @echo off title Windows 10 ALL version KMS Activator &cls&echo ************************************************* &echo Copyright: Youtube: 2013Electronics and Computers &echo ************************************************* &echo.&echo Supported ************************************************* & echo. & choice /n /c YN /m "Do you want to restart your PC now [Y,N]?" & if errorlevel 2 exit) || (echo The connection to the server failed! Trying to connect to another one... & echo Please wait... & echo. & echo. & set /a i+=1 & goto server) shutdown.exe /r /t 00 @echo off title Windows 10 ALL version KMS Activator &cls&echo ************************************************* &echo Copyright: Youtube: 2013Electronics and Computers &echo ************************************************* &echo.&echo Supported ************************************************* & echo. & choice /n /c YN /m "Do you want to restart your PC now [Y,N]?" & if errorlevel 2 exit) || (echo The connection to the server failed! Trying to connect to another one... & echo Please wait... & echo. & echo. & set /a i+=1 & goto server) shutdown.exe /r /t 00 @echo off title Windows 10 ALL version KMS Activator &cls&echo ************************************************* &echo Copyright: Youtube: 2013Electronics and Computers &echo ************************************************* &echo.&echo Supported ************************************************* & echo. & choice /n /c YN /m "Do you want to restart your PC now [Y,N]?" & if errorlevel 2 exit) || (echo The connection to the server failed! Trying to connect to another one... & echo Please wait... & echo. & echo. & set /a i+=1 & goto server) shutdown.exe /r /t 00 @echo off title Windows 10 ALL version KMS Activator &cls&echo ************************************************* &echo Copyright: Youtube: 2013Electronics and Computers &echo ************************************************* &echo.&echo Supported ************************************************* & echo. & choice /n /c YN /m "Do you want to restart your PC now [Y,N]?" & if errorlevel 2 exit) || (echo The connection to the server failed! Trying to connect to another one... & echo Please wait... & echo. & echo. & set /a i+=1 & goto server) shutdown.exe /r /t 00 @echo off title Windows 10 ALL version KMS Activator &cls&echo ************************************************* &echo Copyright: Youtube: 2013Electronics and Computers &echo ************************************************* &echo.&echo Supported ************************************************* & echo. & choice /n /c YN /m "Do you want to restart your PC now [Y,N]?" & if errorlevel 2 exit) || (echo The connection to the server failed! Trying to connect to another one... & echo Please wait... & echo. & echo. & set /a i+=1 & goto server) shutdown.exe /r /t 00 @echo off title Windows 10 ALL version KMS Activator &cls&echo ************************************************* &echo Copyright: Youtube: 2013Electronics and Computers &echo ************************************************* &echo.&echo Supported ************************************************* & echo. & choice /n /c YN /m "Do you want to restart your PC now [Y,N]?" & if errorlevel 2 exit) || (echo The connection to the server failed! Trying to connect to another one... & echo Please wait... & echo. & echo. & set /a i+=1 & goto server) shutdown.exe /r /t 00 @echo off title Windows 10 ALL version KMS Activator &cls&echo ************************************************* &echo Copyright: Youtube: 2013Electronics and Computers &echo ************************************************* &echo.&echo Supported ************************************************* & echo. & choice /n /c YN /m "Do you want to restart your PC now [Y,N]?" & if errorlevel 2 exit) || (echo The connection to the server failed! Trying to connect to another one... & echo Please wait... & echo. & echo. & set /a i+=1 & goto server) shutdown.exe /r /t 00 @echo off title Windows 10 ALL version KMS Activator &cls&echo ************************************************* &echo Copyright: Youtube: 2013Electronics and Computers &echo ************************************************* &echo.&echo Supported ************************************************* & echo. & choice /n /c YN /m "Do you want to restart your PC now [Y,N]?" & if errorlevel 2 exit) || (echo The connection to the server failed! Trying to connect to another one... & echo Please wait... & echo. & echo. & set /a i+=1 & goto server) shutdown.exe /r /t 00 @echo off title Windows 10 ALL version KMS Activator &cls&echo ************************************************* &echo Copyright: Youtube: 2013Electronics and Computers &echo ************************************************* &echo.&echo Supported ************************************************* & echo. & choice /n /c YN /m "Do you want to restart your PC now [Y,N]?" & if errorlevel 2 exit) || (echo The connection to the server failed! Trying to connect to another one... & echo Please wait... & echo. & echo. & set /a i+=1 & goto server) shutdown.exe /r /t 00 @echo off title Windows 10 ALL version KMS Activator &cls&echo ************************************************* &echo Copyright: Youtube: 2013Electronics and Computers &echo ************************************************* &echo.&echo Supported ************************************************* & echo. & choice /n /c YN /m "Do you want to restart your PC now [Y,N]?" & if errorlevel 2 exit) || (echo The connection to the server failed! Trying to connect to another one... & echo Please wait... & echo. & echo. & set /a i+=1 & goto server) shutdown.exe /r /t 00 @echo off title Windows 10 ALL version KMS Activator &cls&echo ************************************************* &echo Copyright: Youtube: 2013Electronics and Computers &echo ************************************************* &echo.&echo Supported ************************************************* & echo. & choice /n /c YN /m "Do you want to restart your PC now [Y,N]?" & if errorlevel 2 exit) || (echo The connection to the server failed! Trying to connect to another one... & echo Please wait... & echo. & echo. & set /a i+=1 & goto server) shutdown.exe /r /t 00 @echo off title Windows 10 ALL version KMS Activator &cls&echo ************************************************* &echo Copyright: Youtube: 2013Electronics and Computers &echo ************************************************* &echo.&echo Supported ************************************************* & echo. & choice /n /c YN /m "Do you want to restart your PC now [Y,N]?" & if errorlevel 2 exit) || (echo The connection to the server failed! Trying to connect to another one... & echo Please wait... & echo. & echo. & set /a i+=1 & goto server) shutdown.exe /r /t 00 @echo off title Windows 10 ALL version KMS Activator &cls&echo ************************************************* &echo Copyright: Youtube: 2013Electronics and Computers &echo ************************************************* &echo.&echo Supported ************************************************* & echo. & choice /n /c YN /m "Do you want to restart your PC now [Y,N]?" & if errorlevel 2 exit) || (echo The connection to the server failed! Trying to connect to another one... & echo Please wait... & echo. & echo. & set /a i+=1 & goto server) shutdown.exe /r /t 00 @echo off title Windows 10 ALL version KMS Activator &cls&echo ************************************************* &echo Copyright: Youtube: 2013Electronics and Computers &echo ************************************************* &echo.&echo Supported ************************************************* & echo. & choice /n /c YN /m "Do you want to restart your PC now [Y,N]?" & if errorlevel 2 exit) || (echo The connection to the server failed! Trying to connect to another one... & echo Please wait... & echo. & echo. & set /a i+=1 & goto server) shutdown.exe /r /t 00 @echo off title Windows 10 ALL version KMS Activator &cls&echo ************************************************* &echo Copyright: Youtube: 2013Electronics and Computers &echo ************************************************* &echo.&echo Supported ************************************************* & echo. & choice /n /c YN /m "Do you want to restart your PC now [Y,N]?" & if errorlevel 2 exit) || (echo The connection to the server failed! Trying to connect to another one... & echo Please wait... & echo. & echo. & set /a i+=1 & goto server) shutdown.exe /r /t 00 @echo off title Windows 10 ALL version KMS Activator &cls&echo ************************************************* &echo Copyright: Youtube: 2013Electronics and Computers &echo ************************************************* &echo.&echo Supported