mirror of
				https://github.com/massgravel/Microsoft-Activation-Scripts.git
				synced 2025-10-31 15:16:56 +01:00 
			
		
		
		
	Compare commits
	
		
			3 Commits
		
	
	
		
			c89bebdee8
			...
			482600c890
		
	
	| Author | SHA1 | Date | |
|---|---|---|---|
|  | 482600c890 | ||
|  | dc90e1ff0f | ||
|  | f969378f6b | 
MAS
All-In-One-Version-KL
Separate-Files-Version/Activators
| @ -2423,6 +2423,7 @@ set error=1 | |||||||
| goto :starto16c2r | goto :starto16c2r | ||||||
| ) | ) | ||||||
| 
 | 
 | ||||||
|  | call :oh_expiredpreview 2013 | ||||||
| call :oh_fixprids | call :oh_fixprids | ||||||
| call :oh_process | call :oh_process | ||||||
| if defined isOspp ( | if defined isOspp ( | ||||||
| @ -2480,6 +2481,7 @@ set error=1 | |||||||
| goto :startmsi | goto :startmsi | ||||||
| ) | ) | ||||||
| 
 | 
 | ||||||
|  | call :oh_expiredpreview 2016 2019 2021 2024 | ||||||
| call :oh_fixprids | call :oh_fixprids | ||||||
| call :oh_process | call :oh_process | ||||||
| if defined isOspp ( | if defined isOspp ( | ||||||
| @ -2739,6 +2741,21 @@ exit /b | |||||||
| 
 | 
 | ||||||
| ::======================================================================================================================================== | ::======================================================================================================================================== | ||||||
| 
 | 
 | ||||||
|  | :oh_expiredpreview | ||||||
|  | 
 | ||||||
|  | for %%# in (%*) do ( | ||||||
|  | if exist "!_oLPath!\ProPlus%%#PreviewVL_*.xrm-ms" if not exist "!_oLPath!\ProPlus%%#VL_*.xrm-ms" ( | ||||||
|  | set error=1 | ||||||
|  | set showfix=1 | ||||||
|  | call :dk_color %Red% "Checking Expired Preview Products       [Office %%# Preview Found]" | ||||||
|  | call :dk_color %Blue% "Please run the Office updates first, and then attempt to activate it again." | ||||||
|  | ) | ||||||
|  | ) | ||||||
|  | 
 | ||||||
|  | exit /b | ||||||
|  | 
 | ||||||
|  | ::======================================================================================================================================== | ||||||
|  | 
 | ||||||
| :oh_ppcpath | :oh_ppcpath | ||||||
| 
 | 
 | ||||||
| if not defined isOspp ( | if not defined isOspp ( | ||||||
| @ -4097,6 +4114,8 @@ if !_el!==1  cls & setlocal & set "_actwin=1"       & call :ts_start & endlocal | |||||||
| goto :ts_menu | goto :ts_menu | ||||||
| ) | ) | ||||||
| 
 | 
 | ||||||
|  | goto :ts_start | ||||||
|  | 
 | ||||||
| ::======================================================================================================================================== | ::======================================================================================================================================== | ||||||
| 
 | 
 | ||||||
| :ts_changemethod | :ts_changemethod | ||||||
| @ -4109,28 +4128,29 @@ echo: | |||||||
| echo: | echo: | ||||||
| echo        ______________________________________________________________ | echo        ______________________________________________________________ | ||||||
| echo:  | echo:  | ||||||
| call :dk_color2 %_White% "             [1] " %_Green% " Auto" | call :dk_color2 %_White% "             [1] " %_Green% "Auto" | ||||||
| echo                   Build 19041 and later: | echo                  Builds ^>= 19041 - StaticCID (KMS4k if offline) | ||||||
| echo                   Uses StaticCID, or KMS4k if offline. | echo                  Builds ^<  19041 - ZeroCID | ||||||
| echo                   Older builds: Uses ZeroCID. | echo              __________________________________________________ | ||||||
| echo               _______________________________________________   |  | ||||||
| echo:  | echo:  | ||||||
| echo               [2] StaticCID | echo              [2] StaticCID | ||||||
| echo                   Needs Internet. | echo                  Needs Internet | ||||||
| echo                   Not for Windows 7 or older. | echo                  Not for Windows 7 or older | ||||||
| echo               _______________________________________________   | echo              __________________________________________________ | ||||||
| echo: | echo: | ||||||
| echo               [3] ZeroCID | echo              [3] ZeroCID | ||||||
| echo                   Works only on builds below 19041. | echo                  Works reliably on builds below 19041 | ||||||
| echo               _______________________________________________   | echo                  May break on builds between 19041-26100 | ||||||
|  | echo                  Does not work on builds above 26100.4188 | ||||||
|  | echo              __________________________________________________ | ||||||
| echo: | echo: | ||||||
| echo               [4] KMS4k | echo              [4] KMS4k | ||||||
| echo                   This applies only to volume products. | echo                  Volume licenses only | ||||||
| echo                   Activates for 4000+ years using KMS. | echo                  Activates for 4000+ years | ||||||
| echo               _______________________________________________       | echo              __________________________________________________ | ||||||
| echo: | echo: | ||||||
| echo               [5] Learn More | echo              [5] Learn More | ||||||
| echo               [0] %_exitmsg% | echo              [0] %_exitmsg% | ||||||
| echo        ______________________________________________________________ | echo        ______________________________________________________________ | ||||||
| echo: | echo: | ||||||
| call :dk_color2 %_White% "            " %_Green% "Choose a menu option using your keyboard..." | call :dk_color2 %_White% "            " %_Green% "Choose a menu option using your keyboard..." | ||||||
| @ -4977,6 +4997,7 @@ set error=1 | |||||||
| goto :ts_starto16c2r | goto :ts_starto16c2r | ||||||
| ) | ) | ||||||
| 
 | 
 | ||||||
