diff options
| author | WindowsAddict | 2025-08-06 20:20:09 +0000 |
|---|---|---|
| committer | WindowsAddict | 2025-08-06 20:20:09 +0000 |
| commit | e6eaeaa682caa17d98f537638b2e3df96210bbfb (patch) | |
| tree | afeb7579a660926eafa5ddcbe1a0bf189a24875f /MAS/Separate-Files-Version/Activators/KMS38_Activation.cmd | |
| parent | e2c52b4ac812dc2adf17b3a037e4127562be3712 (diff) | |
| download | Microsoft-Activation-Scripts-e6eaeaa682caa17d98f537638b2e3df96210bbfb.zip | |
Detect vnext license and show info
Diffstat (limited to 'MAS/Separate-Files-Version/Activators/KMS38_Activation.cmd')
| -rw-r--r-- | MAS/Separate-Files-Version/Activators/KMS38_Activation.cmd | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/MAS/Separate-Files-Version/Activators/KMS38_Activation.cmd b/MAS/Separate-Files-Version/Activators/KMS38_Activation.cmd index 51c9913..816834d 100644 --- a/MAS/Separate-Files-Version/Activators/KMS38_Activation.cmd +++ b/MAS/Separate-Files-Version/Activators/KMS38_Activation.cmd @@ -1772,6 +1772,7 @@ call :dk_actid 55c92734-d682-4d71-983e-d6ec3f16059f if not defined apps (
%psc% "if (-not $env:_vis) {Start-Job { Stop-Service %_slser% -force } | Wait-Job -Timeout 20 | Out-Null}; $sls = Get-WmiObject SoftwareLicensingService; $f=[System.IO.File]::ReadAllText('!_batp!') -split ':xrm\:.*';. ([scriptblock]::Create($f[1])); ReinstallLicenses" %nul%
+if not defined _vis if !errorlevel! NEQ 0 set rlicfailed=1
call :dk_actid 55c92734-d682-4d71-983e-d6ec3f16059f
)
@@ -1793,6 +1794,13 @@ set error=1 set showfix=1
)
+if not defined showfix if defined rlicfailed (
+echo:
+call :dk_color %Blue% "%_fixmsg%"
+call :dk_color %Blue% "If activation still fails then run Fix WPA Registry option."
+echo:
+)
+
if %winbuild% GEQ 7600 if exist "%tokenstore%\" if not exist "%tokenstore%\tokens.dat" (
call :dk_color %Red% "Checking SPP tokens.dat [Not Found] [%tokenstore%\]"
)
|
