@echo off cls rem [Step 1] echo Microsoft (R) Windows Software Licensing. echo Copyright (C) Microsoft Corporation. All rights reserved. echo+ echo Step 1: Select Windows(R) 7 edition. echo+ echo+ echo This tool can help you activate one of the following Windows operating systems: echo A) Windows(R) 7, Professional echo B) Windows(R) 7, Professional N echo C) Windows(R) 7, Enterprise echo D) Windows(R) 7, Enterprise E echo E) Windows(R) 7, Enterprise N echo+ echo F) {Skip this step} echo+ echo+ choice /C ABCDEF /N /M "Select one of the options above (A-F):" IF ERRORLEVEL 6 goto :step2 IF ERRORLEVEL 5 goto :entn IF ERRORLEVEL 4 goto :ente IF ERRORLEVEL 3 goto :ent IF ERRORLEVEL 2 goto :pron IF ERRORLEVEL 1 goto :pro :pro "%SystemRoot%\system32\cscript.exe" "%SystemRoot%\system32\slmgr.vbs" -ipk FJ82H-XT6CR-J8D7P-XQJJ2-GPDD4 pause goto :step2 :pron "%SystemRoot%\system32\cscript.exe" "%SystemRoot%\system32\slmgr.vbs" -ipk MRPKT-YTG23-K7D7T-X2JMM-QY7MG pause goto :step2 :ent "%SystemRoot%\system32\cscript.exe" "%SystemRoot%\system32\slmgr.vbs" -ipk 33PXH-7Y6KF-2VJC9-XBBR8-HVTHH pause goto :step2 :ente "%SystemRoot%\system32\cscript.exe" "%SystemRoot%\system32\slmgr.vbs" -ipk C29WB-22CC8-VJ326-GHFJW-H9DH4 pause goto :step2 :entn "%SystemRoot%\system32\cscript.exe" "%SystemRoot%\system32\slmgr.vbs" -ipk YDRBP-3D83W-TY26F-D46B2-XCKRJ pause :step2 rem [Step 2] cls echo Microsoft (R) Windows Software Licensing. echo Copyright (C) Microsoft Corporation. All rights reserved. echo+ echo Step 2: Select Key Management Service (KMS) host. echo+ echo+ echo The system time on the client computer must match the system time echo on the KMS host. echo You might need to change the time on your computer manually. echo+ echo KMS Host Time Zone echo A) jericho.dlinkddns.com:1688 UTC +3 echo B) windows7kms.ath.cx:1688 UTC +3 echo C) 194.242.116.206:1688 UTC +3 echo D) kms7.mine.nu:1688 UTC +3 echo+ echo E) {Skip this step} echo+ echo+ choice /C ABCD /N /M "Select one of the options above (A-E):" IF ERRORLEVEL 5 goto :step3 IF ERRORLEVEL 4 goto :kms4 IF ERRORLEVEL 3 goto :kms3 IF ERRORLEVEL 2 goto :kms2 IF ERRORLEVEL 1 goto :kms1 :kms1 "%SystemRoot%\system32\cscript.exe" "%SystemRoot%\system32\slmgr.vbs" -skms jericho.dlinkddns.com:1688 pause goto :step3 :kms2 "%SystemRoot%\system32\cscript.exe" "%SystemRoot%\system32\slmgr.vbs" -skms windows7kms.ath.cx:1688 pause goto :step3 :kms3 "%SystemRoot%\system32\cscript.exe" "%SystemRoot%\system32\slmgr.vbs" -skms 194.242.116.206:1688 pause goto :step3 :kms4 "%SystemRoot%\system32\cscript.exe" "%SystemRoot%\system32\slmgr.vbs" -skms kms7.mine.nu:1688 pause goto :step3 :step3 rem [Step 3] cls echo Microsoft (R) Windows Software Licensing. echo Copyright (C) Microsoft Corporation. All rights reserved. echo+ echo Step 3: Activation. echo+ echo+ "%SystemRoot%\system32\cscript.exe" "%SystemRoot%\system32\slmgr.vbs" -ato pause rem [Step 4] cls echo Microsoft (R) Windows Software Licensing. echo Copyright (C) Microsoft Corporation. All rights reserved. echo+ echo Step 4: Activation Status Check echo+ echo+ echo Checking Windows activation status... echo+ echo+ "%SystemRoot%\system32\cscript.exe" "%SystemRoot%\system32\slmgr.vbs" -dli pause