|  | call :oh_expiredpreview 2013 | ||||||
| if "%_actprojvis%"=="0" call :oh_fixprids | if "%_actprojvis%"=="0" call :oh_fixprids | ||||||
| call :ts_process | call :ts_process | ||||||
| 
 | 
 | ||||||
| @ -5018,6 +5039,7 @@ set error=1 | |||||||
| goto :ts_startmsi | goto :ts_startmsi | ||||||
| ) | ) | ||||||
| 
 | 
 | ||||||
|  | call :oh_expiredpreview 2016 2019 2021 2024 | ||||||
| if "%_actprojvis%"=="0" call :oh_fixprids | if "%_actprojvis%"=="0" call :oh_fixprids | ||||||
| call :ts_process | call :ts_process | ||||||
| 
 | 
 | ||||||
| @ -12963,6 +12985,7 @@ set error=1 | |||||||
| goto :ks_starto16c2r | goto :ks_starto16c2r | ||||||
| ) | ) | ||||||
| 
 | 
 | ||||||
|  | call :oh_expiredpreview 2013 | ||||||
| if "%_actprojvis%"=="0" call :oh_fixprids | if "%_actprojvis%"=="0" call :oh_fixprids | ||||||
| call :ks_process | call :ks_process | ||||||
| 
 | 
 | ||||||
| @ -13003,6 +13026,7 @@ set error=1 | |||||||
| goto :ks_startmsi | goto :ks_startmsi | ||||||
| ) | ) | ||||||
| 
 | 
 | ||||||
|  | call :oh_expiredpreview 2016 2019 2021 2024 | ||||||
| if "%_actprojvis%"=="0" call :oh_fixprids | if "%_actprojvis%"=="0" call :oh_fixprids | ||||||
| call :ks_process | call :ks_process | ||||||
| 
 | 
 | ||||||
|  | |||||||
| @ -614,6 +614,7 @@ set error=1 | |||||||
| goto :starto16c2r | goto :starto16c2r | ||||||
| ) | ) | ||||||
| 
 | 
 | ||||||
|  | call :oh_expiredpreview 2013 | ||||||
| call :oh_fixprids | call :oh_fixprids | ||||||
| call :oh_process | call :oh_process | ||||||
| if defined isOspp ( | if defined isOspp ( | ||||||
| @ -671,6 +672,7 @@ set error=1 | |||||||
| goto :startmsi | goto :startmsi | ||||||
| ) | ) | ||||||
| 
 | 
 | ||||||
