Skip to content

Instantly share code, notes, and snippets.

@ojmarcelino
Created March 2, 2023 11:35
Show Gist options
  • Save ojmarcelino/e54402c6d5d73e06fd463f73b01796c3 to your computer and use it in GitHub Desktop.
Save ojmarcelino/e54402c6d5d73e06fd463f73b01796c3 to your computer and use it in GitHub Desktop.
A simple Windows 10 script to change version
@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 XKCNC-J26Q9-KFHD2-FKTHY-KD72Y
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
exit
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment