diff --git a/kms.ps1 b/kms.ps1 index ab71705..97b2c6c 100644 --- a/kms.ps1 +++ b/kms.ps1 @@ -59,7 +59,7 @@ if ($osType.ProductType -gt 1) { if ($osInfo.WindowsProductName -eq "Windows 10 Enterprise LTSC 2019") { # Windows 10 2019 LTSC c:\Windows\System32\cscript.exe /nologo c:\Windows\System32\slmgr.vbs /ipk M7XTQ-FN8P6-TTKYV-9D4CC-J462D - } elseif ($osInfo.WindowsProductName -eq "Windows 10 Enterprise LTSB 2016") + } elseif ($osInfo.WindowsProductName -eq "Windows 10 Enterprise LTSB 2016") { # Windows 10 2016 LTSB c:\Windows\System32\cscript.exe /nologo c:\Windows\System32\slmgr.vbs /ipk DCPHK-NFMTC-H88MJ-PFHPY-QJ4BJ } elseif ($osInfo.WindowsProductName -match "Windows 1[0-1] Enterprise") {