mirror of
				https://github.com/massgravel/Microsoft-Activation-Scripts.git
				synced 2025-10-31 15:16:56 +01:00 
			
		
		
		
	Some more minor changes
This commit is contained in:
		
							parent
							
								
									31c47b9538
								
							
						
					
					
						commit
						e2c52b4ac8
					
				MAS
All-In-One-Version-KL
Separate-Files-Version/Activators
| @ -3628,7 +3628,15 @@ set upk_result=2 | ||||
| 
 | ||||
| if defined ohookact if not %upk_result%==0 echo: | ||||
| if %upk_result%==1 echo Uninstalling Other/Grace Keys           [Successful] | ||||
| if %upk_result%==2 call :dk_color %Red% "Uninstalling Other/Grace Keys           [Failed]" | ||||
| if %upk_result%==2 ( | ||||
| call :dk_color %Red% "Uninstalling Other/Grace Keys           [Failed]" | ||||
| if not defined showfix ( | ||||
| echo: | ||||
| call :dk_color %Blue% "%_fixmsg%" | ||||
| echo: | ||||
| set showfix=1 | ||||
| ) | ||||
| ) | ||||
| exit /b | ||||
| 
 | ||||
| ::======================================================================================================================================== | ||||
| @ -5769,6 +5777,7 @@ call :dk_color %Gray% "To activate, check your internet connection and ensure th | ||||
| ) else ( | ||||
| call :dk_color %Blue% "This Windows version is known to not activate due to MS Windows/Server issues." | ||||
| ) | ||||
| if not defined showfix call :dk_color %Blue% "%_fixmsg%" | ||||
| set fixes=%fixes% %mas%troubleshoot | ||||
| call :dk_color2 %Blue% "Check this webpage for help - " %_Yellow% " %mas%troubleshoot" | ||||
| ) | ||||
| @ -5785,7 +5794,7 @@ if /i %tsmethod%==StaticCID (echo Depositing Static Confirmation ID...) else (ec | ||||
| echo: | ||||
| %psc% "$f=[System.IO.File]::ReadAllText('!_batp!') -split ':tsforge\:.*';. ([scriptblock]::Create($f[1])) %tsids%" | ||||
| if !errorlevel!==3 ( | ||||
| if %_actman%==0 (if not defined error call :dk_color %Blue% "%_fixmsg%") | ||||
| if %_actman%==0 (if not defined showfix call :dk_color %Blue% "%_fixmsg%") | ||||
| set fixes=%fixes% %mas%troubleshoot | ||||
| call :dk_color2 %Blue% "Check this webpage for help - " %_Yellow% " %mas%troubleshoot" | ||||
| ) else ( | ||||
| @ -13606,6 +13615,9 @@ call :ks_clearstuff | ||||
| set error_=9 | ||||
| echo Failed to completely clear %KS% Cache. | ||||
| reg query "HKLM\%SPPk%\%_wApp%" /s %nul2% | findstr /i "127.0.0.2" %nul1% && echo KMS38 activation is locked. | ||||
| echo: | ||||
| call :dk_color %Blue% "%_fixmsg%" | ||||
| echo: | ||||
| ) || ( | ||||
| echo Cleared %KS% Cache successfully. | ||||
| ) | ||||
| @ -13621,6 +13633,10 @@ echo %uline% | ||||
| echo %uline% | ||||
| echo: | ||||
| call :dk_color %Green% "Online %KS% has been successfully uninstalled." | ||||
| echo: | ||||
| call :dk_color %Gray% "If you want to reset the activation status," | ||||
| call :dk_color %Blue% "%_fixmsg%" | ||||
| echo: | ||||
| echo %uline% | ||||
| ) | ||||
| 
 | ||||
|  | ||||
| @ -1601,7 +1601,15 @@ set upk_result=2 | ||||
| 
 | ||||
| if defined ohookact if not %upk_result%==0 echo: | ||||
| if %upk_result%==1 echo Uninstalling Other/Grace Keys           [Successful] | ||||
| if %upk_result%==2 call :dk_color %Red% "Uninstalling Other/Grace Keys           [Failed]" | ||||
| if %upk_result%==2 ( | ||||
| call :dk_color %Red% "Uninstalling Other/Grace Keys           [Failed]" | ||||
| if not defined showfix ( | ||||
| echo: | ||||
| call :dk_color %Blue% "%_fixmsg%" | ||||
| echo: | ||||
| set showfix=1 | ||||
| ) | ||||
| ) | ||||
| exit /b | ||||
| 
 | ||||
