-
Notifications
You must be signed in to change notification settings - Fork 21
/
Mondo2016.cmd
734 lines (557 loc) · 27.1 KB
/
Mondo2016.cmd
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
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
465
466
467
468
469
470
471
472
473
474
475
476
477
478
479
480
481
482
483
484
485
486
487
488
489
490
491
492
493
494
495
496
497
498
499
500
501
502
503
504
505
506
507
508
509
510
511
512
513
514
515
516
517
518
519
520
521
522
523
524
525
526
527
528
529
530
531
532
533
534
535
536
537
538
539
540
541
542
543
544
545
546
547
548
549
550
551
552
553
554
555
556
557
558
559
560
561
562
563
564
565
566
567
568
569
570
571
572
573
574
575
576
577
578
579
580
581
582
583
584
585
586
587
588
589
590
591
592
593
594
595
596
597
598
599
600
601
602
603
604
605
606
607
608
609
610
611
612
613
614
615
616
617
618
619
620
621
622
623
624
625
626
627
628
629
630
631
632
633
634
635
636
637
638
639
640
641
642
643
644
645
646
647
648
649
650
651
652
653
654
655
656
657
658
659
660
661
662
663
664
665
666
667
668
669
670
671
672
673
674
675
676
677
678
679
680
681
682
683
684
685
686
687
688
689
690
691
692
693
694
695
696
697
698
699
700
701
702
703
704
705
706
707
708
709
710
711
712
713
714
715
716
717
718
719
720
721
722
723
724
725
726
727
728
729
730
731
732
733
734
@echo off
color F0
mode con cols=98 lines=30
title Activate Office 365 Mondo, 2021, 2019, 2016, 2013, 2010 - https://github.com/BsNgChiThanh
setlocal EnableExtensions EnableDelayedExpansion
:======================================================================================================================================================
:MAINMENU
cls
mode con cols=98 lines=30
echo.
echo. BSCK1. NGUYEN CHI THANH
echo. _________________________________________________________
echo. ^| ^|
Echo. ^| [1] 365 Mondo. ^|
Echo. ^| ^|
Echo. ^| [2] Office 2021 ^|
Echo. ^| ^|
Echo. ^| [3] Office 2019 ^|
echo. ^| ^|
echo. ^| [4] Office 2016 ^|
echo. ^| ^|
echo. ^| [5] Office 2013 ^|
echo. ^| ^|
echo. ^| [6] Office 2010 ^|
echo. ^| ^|
Echo. ^| [7] Thoat. ^|
Echo. ^|_________________________________________________________^|
ECHO.
choice /C:1234567 /N /M ". Nhap lua chon cua ban [1,2,3,4,5,6,7] : "
if errorlevel 7 goto:Exit
if errorlevel 6 goto:Office2010
if errorlevel 5 goto:Office2013
if errorlevel 4 goto:Office2016
if errorlevel 3 goto:Office2019
if errorlevel 2 goto:Office2021
if errorlevel 1 goto:365Mondo
:======================================================================================================================================================
:365Mondo
cls
color F0
mode con cols=98 lines=30
echo Activating your Microsft Office 365 Mondo...
(if exist "%ProgramFiles%\Microsoft Office\Office16\ospp.vbs" cd /d "%ProgramFiles%\Microsoft Office\Office16")
(if exist "%ProgramFiles(x86)%\Microsoft Office\Office16\ospp.vbs" cd /d "%ProgramFiles(x86)%\Microsoft Office\Office16")
(for /f %%x in ('dir /b ..\root\Licenses16\MondoVL_KMS_Client-ppd.xrm-ms') do cscript ospp.vbs /inslic:"..\root\Licenses16\%%x" >nul)
(for /f %%x in ('dir /b ..\root\Licenses16\MondoVL_KMS_Client-ul-oob.xrm-ms') do cscript ospp.vbs /inslic:"..\root\Licenses16\%%x" >nul)
(for /f %%x in ('dir /b ..\root\Licenses16\MondoVL_KMS_Client-ul.xrm-ms') do cscript ospp.vbs /inslic:"..\root\Licenses16\%%x" >nul)
(for /f %%x in ('dir /b ..\root\Licenses16\MondoVL_MAK-pl.xrm-ms') do cscript ospp.vbs /inslic:"..\root\Licenses16\%%x" >nul)
(for /f %%x in ('dir /b ..\root\Licenses16\MondoVL_MAK-ppd.xrm-ms') do cscript ospp.vbs /inslic:"..\root\Licenses16\%%x" >nul)
(for /f %%x in ('dir /b ..\root\Licenses16\MondoVL_MAK-ul-oob.xrm-ms') do cscript ospp.vbs /inslic:"..\root\Licenses16\%%x" >nul)
(for /f %%x in ('dir /b ..\root\Licenses16\MondoVL_MAK-ul-phn.xrm-ms') do cscript ospp.vbs /inslic:"..\root\Licenses16\%%x" >nul)
cscript ospp.vbs /setprt:1688
cscript ospp.vbs /inpkey:DMTCJ-KNRKX-26982-JYCKT-P7KB6
cscript ospp.vbs /inpkey:HFTND-W9MK4-8B7MJ-B6C4G-XQBR2
cscript ospp.vbs /sethst:107.175.77.7
cscript ospp.vbs /sethst:172.16.0.2
cscript ospp.vbs /act
echo.
echo.
echo Bam phim bat ki de ve menu chinh
:notsupported
:halt
pause >nul
goto:MAINMENU
===============================================================================================
:Office2021
===========================================================
cls
mode con cols=98 lines=30
echo. BSCK1. NGUYEN CHI THANH
echo. _________________________________________________________
echo. ^| ^|
Echo. ^| [1] Office 2021 Prolus. ^|
Echo. ^| ^|
Echo. ^| [2] Project 2021. ^|
Echo. ^| ^|
Echo. ^| [3] Visio 2021 ^|
echo. ^| ^|
echo. ^| [4] Ve Menu chinh ^|
echo. ^| ^|
Echo. ^|_________________________________________________________^|
ECHO.
choice /C:1234 /N /M ". Nhap lua chon cua ban [1,2,3,4] : "
if errorlevel 4 goto:MAINMENU
if errorlevel 3 goto:Visio2021
if errorlevel 2 goto:Project2021
if errorlevel 1 goto:Office2021Prolus
===========================================================
:Office2021Prolus
cls
color F0
mode con cols=98 lines=30
echo Activating your Microsoft Office 2021...
(if exist "%ProgramFiles%\Microsoft Office\Office16\ospp.vbs" cd /d "%ProgramFiles%\Microsoft Office\Office16")
(if exist "%ProgramFiles(x86)%\Microsoft Office\Office16\ospp.vbs" cd /d "%ProgramFiles(x86)%\Microsoft Office\Office16")
(for /f %%x in ('dir /b ..\root\Licenses16\ProPlus2021VL_KMS*.xrm-ms') do cscript ospp.vbs /inslic:"..\root\Licenses16\%%x" >nul)
script ospp.vbs /setprt:1688
cscript ospp.vbs /inpkey:FXYTK-NJJ8C-GB6DW-3DYQT-6F7TH
cscript ospp.vbs /inpkey:KDX7X-BNVR8-TXXGX-4Q7Y8-78VT3
cscript ospp.vbs /inpkey:QHFBN-HQQP9-VXTX3-CWPX2-P9289
cscript ospp.vbs /inpkey:32VWH-NFWM2-H2XCY-MWDYQ-4GGXH
cscript ospp.vbs /sethst:107.175.77.7
cscript ospp.vbs /sethst:172.16.0.2
cscript ospp.vbs /act
echo.
echo.
echo Bam phim bat ki de ve menu chinh
:notsupported
:halt
pause >nul
goto:MAINMENU
:===========================================================
:Project 2021
cls
color F0
mode con cols=98 lines=30
echo Activating Microsoft Project 2021...
cd /d %ProgramFiles%\Microsoft Office\Office16
cd /d %ProgramFiles(x86)%\Microsoft Office\Office16
cscript //nologo ospp.vbs /inslic:"..\root\Licenses16\pkeyconfig-office.xrm-ms" >nul
(for /f %%x in ('dir /b ..\root\Licenses16\client-issuance*.xrm-ms') do cscript ospp.vbs /inslic:"..\root\Licenses16\%%x" >nul)
(for /f %%x in ('dir /b ..\root\Licenses16\projectprovl_kms*.xrm-ms') do cscript ospp.vbs /inslic:"..\root\Licenses16\%%x" >nul)
(for /f %%x in ('dir /b ..\root\Licenses16\projectpro2021vl_kms*.xrm-ms') do cscript ospp.vbs /inslic:"..\root\Licenses16\%%x" >nul)
cscript ospp.vbs /setprt:1688
cscript ospp.vbs /inpkey:FTNWT-C6WBT-8HMGF-K9PRX-QV9H8
cscript ospp.vbs /inpkey:J2JDC-NJCYY-9RGQ4-YXWMH-T3D4T
cscript ospp.vbs /sethst:107.175.77.7
cscript ospp.vbs /sethst:172.16.0.2
cscript ospp.vbs /act
echo.
echo.
echo Bam phim bat ki de ve menu chinh
:notsupported
:halt
pause >nul
goto:MAINMENU
:===========================================================
:Visio2021
cls
color F0
mode con cols=98 lines=30
echo Activating Microsoft Visio 2021...
(if exist "%ProgramFiles%\Microsoft Office\Office16\ospp.vbs" cd /d "%ProgramFiles%\Microsoft Office\Office16")
(if exist "%ProgramFiles(x86)%\Microsoft Office\Office16\ospp.vbs" cd /d "%ProgramFiles(x86)%\Microsoft Office\Office16")
(cscript //nologo ospp.vbs /setprt:1688 >nul || goto wshdisabled)&cscript //nologo ospp.vbs /inslic:"..\root\Licenses16\pkeyconfig-office.xrm-ms" >nul
(for /f %%x in ('dir /b ..\root\Licenses16\client-issuance*.xrm-ms') do cscript ospp.vbs /inslic:"..\root\Licenses16\%%x" >nul)
(for /f %%x in ('dir /b ..\root\Licenses16\visioprovl_kms*.xrm-ms') do cscript ospp.vbs /inslic:"..\root\Licenses16\%%x" >nul)
(for /f %%x in ('dir /b ..\root\Licenses16\visiopro2021vl_kms*.xrm-ms') do cscript ospp.vbs /inslic:"..\root\Licenses16\%%x" >nul)
cscript ospp.vbs /setprt:1688
cscript ospp.vbs /inpkey:KNH8D-FGHT4-T8RK3-CTDYJ-K2HT4
cscript ospp.vbs /inpkey:MJVNY-BYWPY-CWV6J-2RKRT-4M8QG
cscript ospp.vbs /sethst:107.175.77.7
cscript ospp.vbs /sethst:172.16.0.2
cscript ospp.vbs /act
echo.
echo.
echo Bam phim bat ki de ve menu chinh
:notsupported
:halt
pause >nul
goto:MAINMENU
===============================================================================================
:===========================================================
:Office2019
===========================================================
cls
mode con cols=98 lines=30
echo. BSCK1. NGUYEN CHI THANH
echo. _________________________________________________________
echo. ^| ^|
Echo. ^| [1] Office 2019 Prolus. ^|
Echo. ^| ^|
Echo. ^| [2] Project 2019. ^|
Echo. ^| ^|
Echo. ^| [3] Visio 2019 ^|
echo. ^| ^|
echo. ^| [4] Ve Menu chinh ^|
echo. ^| ^|
Echo. ^|_________________________________________________________^|
ECHO.
choice /C:1234 /N /M ". Nhap lua chon cua ban [1,2,3,4] : "
if errorlevel 4 goto:MAINMENU
if errorlevel 3 goto:Visio2019
if errorlevel 2 goto:Project2019
if errorlevel 1 goto:Office2019Prolus
===========================================================
:Office2019Prolus
cls
color F0
mode con cols=98 lines=30
echo Activating your Microsoft Office 2019...
(if exist "%ProgramFiles%\Microsoft Office\Office16\ospp.vbs" cd /d "%ProgramFiles%\Microsoft Office\Office16")
(if exist "%ProgramFiles(x86)%\Microsoft Office\Office16\ospp.vbs" cd /d "%ProgramFiles(x86)%\Microsoft Office\Office16")
(for /f %%x in ('dir /b ..\root\Licenses16\ProPlus2019VL*.xrm-ms') do cscript ospp.vbs /inslic:"..\root\Licenses16\%%x" >nul)
(for /f %%x in ('dir /b ..\root\Licenses16\ProPlus2019VL*.xrm-ms') do cscript ospp.vbs /inslic:"..\root\Licenses16\%%x" >nul)
echo.
cscript ospp.vbs /setprt:1688
cscript ospp.vbs /inpkey:NMMKJ-6RK4F-KMJVX-8D9MJ-6MWKP
cscript ospp.vbs /inpkey:6NWWJ-YQWMR-QKGCB-6TMB3-9D9HK
cscript ospp.vbs /inpkey:GGNVX-TPWVT-XR67G-F2BXJ-7FVQD
cscript ospp.vbs /sethst:107.175.77.7
cscript ospp.vbs /sethst:172.16.0.2
cscript ospp.vbs /act
echo.
echo.
echo Bam phim bat ki de ve menu chinh
:notsupported
:halt
pause >nul
goto:MAINMENU
:===========================================================
:Project2019
cls
color F0
mode con cols=98 lines=30
echo Activating Microsoft Project Professional Plus 2019...
(if exist "%ProgramFiles%\Microsoft Office\Office16\ospp.vbs" cd /d "%ProgramFiles%\Microsoft Office\Office16")
(if exist "%ProgramFiles(x86)%\Microsoft Office\Office16\ospp.vbs" cd /d "%ProgramFiles(x86)%\Microsoft Office\Office16")
cscript //nologo ospp.vbs /inslic:"..\root\Licenses16\pkeyconfig-office.xrm-ms" >nul
(for /f %%x in ('dir /b ..\root\Licenses16\client-issuance*.xrm-ms') do cscript ospp.vbs /inslic:"..\root\Licenses16\%%x" >nul)
(for /f %%x in ('dir /b ..\root\Licenses16\projectprovl_kms*.xrm-ms') do cscript ospp.vbs /inslic:"..\root\Licenses16\%%x" >nul)
cscript ospp.vbs /setprt:1688
cscript ospp.vbs /inpkey:B4NPR-3FKK7-T2MBV-FRQ4W-PKD2B
cscript ospp.vbs /inpkey:C4F7P-NCP8C-6CQPT-MQHV9-JXD2M
cscript ospp.vbs /sethst:107.175.77.7
cscript ospp.vbs /sethst:172.16.0.2
cscript ospp.vbs /act
echo.
echo.
echo Bam phim bat ki de ve menu chinh
:notsupported
:halt
pause >nul
goto:MAINMENU
:===========================================================
:Visio2019
cls
color F0
mode con cols=98 lines=30
echo Activating Microsoft Visio 2019...
(if exist "%ProgramFiles%\Microsoft Office\Office16\ospp.vbs" cd /d "%ProgramFiles%\Microsoft Office\Office16")
(if exist "%ProgramFiles(x86)%\Microsoft Office\Office16\ospp.vbs" cd /d "%ProgramFiles(x86)%\Microsoft Office\Office16")
(cscript //nologo ospp.vbs /setprt:1688 >nul || goto wshdisabled)&cscript //nologo ospp.vbs /inslic:"..\root\Licenses16\pkeyconfig-office.xrm-ms" >nul
(for /f %%x in ('dir /b ..\root\Licenses16\client-issuance*.xrm-ms') do cscript ospp.vbs /inslic:"..\root\Licenses16\%%x" >nul)
(for /f %%x in ('dir /b ..\root\Licenses16\visioprovl_kms*.xrm-ms') do cscript ospp.vbs /inslic:"..\root\Licenses16\%%x" >nul)
(for /f %%x in ('dir /b ..\root\Licenses16\visiopro2019vl_kms*.xrm-ms') do cscript ospp.vbs /inslic:"..\root\Licenses16\%%x" >nul)
cscript ospp.vbs /setprt:1688
cscript ospp.vbs /inpkey:9BGNQ-K37YR-RQHF2-38RQ3-7VCBB
cscript ospp.vbs /inpkey:7TQNQ-K3YQQ-3PFH7-CCPPM-X4VQ2
cscript ospp.vbs /sethst:107.175.77.7
cscript ospp.vbs /sethst:172.16.0.2
cscript ospp.vbs /act
echo.
echo.
echo Bam phim bat ki de ve menu chinh
:notsupported
:halt
pause >nul
goto:MAINMENU
:===========================================================
:Office2016
===========================================================
cls
mode con cols=98 lines=30
echo. BSCK1. NGUYEN CHI THANH
echo. _________________________________________________________
echo. ^| ^|
Echo. ^| [1] Office 2016 Prolus. ^|
Echo. ^| ^|
Echo. ^| [2] Project 2016. ^|
Echo. ^| ^|
Echo. ^| [3] Visio 2016 ^|
echo. ^| ^|
echo. ^| [4] Ve Menu chinh ^|
echo. ^| ^|
Echo. ^|_________________________________________________________^|
ECHO.
choice /C:1234 /N /M ". Nhap lua chon cua ban [1,2,3,4] : "
if errorlevel 4 goto:MAINMENU
if errorlevel 3 goto:Visio2016
if errorlevel 2 goto:Project2016
if errorlevel 1 goto:Office2016Prolus
===========================================================
:Office2016Prolus
cls
color F0
mode con cols=98 lines=30
echo Activating your Microsoft Office prolus 2016...
(if exist "%ProgramFiles%\Microsoft Office\Office16\ospp.vbs" cd /d "%ProgramFiles%\Microsoft Office\Office16")
(if exist "%ProgramFiles(x86)%\Microsoft Office\Office16\ospp.vbs" cd /d "%ProgramFiles(x86)%\Microsoft Office\Office16")
(for /f %%x in ('dir /b ..\root\Licenses16\proplusvl_kms*.xrm-ms') do cscript ospp.vbs /inslic:"..\root\Licenses16\%%x" >nul)
(for /f %%x in ('dir /b ..\root\Licenses16\proplusvl_mak*.xrm-ms') do cscript ospp.vbs /inslic:"..\root\Licenses16\%%x" >nul)
cscript ospp.vbs /setprt:1688
cscript ospp.vbs /inpkey:JNRGM-WHDWX-FJJG3-K47QV-DRTFM
cscript ospp.vbs /inpkey:XQNVK-8JYDB-WJ9W3-YJ8YR-WFG99
cscript ospp.vbs /inpkey:N4RFM-3CKDQ-9Q86Y-J9Q9G-722QY
cscript ospp.vbs /inpkey:2BNWF-HQ3XJ-QHXQD-639QJ-XW3M2
cscript ospp.vbs /sethst:107.175.77.7
cscript ospp.vbs /sethst:172.16.0.2
cscript ospp.vbs /act
echo.
echo.
echo Bam phim bat ki de ve menu chinh
:notsupported
:halt
pause >nul
goto:MAINMENU
:===========================================================
:Project2016
cls
color F0
mode con cols=98 lines=30
echo Activating your Project 2016...
(if exist "%ProgramFiles%\Microsoft Office\Office16\ospp.vbs" cd /d "%ProgramFiles%\Microsoft Office\Office16")
(if exist "%ProgramFiles(x86)%\Microsoft Office\Office16\ospp.vbs" cd /d "%ProgramFiles(x86)%\Microsoft Office\Office16")
cscript //nologo ospp.vbs /inslic:"..\root\Licenses16\pkeyconfig-office.xrm-ms" >nul
cscript //nologo ospp.vbs /inslic:"..\root\Licenses16\ProjectProVL_KMS_Client-ppd.xrm-ms" >nul
cscript //nologo ospp.vbs /inslic:"..\root\Licenses16\ProjectProVL_KMS_Client-ul-oob.xrm-ms" >nul
cscript //nologo ospp.vbs /inslic:"..\root\Licenses16\ProjectProVL_KMS_Client-ul.xrm-ms" >nul
cscript //nologo ospp.vbs /inslic:"..\root\Licenses16\client-issuance-bridge-office.xrm-ms" >nul
cscript //nologo ospp.vbs /inslic:"..\root\Licenses16\client-issuance-root.xrm-ms" >nul
cscript //nologo ospp.vbs /inslic:"..\root\Licenses16\client-issuance-root-bridge-test.xrm-ms" >nul
cscript //nologo ospp.vbs /inslic:"..\root\Licenses16\client-issuance-stil.xrm-ms" >nul
cscript //nologo ospp.vbs /inslic:"..\root\Licenses16\client-issuance-ul.xrm-ms" >nul
cscript //nologo ospp.vbs /inslic:"..\root\Licenses16\client-issuance-ul-oob.xrm-ms" >nul
cscript ospp.vbs /setprt:1688
cscript ospp.vbs /inpkey:YG9NW-3K39V-2T3HJ-93F3Q-G83KT
cscript ospp.vbs /inpkey:GNFHQ-F6YQM-KQDGJ-327XX-KQBVC
cscript ospp.vbs /sethst:107.175.77.7
cscript ospp.vbs /sethst:172.16.0.2
cscript ospp.vbs /act
echo.
echo.
echo Bam phim bat ki de ve menu chinh
:notsupported
:halt
pause >nul
goto:MAINMENU
:===========================================================
:Visio2016
cls
color F0
mode con cols=98 lines=30
echo Activating your Visio 2016...
(if exist "%ProgramFiles%\Microsoft Office\Office16\ospp.vbs" cd /d "%ProgramFiles%\Microsoft Office\Office16")
(if exist "%ProgramFiles(x86)%\Microsoft Office\Office16\ospp.vbs" cd /d "%ProgramFiles(x86)%\Microsoft Office\Office16")
cscript ospp.vbs /inslic:"..\root\Licenses16\pkeyconfig-office.xrm-ms"
cscript ospp.vbs /inslic:"..\root\Licenses16\client-issuance*.xrm-ms"
cscript ospp.vbs /inslic:"..\root\Licenses16\visioprovl_kms*.xrm-ms"
cscript ospp.vbs /inslic:"..\root\Licenses16\visiopro2019vl_kms*.xrm-ms"
cscript ospp.vbs /setprt:1688
cscript ospp.vbs /inpkey:PD3PC-RHNGV-FXJ29-8JK7D-RJRJK
cscript ospp.vbs /inpkey:7WHWN-4T7MP-G96JF-G33KR-W8GF4
cscript ospp.vbs /sethst:107.175.77.7
cscript ospp.vbs /sethst:172.16.0.2
cscript ospp.vbs /act
echo.
echo.
echo Bam phim bat ki de ve menu chinh
:notsupported
:halt
pause >nul
goto:MAINMENU
===============================================================================================
:===========================================================
:Office2013
cls
mode con cols=98 lines=30
echo. BSCK1. NGUYEN CHI THANH
echo. _________________________________________________________
echo. ^| ^|
Echo. ^| [1] Office 2013 Prolus. ^|
Echo. ^| ^|
Echo. ^| [2] Project 2013. ^|
Echo. ^| ^|
Echo. ^| [3] Visio 2013 ^|
echo. ^| ^|
echo. ^| [4] Ve Menu chinh ^|
echo. ^| ^|
Echo. ^|_________________________________________________________^|
ECHO.
choice /C:1234 /N /M ". Nhap lua chon cua ban [1,2,3,4] : "
if errorlevel 4 goto:MAINMENU
if errorlevel 3 goto:Visio2013
if errorlevel 2 goto:Project2013
if errorlevel 1 goto:Office2013Prolus
===========================================================
:Office2013Prolus
cls
color F0
mode con cols=98 lines=30
echo Activating your Microsoft Office 2013...
set v=15
if exist "%ProgramFiles%\Microsoft Office\Office%v%\ospp.vbs" cd /d "%ProgramFiles%\Microsoft Office\Office%v%"
if exist "%ProgramFiles(x86)%\Microsoft Office\Office%v%\ospp.vbs" cd /d "%ProgramFiles(x86)%\Microsoft Office\Office%v%"
cscript ospp.vbs /setprt:1688
cscript OSPP.VBS /inpkey:YC7DK-G2NP3-2QQC3-J6H88-GVGXT
cscript OSPP.VBS /inpkey:KBKQT-2NMXY-JJWGP-M62JB-92CD4
cscript OSPP.VBS /inpkey:472JN-9KRCH-9YKBC-XVYKY-DPCDH
cscript OSPP.VBS /inpkey:X32DM-N6M7G-YJK9X-XJ9M7-2R2D6
cscript ospp.vbs /sethst:107.175.77.7
cscript ospp.vbs /sethst:172.16.0.2
cscript ospp.vbs /act
echo.
echo.
echo Bam phim bat ki de ve menu chinh
:notsupported
:halt
pause >nul
goto:MAINMENU
===========================================================
:Project2013
cls
color F0
mode con cols=98 lines=30
echo Activating your Project 2013...
set v=15
if exist "%ProgramFiles%\Microsoft Office\Office%v%\ospp.vbs" cd /d "%ProgramFiles%\Microsoft Office\Office%v%"
if exist "%ProgramFiles(x86)%\Microsoft Office\Office%v%\ospp.vbs" cd /d "%ProgramFiles(x86)%\Microsoft Office\Office%v%"
cscript ospp.vbs /setprt:1688
cscript OSPP.VBS /inpkey:FN8TT-7WMH6-2D4X9-M337T-2342K
cscript OSPP.VBS /inpkey:6NTH3-CW976-3G3Y2-JK3TX-8QHTT
cscript ospp.vbs /sethst:107.175.77.7
cscript ospp.vbs /sethst:172.16.0.2
cscript ospp.vbs /act
echo.
echo.
echo Bam phim bat ki de ve menu chinh
:notsupported
:halt
pause >nul
goto:MAINMENU
===========================================================
:Visio2013
cls
color F0
mode con cols=98 lines=30
echo Activating your Visio 2013...
set v=15
if exist "%ProgramFiles%\Microsoft Office\Office%v%\ospp.vbs" cd /d "%ProgramFiles%\Microsoft Office\Office%v%"
if exist "%ProgramFiles(x86)%\Microsoft Office\Office%v%\ospp.vbs" cd /d "%ProgramFiles(x86)%\Microsoft Office\Office%v%"
cscript ospp.vbs /setprt:1688
cscript OSPP.VBS /inpkey:C2FG9-N6J68-H8BTJ-BW3QX-RM3B3
cscript OSPP.VBS /inpkey:J484Y-4NKBF-W2HMG-DBMJC-PGWR7
cscript OSPP.VBS /inpkey:RNQR6-67XM2-Y9V4R-7HQQH-94QB4
cscript ospp.vbs /sethst:107.175.77.7
cscript ospp.vbs /sethst:172.16.0.2
cscript ospp.vbs /act
echo.
echo.
echo Bam phim bat ki de ve menu chinh
:notsupported
:halt
pause >nul
goto:MAINMENU
===============================================================================================
===========================================================
:Office2010
cls
mode con cols=98 lines=30
echo. BSCK1. NGUYEN CHI THANH
echo. _________________________________________________________
echo. ^| ^|
Echo. ^| [1] Office 2010 Prolus. ^|
Echo. ^| ^|
Echo. ^| [2] Project 2010. ^|
Echo. ^| ^|
Echo. ^| [3] Visio 2010 ^|
echo. ^| ^|
echo. ^| [4] Ve Menu chinh ^|
echo. ^| ^|
Echo. ^|_________________________________________________________^|
ECHO.
choice /C:1234 /N /M ". Nhap lua chon cua ban [1,2,3,4] : "
if errorlevel 4 goto:MAINMENU
if errorlevel 3 goto:Visio2010
if errorlevel 2 goto:Project2010
if errorlevel 1 goto:Office2010Prolus
===========================================================
:Office2010Prolus
cls
color F0
mode con cols=98 lines=30
echo Activating your Office Prolus 2010...
set v=14
if exist "%ProgramFiles%\Microsoft Office\Office%v%\ospp.vbs" cd /d "%ProgramFiles%\Microsoft Office\Office%v%"
if exist "%ProgramFiles(x86)%\Microsoft Office\Office%v%\ospp.vbs" cd /d "%ProgramFiles(x86)%\Microsoft Office\Office%v%"
cscript ospp.vbs /setprt:1688
cscript //Nologo OSPP.VBS /inpkey:VYBBJ-TRJPB-QFQRF-QFT4D-H3GVB
cscript //Nologo OSPP.VBS /inpkey:V7QKV-4XVVR-XYV4D-F7DFM-8R6BM
cscript ospp.vbs /sethst:107.175.77.7
cscript ospp.vbs /sethst:172.16.0.2
cscript ospp.vbs /act
echo.
echo.
echo Bam phim bat ki de ve menu chinh
:notsupported
:halt
pause >nul
goto:MAINMENU
===========================================================
:Project2010
cls
color F0
mode con cols=98 lines=30
echo Activating your Project 2010...
set v=14
if exist "%ProgramFiles%\Microsoft Office\Office%v%\ospp.vbs" cd /d "%ProgramFiles%\Microsoft Office\Office%v%"
if exist "%ProgramFiles(x86)%\Microsoft Office\Office%v%\ospp.vbs" cd /d "%ProgramFiles(x86)%\Microsoft Office\Office%v%"
cscript ospp.vbs /setprt:1688
cscript //Nologo OSPP.VBS /inpkey:YGX6F-PGV49-PGW3J-9BTGG-VHKC6
cscript //Nologo OSPP.VBS /inpkey:4HP3K-88W3F-W2K3D-6677X-F9PGB
cscript ospp.vbs /sethst:107.175.77.7
cscript ospp.vbs /sethst:172.16.0.2
cscript ospp.vbs /act
echo.
echo.
echo Bam phim bat ki de ve menu chinh
:notsupported
:halt
pause >nul
goto:MAINMENU
===========================================================
:Visio2010
cls
color F0
mode con cols=98 lines=30
echo Activating your Visio 2010...
set v=14
if exist "%ProgramFiles%\Microsoft Office\Office%v%\ospp.vbs" cd /d "%ProgramFiles%\Microsoft Office\Office%v%"
if exist "%ProgramFiles(x86)%\Microsoft Office\Office%v%\ospp.vbs" cd /d "%ProgramFiles(x86)%\Microsoft Office\Office%v%"
cscript //Nologo OSPP.VBS /inpkey:D9DWC-HPYVV-JGF4P-BTWQB-WX8BJ
cscript //Nologo OSPP.VBS /inpkey:7MCW8-VRQVK-G677T-PDJCM-Q8TCP
cscript //Nologo OSPP.VBS /inpkey:767HD-QGMWX-8QTDB-9G3R2-KHFGJ
cscript ospp.vbs /sethst:107.175.77.7
cscript ospp.vbs /sethst:172.16.0.2
cscript ospp.vbs /act
echo.
echo.
echo Bam phim bat ki de ve menu chinh
:notsupported
:halt
pause >nul
goto:MAINMENU
===============================================================================================
:======================================================================================================================================================
:Exit
cls
echo.
echo.
echo.
echo.
echo Kich hoat moi windows va Office vinh vien bang MAS Tools
start https://github.com/BsNgChiThanh/MAS-TOOL
pause > nul
exit
:======================================================================================================================================================