-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathactivate.bat
73 lines (71 loc) · 2.25 KB
/
activate.bat
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
@echo off
@setlocal DisableDelayedExpansion
NET SESSION
IF %ERRORLEVEL% NEQ 0 GOTO ELEVATE
GOTO ADMINTASKS
:ELEVATE
CD /d %~dp0
MSHTA "javascript: var shell = new ActiveXObject('shell.application'); shell.ShellExecute('%~nx0', '', '', 'runas', 1);close();"
EXIT
:ADMINTASKS
:top
color 6
cls
echo:
echo: #### ## ## ## ## ## ## ## ## ## ## ## ####
echo: ## #### ### ### ## ## ## ## ### ## #### ## ## ##
echo: ## ## ## ####### #### ## ## ###### ## ## ## ## ##
echo: ## ###### ## # ## ### ## ## ###### ###### ## #####
echo: ## ## ## ## ## #### ## ## ## ### ## ## ## ##
echo: ## ## ## ## ## ## ## ## ## ## ## ## ## ## ## ##
echo: #### ## ## ## ## ## ## #### ## ## ## ## ###### #### HERE!
echo:
echo SELECT WINDOWS VERSION(CHECK BY TYPING WINVER IN RUN (WIN+R))
echo [1] Home
echo [2] Professional
echo [3] Education
echo [4] Enterprise
echo [5] ProfessionalN
echo [6] Server2016
set "Home=TX9XD-98N7V-6WMQ6-BX7FG-H8Q99"
set "HomeN=3KHY7-WNT83-DGQKR-F7HPR-844BM"
set "HomeSingleLanguage=7HNRX-D7KGG-3K4RQ-4WPJ4-YTDFH"
set "HomeCountrySpecific=PVMJN-6DFY6-9CCP6-7BKTT-D3WVR"
set "Professional=W269N-WFGWX-YVC9B-4J6C9-T83GX"
set "ProfessionalN=MH37W-N47XK-V7XM9-C7227-GCQG9"
set "Education=NW6C2-QMPVW-D7KKK-3GKT6-VCFB2"
set "EducationN=2WH4N-8QGBV-H22JP-CT43Q-MDWWJ"
set "Enterprise=NPPR9-FWDCX-D2C8J-H872K-2YT43"
set "EnterpriseN=DPH2V-TTNVB-4X9Q3-TJR4H-KHJW4"
set "Server=WC2BQ-8NRM3-FDDYY-2BFGV-KHKQY"
choice /C:123456 /M "Enter the value :" /N
set _choice=%errorlevel%
if %_choice% == 1 goto home
if %_choice% == 2 goto Professional
if %_choice% == 3 goto Education
if %_choice% == 4 goto Enterprise
if %_choice% == 5 goto ProfessionalN
if %_choice% == 6 goto Server
:home
slmgr /ipk %Home%
goto final
:Professional
slmgr /ipk %Professional%
goto final
:ProfessionalN
slmgr /ipk %ProfessionalN%
goto final
:Education
slmgr /ipk %Education%
goto final
:Enterprise
slmgr /ipk %Enterprise%
goto final
:Server
slmgr /ipk %Server%
goto final
:final
slmgr /skms kms8.msguides.com
slmgr /ato
pause
goto top