@ -5891,7 +5891,7 @@ if %_actman%==0 (if not defined showfix call :dk_color %Blue% "%_fixmsg%")
@@ -5891,7 +5891,7 @@ if %_actman%==0 (if not defined showfix call :dk_color %Blue% "%_fixmsg%")
setfixes=%fixes%%mas%troubleshoot
call:dk_color2%Blue%"Check this webpage for help - "%_Yellow%"%mas%troubleshoot"
) else (
if/i%tsmethod%==KMS4k if%winbuild%GEQ 26200 (
if/i%tsmethod%==KMS4k if%winbuild%GEQ 26100 (
echo:
call:dk_color%Gray%"In Windows settings, you may see a renewal notification for activation that can be ignored."
if/i%_actmethod%==Auto call:dk_color%Gray%"To avoid this notification, run the script with an internet connection to use the StaticCID method."
@ -11388,6 +11389,9 @@ if (-not $env:resetstuff) {
@@ -11388,6 +11389,9 @@ if (-not $env:resetstuff) {
else {
if ($env:tsmethod-eq"KMS4k"){
Write-Host "[$prodName] is activated till $([DateTime]::Now.AddMinutes($GracePeriodStatus).ToString('yyyy-MM-dd HH:mm:ss')) with $env:tsmethod." -ForegroundColor White -BackgroundColor DarkGreen
if ($build-ge26100){
Write-Host "From build 26100.7019, Windows shows 180-day max, but activation lasts over 4,000 years, so it always stays at 180." -ForegroundColor White -BackgroundColor Darkgray
}
}
else {
Write-Host "[$prodName] is permanently activated with $env:tsmethod." -ForegroundColor White -BackgroundColor DarkGreen
@ -1953,7 +1953,7 @@ if %_actman%==0 (if not defined showfix call :dk_color %Blue% "%_fixmsg%")
@@ -1953,7 +1953,7 @@ if %_actman%==0 (if not defined showfix call :dk_color %Blue% "%_fixmsg%")
setfixes=%fixes%%mas%troubleshoot
call:dk_color2%Blue%"Check this webpage for help - "%_Yellow%"%mas%troubleshoot"
) else (
if/i%tsmethod%==KMS4k if%winbuild%GEQ 26200 (
if/i%tsmethod%==KMS4k if%winbuild%GEQ 26100 (
echo:
call:dk_color%Gray%"In Windows settings, you may see a renewal notification for activation that can be ignored."
if/i%_actmethod%==Auto call:dk_color%Gray%"To avoid this notification, run the script with an internet connection to use the StaticCID method."
@ -8961,6 +8962,9 @@ if (-not $env:resetstuff) {
@@ -8961,6 +8962,9 @@ if (-not $env:resetstuff) {
else {
if ($env:tsmethod-eq"KMS4k"){
Write-Host "[$prodName] is activated till $([DateTime]::Now.AddMinutes($GracePeriodStatus).ToString('yyyy-MM-dd HH:mm:ss')) with $env:tsmethod." -ForegroundColor White -BackgroundColor DarkGreen
if ($build-ge26100){
Write-Host "From build 26100.7019, Windows shows 180-day max, but activation lasts over 4,000 years, so it always stays at 180." -ForegroundColor White -BackgroundColor Darkgray
}
}
else {
Write-Host "[$prodName] is permanently activated with $env:tsmethod." -ForegroundColor White -BackgroundColor DarkGreen