|  | call :oh_expiredpreview 2016 2019 2021 2024 | ||||||
| call :oh_fixprids | call :oh_fixprids | ||||||
| call :oh_process | call :oh_process | ||||||
| if defined isOspp ( | if defined isOspp ( | ||||||
| @ -930,6 +932,21 @@ exit /b | |||||||
| 
 | 
 | ||||||
| ::======================================================================================================================================== | ::======================================================================================================================================== | ||||||
| 
 | 
 | ||||||
|  | :oh_expiredpreview | ||||||
|  | 
 | ||||||
|  | for %%# in (%*) do ( | ||||||
|  | if exist "!_oLPath!\ProPlus%%#PreviewVL_*.xrm-ms" if not exist "!_oLPath!\ProPlus%%#VL_*.xrm-ms" ( | ||||||
|  | set error=1 | ||||||
|  | set showfix=1 | ||||||
|  | call :dk_color %Red% "Checking Expired Preview Products       [Office %%# Preview Found]" | ||||||
|  | call :dk_color %Blue% "Please run the Office updates first, and then attempt to activate it again." | ||||||
|  | ) | ||||||
|  | ) | ||||||
|  | 
 | ||||||
|  | exit /b | ||||||
|  | 
 | ||||||
|  | ::======================================================================================================================================== | ||||||
|  | 
 | ||||||
| :oh_ppcpath | :oh_ppcpath | ||||||
| 
 | 
 | ||||||
| if not defined isOspp ( | if not defined isOspp ( | ||||||
|  | |||||||
| @ -876,6 +876,7 @@ set error=1 | |||||||
| goto :ks_starto16c2r | goto :ks_starto16c2r | ||||||
| ) | ) | ||||||
| 
 | 
 | ||||||
|  | call :oh_expiredpreview 2013 | ||||||
| if "%_actprojvis%"=="0" call :oh_fixprids | if "%_actprojvis%"=="0" call :oh_fixprids | ||||||
| call :ks_process | call :ks_process | ||||||
| 
 | 
 | ||||||
| @ -916,6 +917,7 @@ set error=1 | |||||||
| goto :ks_startmsi | goto :ks_startmsi | ||||||
| ) | ) | ||||||
| 
 | 
 | ||||||
|  | call :oh_expiredpreview 2016 2019 2021 2024 | ||||||
| if "%_actprojvis%"=="0" call :oh_fixprids | if "%_actprojvis%"=="0" call :oh_fixprids | ||||||
| call :ks_process | call :ks_process | ||||||
| 
 | 
 | ||||||
| @ -1096,6 +1098,21 @@ exit /b | |||||||
| 
 | 
 | ||||||
| ::======================================================================================================================================== | ::======================================================================================================================================== | ||||||
| 
 | 
 | ||||||
|  | :oh_expiredpreview | ||||||
|  | 
 | ||||||
|  | for %%# in (%*) do ( | ||||||
|  | if exist "!_oLPath!\ProPlus%%#PreviewVL_*.xrm-ms" if not exist "!_oLPath!\ProPlus%%#VL_*.xrm-ms" ( | ||||||
|  | set error=1 | ||||||
|  | set showfix=1 | ||||||
|  | call :dk_color %Red% "Checking Expired Preview Products       [Office %%# Preview Found]" | ||||||
|  | call :dk_color %Blue% "Please run the Office updates first, and then attempt to activate it again." | ||||||
|  | ) | ||||||
|  | ) | ||||||
|  | 
 | ||||||
|  | exit /b | ||||||
|  | 
 | ||||||
|  | ::======================================================================================================================================== | ||||||
|  | 
 | ||||||
| ::  Some Office Retail to Volume converter tools may edit the ProductReleaseIds to add VL products. This code restores it because it may affect features. | ::  Some Office Retail to Volume converter tools may edit the ProductReleaseIds to add VL products. This code restores it because it may affect features. | ||||||
| 
 | 
 | ||||||
| :oh_fixprids | :oh_fixprids | ||||||
|  | |||||||
| @ -497,6 +497,8 @@ if !_el!==1  cls & setlocal & set "_actwin=1"       & call :ts_start & endlocal | |||||||
| goto :ts_menu | goto :ts_menu | ||||||
| ) | ) | ||||||
| 
 | 
 | ||||||
|  | goto :ts_start | ||||||
|  | 
 | ||||||
| ::======================================================================================================================================== | ::======================================================================================================================================== | ||||||
| 
 | 
 | ||||||
