Skip to content

Commit

Permalink
Init Switch.bat
Browse files Browse the repository at this point in the history
  • Loading branch information
TerryHuangHD authored Mar 27, 2020
1 parent 43bd3cc commit f432689
Showing 1 changed file with 48 additions and 0 deletions.
48 changes: 48 additions & 0 deletions Switch.bat
Original file line number Diff line number Diff line change
@@ -0,0 +1,48 @@
@echo off

:start
cls
ECHO *******************************
ECHO * Windows 10 Version Switcher *
ECHO *******************************
ECHO 1. Windows 10 Pro
ECHO 2. Windows 10 Pro VL
ECHO 3. Windows 10 Education VL
ECHO 4. Windows 10 Enterprise VL
ECHO 5. Exit
ECHO.

set choice=
set /p choice=Select Version:

if not '%choice%'=='' set choice=%choice:~0,1%
if '%choice%'=='1' goto to_pro
if '%choice%'=='2' goto to_pro_vl
if '%choice%'=='3' goto to_edu_vl
if '%choice%'=='4' goto to_ent_vl
if '%choice%'=='5' goto end
goto start

:to_pro
changepk /ProductKey VK7JG-NPHTM-C97JM-9MPGT-3V66T
goto finish

:to_pro_vl
changepk /ProductKey W269N-WFGWX-YVC9B-4J6C9-T83GX
goto finish

:to_edu_vl
changepk /ProductKey NW6C2-QMPVW-D7KKK-3GKT6-VCFB2
goto finish

:to_ent_vl
changepk /ProductKey NPPR9-FWDCX-D2C8J-H872K-2YT43
goto finish

:finish
ECHO.
ECHO Switched Successfully

:end
ECHO.
pause

0 comments on commit f432689

Please sign in to comment.