mirror of
				https://github.com/massgravel/Microsoft-Activation-Scripts.git
				synced 2025-11-04 17:13:24 +08:00 
			
		
		
		
	Highlight options if unsupported product is detected
This commit is contained in:
		
							parent
							
								
									6c71e82ef3
								
							
						
					
					
						commit
						b5a305a14e
					
				@ -161,14 +161,15 @@ if %winbuild% LSS 10240 (
 | 
				
			|||||||
%eline%
 | 
					%eline%
 | 
				
			||||||
echo Unsupported OS version detected [%winbuild%].
 | 
					echo Unsupported OS version detected [%winbuild%].
 | 
				
			||||||
echo HWID Activation is supported only for Windows 10/11.
 | 
					echo HWID Activation is supported only for Windows 10/11.
 | 
				
			||||||
echo Use Online KMS Activation option.
 | 
					echo:
 | 
				
			||||||
 | 
					call :dk_color %Blue% "Use Online KMS Activation option."
 | 
				
			||||||
goto dk_done
 | 
					goto dk_done
 | 
				
			||||||
)
 | 
					)
 | 
				
			||||||
 | 
					
 | 
				
			||||||
if exist "%SystemRoot%\Servicing\Packages\Microsoft-Windows-Server*Edition~*.mum" (
 | 
					if exist "%SystemRoot%\Servicing\Packages\Microsoft-Windows-Server*Edition~*.mum" (
 | 
				
			||||||
%eline%
 | 
					%eline%
 | 
				
			||||||
echo HWID Activation is not supported for Windows Server.
 | 
					echo HWID Activation is not supported for Windows Server.
 | 
				
			||||||
echo Use KMS38 or Online KMS Activation option.
 | 
					call :dk_color %Blue% "Use KMS38 or Online KMS Activation option."
 | 
				
			||||||
goto dk_done
 | 
					goto dk_done
 | 
				
			||||||
)
 | 
					)
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
				
			|||||||
@ -167,6 +167,12 @@ if %winbuild% LSS 14393 (
 | 
				
			|||||||
%eline%
 | 
					%eline%
 | 
				
			||||||
echo Unsupported OS version detected [%winbuild%].
 | 
					echo Unsupported OS version detected [%winbuild%].
 | 
				
			||||||
echo KMS38 Activation is supported for Windows 10/11/Server, build 14393 and later.
 | 
					echo KMS38 Activation is supported for Windows 10/11/Server, build 14393 and later.
 | 
				
			||||||
 | 
					echo:
 | 
				
			||||||
 | 
					if %winbuild% LSS 10240 (
 | 
				
			||||||
 | 
					call :dk_color %Blue% "Use Online KMS Activation option."
 | 
				
			||||||
 | 
					) else (
 | 
				
			||||||
 | 
					call :dk_color %Blue% "Use HWID Activation option."
 | 
				
			||||||
 | 
					)
 | 
				
			||||||
goto dk_done
 | 
					goto dk_done
 | 
				
			||||||
)
 | 
					)
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
				
			|||||||
@ -161,6 +161,8 @@ if %winbuild% LSS 9200 (
 | 
				
			|||||||
%eline%
 | 
					%eline%
 | 
				
			||||||
echo Unsupported OS version detected [%winbuild%].
 | 
					echo Unsupported OS version detected [%winbuild%].
 | 
				
			||||||
echo Ohook Activation is supported on Windows 8 and later and their server equivalent.
 | 
					echo Ohook Activation is supported on Windows 8 and later and their server equivalent.
 | 
				
			||||||
 | 
					echo:
 | 
				
			||||||
 | 
					call :dk_color %Blue% "Use Online KMS Activation option."
 | 
				
			||||||
goto dk_done
 | 
					goto dk_done
 | 
				
			||||||
)
 | 
					)
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
				
			|||||||
		Loading…
	
	
			
			x
			
			
		
	
		Reference in New Issue
	
	Block a user