| :ts_changemethod | :ts_changemethod | ||||||
| @ -509,28 +511,29 @@ echo: | |||||||
| echo: | echo: | ||||||
| echo        ______________________________________________________________ | echo        ______________________________________________________________ | ||||||
| echo:  | echo:  | ||||||
| call :dk_color2 %_White% "             [1] " %_Green% " Auto" | call :dk_color2 %_White% "             [1] " %_Green% "Auto" | ||||||
| echo                   Build 19041 and later: | echo                  Builds ^>= 19041 - StaticCID (KMS4k if offline) | ||||||
| echo                   Uses StaticCID, or KMS4k if offline. | echo                  Builds ^<  19041 - ZeroCID | ||||||
| echo                   Older builds: Uses ZeroCID. | echo              __________________________________________________ | ||||||
| echo               _______________________________________________   |  | ||||||
| echo:  | echo:  | ||||||
| echo               [2] StaticCID | echo              [2] StaticCID | ||||||
| echo                   Needs Internet. | echo                  Needs Internet | ||||||
| echo                   Not for Windows 7 or older. | echo                  Not for Windows 7 or older | ||||||
| echo               _______________________________________________   | echo              __________________________________________________ | ||||||
| echo: | echo: | ||||||
| echo               [3] ZeroCID | echo              [3] ZeroCID | ||||||
| echo                   Works only on builds below 19041. | echo                  Works reliably on builds below 19041 | ||||||
| echo               _______________________________________________   | echo                  May break on builds between 19041-26100 | ||||||
|  | echo                  Does not work on builds above 26100.4188 | ||||||
|  | echo              __________________________________________________ | ||||||
| echo: | echo: | ||||||
| echo               [4] KMS4k | echo              [4] KMS4k | ||||||
| echo                   This applies only to volume products. | echo                  Volume licenses only | ||||||
| echo                   Activates for 4000+ years using KMS. | echo                  Activates for 4000+ years | ||||||
| echo               _______________________________________________       | echo              __________________________________________________ | ||||||
| echo: | echo: | ||||||
| echo               [5] Learn More | echo              [5] Learn More | ||||||
| echo               [0] %_exitmsg% | echo              [0] %_exitmsg% | ||||||
| echo        ______________________________________________________________ | echo        ______________________________________________________________ | ||||||
| echo: | echo: | ||||||
| call :dk_color2 %_White% "            " %_Green% "Choose a menu option using your keyboard..." | call :dk_color2 %_White% "            " %_Green% "Choose a menu option using your keyboard..." | ||||||
| @ -1377,6 +1380,7 @@ set error=1 | |||||||
| goto :ts_starto16c2r | goto :ts_starto16c2r | ||||||
| ) | ) | ||||||
| 
 | 
 | ||||||
|  | call :oh_expiredpreview 2013 | ||||||
| if "%_actprojvis%"=="0" call :oh_fixprids | if "%_actprojvis%"=="0" call :oh_fixprids | ||||||
| call :ts_process | call :ts_process | ||||||
| 
 | 
 | ||||||
| @ -1418,6 +1422,7 @@ set error=1 | |||||||
| goto :ts_startmsi | goto :ts_startmsi | ||||||
| ) | ) | ||||||
| 
 | 
 | ||||||
|  | call :oh_expiredpreview 2016 2019 2021 2024 | ||||||
| if "%_actprojvis%"=="0" call :oh_fixprids | if "%_actprojvis%"=="0" call :oh_fixprids | ||||||
| call :ts_process | call :ts_process | ||||||
| 
 | 
 | ||||||
| @ -1999,6 +2004,21 @@ exit /b | |||||||
| 
 | 
 | ||||||
| ::======================================================================================================================================== | ::======================================================================================================================================== | ||||||
| 
 | 
 | ||||||
|  | :oh_expiredpreview | ||||||
|  | 
 | ||||||
|  | for %%# in (%*) do ( | ||||||
|  | if exist "!_oLPath!\ProPlus%%#PreviewVL_*.xrm-ms" if not exist "!_oLPath!\ProPlus%%#VL_*.xrm-ms" ( | ||||||
|  | set error=1 | ||||||
|  | set showfix=1 | ||||||
|  | call :dk_color %Red% "Checking Expired Preview Products       [Office %%# Preview Found]" | ||||||
|  | call :dk_color %Blue% "Please run the Office updates first, and then attempt to activate it again." | ||||||
|  | ) | ||||||
|  | ) | ||||||
|  | 
 | ||||||
|  | exit /b | ||||||
|  | 
 | ||||||
|  | ::======================================================================================================================================== | ||||||
|  | 
 | ||||||
| ::  Some Office Retail to Volume converter tools may edit the ProductReleaseIds to add VL products. This code restores it because it may affect features. | ::  Some Office Retail to Volume converter tools may edit the ProductReleaseIds to add VL products. This code restores it because it may affect features. | ||||||
| 
 | 
 | ||||||
| :oh_fixprids | :oh_fixprids | ||||||
|  | |||||||
		Loading…
	
		Reference in New Issue
	
	Block a user