mirror of
https://github.com/abbodi1406/KMS_VL_ALL_AIO.git
synced 2024-12-22 09:50:50 +01:00
W10 IoTEnterpriseS KMS
This commit is contained in:
parent
116b51ce5d
commit
36ebf00f7c
1 changed files with 6 additions and 1 deletions
|
@ -223,6 +223,8 @@ if exist "%SystemRoot%\Servicing\Packages\Microsoft-Windows-Server*Edition~*.mum
|
||||||
set "ESUEditions=ServerDatacenter,ServerDatacenterCore,ServerDatacenterV,ServerDatacenterVCore,ServerStandard,ServerStandardCore,ServerStandardV,ServerStandardVCore,ServerEnterprise,ServerEnterpriseCore,ServerEnterpriseV,ServerEnterpriseVCore"
|
set "ESUEditions=ServerDatacenter,ServerDatacenterCore,ServerDatacenterV,ServerDatacenterVCore,ServerStandard,ServerStandardCore,ServerStandardV,ServerStandardVCore,ServerEnterprise,ServerEnterpriseCore,ServerEnterpriseV,ServerEnterpriseVCore"
|
||||||
)
|
)
|
||||||
for /f "tokens=6 delims=[]. " %%G in ('ver') do set winbuild=%%G
|
for /f "tokens=6 delims=[]. " %%G in ('ver') do set winbuild=%%G
|
||||||
|
set UBR=0
|
||||||
|
if %winbuild% GEQ 7601 for /f "skip=2 tokens=2*" %%a in ('reg query "HKLM\SOFTWARE\Microsoft\Windows NT\CurrentVersion" /v UBR 2^>nul') do if not errorlevel 1 set /a UBR=%%b
|
||||||
set "_csg=cscript.exe //NoLogo //Job:WmiMulti "%~nx0?.wsf""
|
set "_csg=cscript.exe //NoLogo //Job:WmiMulti "%~nx0?.wsf""
|
||||||
set "_csq=cscript.exe //NoLogo //Job:WmiQuery "%~nx0?.wsf""
|
set "_csq=cscript.exe //NoLogo //Job:WmiQuery "%~nx0?.wsf""
|
||||||
set "_csm=cscript.exe //NoLogo //Job:WmiMethod "%~nx0?.wsf""
|
set "_csm=cscript.exe //NoLogo //Job:WmiMethod "%~nx0?.wsf""
|
||||||
|
@ -675,7 +677,10 @@ IF %winbuild% LSS 14393 (
|
||||||
)
|
)
|
||||||
IF NOT "%EditionWMI%"=="" SET "EditionID=%EditionWMI%"
|
IF NOT "%EditionWMI%"=="" SET "EditionID=%EditionWMI%"
|
||||||
IF /I "%EditionID%"=="IoTEnterprise" SET "EditionID=Enterprise"
|
IF /I "%EditionID%"=="IoTEnterprise" SET "EditionID=Enterprise"
|
||||||
IF /I "%EditionID%"=="IoTEnterpriseS" IF %winbuild% LSS 22610 SET "EditionID=EnterpriseS"
|
IF /I "%EditionID%"=="IoTEnterpriseS" IF %winbuild% LSS 22610 (
|
||||||
|
SET "EditionID=EnterpriseS"
|
||||||
|
IF %winbuild% GEQ 19041 IF %UBR% GEQ 2788 SET "EditionID=IoTEnterpriseS"
|
||||||
|
)
|
||||||
IF /I "%EditionID%"=="ProfessionalSingleLanguage" SET "EditionID=Professional"
|
IF /I "%EditionID%"=="ProfessionalSingleLanguage" SET "EditionID=Professional"
|
||||||
IF /I "%EditionID%"=="ProfessionalCountrySpecific" SET "EditionID=Professional"
|
IF /I "%EditionID%"=="ProfessionalCountrySpecific" SET "EditionID=Professional"
|
||||||
IF /I "%EditionID%"=="EnterpriseG" SET Win10Gov=1
|
IF /I "%EditionID%"=="EnterpriseG" SET Win10Gov=1
|
||||||
|
|
Loading…
Reference in a new issue