| ::======================================================================================================================================== | ||||
|  | ||||
| @ -1579,7 +1579,15 @@ set upk_result=2 | ||||
| 
 | ||||
| if defined ohookact if not %upk_result%==0 echo: | ||||
| if %upk_result%==1 echo Uninstalling Other/Grace Keys           [Successful] | ||||
| if %upk_result%==2 call :dk_color %Red% "Uninstalling Other/Grace Keys           [Failed]" | ||||
| if %upk_result%==2 ( | ||||
| call :dk_color %Red% "Uninstalling Other/Grace Keys           [Failed]" | ||||
| if not defined showfix ( | ||||
| echo: | ||||
| call :dk_color %Blue% "%_fixmsg%" | ||||
| echo: | ||||
| set showfix=1 | ||||
| ) | ||||
| ) | ||||
| exit /b | ||||
| 
 | ||||
| ::======================================================================================================================================== | ||||
| @ -1628,6 +1636,9 @@ call :ks_clearstuff | ||||
| set error_=9 | ||||
| echo Failed to completely clear %KS% Cache. | ||||
| reg query "HKLM\%SPPk%\%_wApp%" /s %nul2% | findstr /i "127.0.0.2" %nul1% && echo KMS38 activation is locked. | ||||
| echo: | ||||
| call :dk_color %Blue% "%_fixmsg%" | ||||
| echo: | ||||
| ) || ( | ||||
| echo Cleared %KS% Cache successfully. | ||||
| ) | ||||
| @ -1643,6 +1654,10 @@ echo %uline% | ||||
| echo %uline% | ||||
| echo: | ||||
| call :dk_color %Green% "Online %KS% has been successfully uninstalled." | ||||
| echo: | ||||
| call :dk_color %Gray% "If you want to reset the activation status," | ||||
| call :dk_color %Blue% "%_fixmsg%" | ||||
| echo: | ||||
| echo %uline% | ||||
| ) | ||||
| 
 | ||||
|  | ||||
| @ -1927,6 +1927,7 @@ call :dk_color %Gray% "To activate, check your internet connection and ensure th | ||||
| ) else ( | ||||
| call :dk_color %Blue% "This Windows version is known to not activate due to MS Windows/Server issues." | ||||
| ) | ||||
| if not defined showfix call :dk_color %Blue% "%_fixmsg%" | ||||
| set fixes=%fixes% %mas%troubleshoot | ||||
| call :dk_color2 %Blue% "Check this webpage for help - " %_Yellow% " %mas%troubleshoot" | ||||
| ) | ||||
| @ -1943,7 +1944,7 @@ if /i %tsmethod%==StaticCID (echo Depositing Static Confirmation ID...) else (ec | ||||
| echo: | ||||
| %psc% "$f=[System.IO.File]::ReadAllText('!_batp!') -split ':tsforge\:.*';. ([scriptblock]::Create($f[1])) %tsids%" | ||||
| if !errorlevel!==3 ( | ||||
| if %_actman%==0 (if not defined error call :dk_color %Blue% "%_fixmsg%") | ||||
| if %_actman%==0 (if not defined showfix call :dk_color %Blue% "%_fixmsg%") | ||||
| set fixes=%fixes% %mas%troubleshoot | ||||
| call :dk_color2 %Blue% "Check this webpage for help - " %_Yellow% " %mas%troubleshoot" | ||||
| ) else ( | ||||
| @ -2537,7 +2538,15 @@ set upk_result=2 | ||||
| 
 | ||||
| if defined ohookact if not %upk_result%==0 echo: | ||||
| if %upk_result%==1 echo Uninstalling Other/Grace Keys           [Successful] | ||||
| if %upk_result%==2 call :dk_color %Red% "Uninstalling Other/Grace Keys           [Failed]" | ||||
| if %upk_result%==2 ( | ||||
| call :dk_color %Red% "Uninstalling Other/Grace Keys           [Failed]" | ||||
| if not defined showfix ( | ||||
| echo: | ||||
| call :dk_color %Blue% "%_fixmsg%" | ||||
| echo: | ||||
| set showfix=1 | ||||
| ) | ||||
| ) | ||||
| exit /b | ||||
| 
 | ||||
| ::======================================================================================================================================== | ||||
|  | ||||
		Loading…
	
		Reference in New Issue
	
	Block a user