Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
9 changes: 7 additions & 2 deletions activator.bat
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,9 @@ ECHO 11. Enterprise 2015 LTSB
ECHO 12. Enterprise 2015 LTSB N
ECHO 13. Enterprise 2016 LTSB
ECHO 14. Enterprise 2016 LTSB N
ECHO 15. End
ECHO 15. Enterprise 2021 LTSC
ECHO 16. Enterprise 2021 LTSC N
ECHO 17. End

set choice=
set /p choice=Select Your Operating System to Continue.
Expand All @@ -49,7 +51,9 @@ if %choice%==11 set productKey=WNMTR-4C88C-JK8YV-HQ7T2-76DF9
if %choice%==12 set productKey=2F77B-TNFGY-69QQF-B8YKP-D69TJ
if %choice%==13 set productKey=DCPHK-NFMTC-H88MJ-PFHPY-QJ4BJ
if %choice%==14 set productKey=QFFDN-GRT3P-VKWWX-X7T3R-8B639
if %choice%==15 goto end
if %choice%==15 set productKey=M7XTQ-FN8P6-TTKYV-9D4CC-J462D
if %choice%==16 set productKey=92NFX-8DJQP-P6BBQ-THF9C-7CG2H
if %choice%==17 goto end

if "%productKey%"=="" (
echo "%choice%" is not valid, try again
Expand All @@ -72,3 +76,4 @@ set /P c=Would You Like to quit[Y/N]?
CLS
if /I "%c%" EQU "Y" goto :Exit
if /I "%c%" EQU "N" goto :start