In addition to Weibo, there is also WeChat
Please pay attention
WeChat public account
Shulou
2025-04-02 Update From: SLTechnology News&Howtos shulou NAV: SLTechnology News&Howtos > Servers >
Share
Shulou(Shulou.com)06/02 Report--
@ echo off
Set / a _ Debug=0
:: =
:: Get Administrator Rights
Set _ Args=%
If "% ~ 1" NEQ ""
Set _ Args=%_Args: "=%
)
Fltmc 1 > nul 2 > nul | | (
Cd / d "% ~ dp0"
Cmd / u / c echo Set UAC = CreateObject^ ("Shell.Application" ^): UAC.ShellExecute "cmd.exe", "/ k cd"% ~ dp0"& &"% ~ dpnx0"% _ Args% "", "runas", 1 > "% object\ GetAdmin.vbs"
"% temp%\ GetAdmin.vbs"
Del / f / Q "% temp%\ GetAdmin.vbs" 1 > nul 2 > nul
Exit
)
:: =
:: Can be 0 (Delete Auto-Renewal-Task OR Manual-Mode) | 1 (Create Auto-Renewal-Task)
Set / a _ Task=0
:: Define switches
Echo% | find / I "- createtask" > nul&& set / a _ Task=1
Echo% * | find / I "- renewalonly" > nul&& set / a _ Task=2
:: =
:: No Debug, Define the nul suppressors
If% _ Debug% EQU 0 (
Set "_ Nul_1=1 > nul"
Set "_ Nul_2=2 > nul"
Set "_ Nul_2e= 2 ^ > nul"
Set "_ Nul_1_2=1 > nul 2 > nul"
Call: Begin
) else (
REM Debug, Clear all nul suppressors, Call script redirecting output to log file
Set "_ Nul_1="
Set "_ Nul_2="
Set "_ Nul_2e="
Set "_ Nul_1_2="
Echo.
Echo Running in Debug Mode...
Echo The window will be closed when finished
@ echo on
@ prompt $G
@ call: Begin > "% ~ dpn0.tmp" 2 > & 1 & cmd / u / c type "% ~ dpn0.tmp" > "% ~ dpn0_Debug.log" & del "% ~ dpn0.tmp"
)
Exit
:: =
: Begin
: Set Title of the Script; Color [Background] [Text] in hex (0 to F)
Title KMS-VL-ALL-7.2RC2 [2018-08-20T09:14Z]
Color 07
:: Get Fully Qualified FileName of the Script
Set "_ FileName=%~f0"
:: Get Drive and Path containing the Script
Set "_ FileDir=%~dp0"
If "% _ FileDir:~-1%" = = "\" set "_ FileDir=%_FileDir:~0,-1%"
:: Set Internal KMS Server Path
Set "_ ServerPath=%_FileDir%\ 32-bit\ vlmcsd.exe"
:: Set Task Name for the Script
Set "_ TaskName=KMS_VL_ALL"
:: Set EnableExtensions and DelayedExpansion
Setlocal EnableExtensions EnableDelayedExpansion
:: Can be 0 (Online Mode-Used for External KMS Server) | 1 (Offline Mode-Used for Internal KMS Server)
Set / a _ OfflineMode=1
:: Can be ONSTART | ONLOGON | MINUTE (1-1439) | HOURLY (1-23) | DAILY (1-1439) | WEEKLY (1-52) | MONTHLY (1-12)
Set "_ TaskFrequency=ONLOGON"
:: Can be integers in the range shown above
Set / a _ TaskModifier=1
:: =
:: Set Parameters for KMS Server
:: Custom Windows ePID
Set "_ WindowsEPID=03612-00206-471-452343-03-1033-14393.0000-1082018"
:: Custom Windows 10 Enterprise G/GN ePID
Set "_ WindowsGEPID=03612-00206-471-452343-03-1033-14393.0000-1082018"
:: Custom Office 2010 ePID
Set "_ Office2010EPID=03612-00096-1999303490-03-1033-14393.0000-1082018"
:: Custom Office 2013 ePID
Set "_ Office2013EPID=03612-00206-234-394838-03-1033-14393.0000-1082018"
:: Custom Office 2016 ePID
Set "_ Office2016EPID=03612-00206-437-938923-03-1033-14393.0000-1082018"
:: Can be Custom HardwareID obtained from a Real KMS Server Host
Set "_ HardwareID=3A1C049600B60076"
:: Can be 0 (Custom ePIDs) | 1 (Randomized ePIDs for every Session) | 2 (Randomized ePIDs for every Request)
Set / a _ RandomLevel=0
: Can be (15 to 43200) minutes; Default-2 hours, Maximum-30 days
Set / a _ KMSActivationInterval=43200
: Can be (15 to 43200) minutes; Default-7 days, Maximum-30 days
Set / a _ KMSRenewalInterval=43200
:: =
:: Set Parameters for KMS Client
:: _ KMSHost Can be (0-255.0-255.0-255.0-255), but NOT 127.x.x.x/Localhost IPs [Offline Mode] | KMS-ServerName/IP [Online Mode]
Set "_ KMSHost=172.19.34.103"
Set "_ KMSLocalHost=172.19.34.103"
: Can be (1 to 65535) [Offline Mode]; 1688 [Online Mode]
Set / a _ KMSPort=1686
:: =
:: Set Registry Key for DLL Hook
Set "_ regKey=HKLM\ SOFTWARE\ Microsoft\ Windows NT\ CurrentVersion\ Image File Execution Options"
:: =
:: Registry Keys for SPP and OSPP
Set "_ hkSPP=HKLM\ SOFTWARE\ Microsoft\ Windows NT\ CurrentVersion\ SoftwareProtectionPlatform"
Set "_ huSPP=HKEY_USERS\ S Mel 1-5-20\ Software\ Microsoft\ Windows NT\ CurrentVersion\ SoftwareProtectionPlatform"
Set "_ hkOSPP=HKLM\ SOFTWARE\ Microsoft\ OfficeSoftwareProtectionPlatform"
:: =
:: Set KMS Genuine Ticket Validation Parameters
:: Can be 0 (Enable Genuine Ticket) | 1 (Disable Genuine Ticket)
Set / a _ KMSNoGenTicket=1
:: Registry Key for KMS Genuine Ticket
Set "_ KMSGenuineKey=HKLM\ SOFTWARE\ Policies\ Microsoft\ Windows NT\ CurrentVersion\ Software Protection Platform"
:: =
:: Go to the Path of the Script
Pushd "% _ FileDir%"
:: Check if [Office 2010 on Windows XP SP3 or Later] OR [Office 2013 or Later on Windows 7 / Server 2008 R2] is Installed
Wmic path OfficeSoftwareProtectionService get Version% _ Nul_1_2% & & (
Set / a _ OSPS=1
) | | (
Set / a _ OSPS=0
)
:: Check if Office products are ACTUALLY installed
For% G in (14, 15, 15, 16) do (
Call: OfficeDetect% G
)
:: Get Architecture of the OS installed; OS Locale Independent from Windows XP / Server 2003 and Later
For / f "tokens=2 delims=="% G in ('wmic path Win32_Processor get AddressWidth / value') do (
Set "_ OSarch=%%G-bit"
)
:: Visual Studio Activation
Call: VisualStudio "12.0"InstallDir" 87DQC-G8CYR-CRPJ4-QX9K8-RFV2B "" 06181 "" 2013 Ultimate "
Call: VisualStudio "14.0"InstallDir" HM6NR-QXX7C-DFW2Y-8B82K-WTYJV "" 07060 "" 2015 Enterprise "
Call: VisualStudio "SxS\ VS7"15.0"Common7\ IDE"NJVYC-BMHX2-G77MM-4XJMR-6Q8QF"08860"2017 Enterprise"
:: Get Windows OS build number
For / f "tokens=2 delims=="% G in ('wmic path Win32_OperatingSystem get BuildNumber / value') do (
Set / a _ WinBuild=%%G
)
:: Define installed Edition for Windows 10 build 1607 or later
If% _ WinBuild% LSS 14393 goto: Main
:: Get Edition based on active CBS package, or fall back to Dism CurrentEdition
Set "_ CBS=HKLM\ SOFTWARE\ Microsoft\ Windows\ CurrentVersion\ Component Based Servicing\ Packages"
Set "_ Pattern=Microsoft-Windows-*Edition~31bf3856ad364e35"
Set "_ EditionPkg=NUL"
For / f "tokens=8 delims=\"% G in ('reg query "% _ CBS%" / f "% _ Pattern%" / k% _ Nul_2e% ^ | find / I "CurrentVersion"') do (
Reg query "% _ CBS%\% G" / v "CurrentState"% _ Nul_2% | find / I "0x70"% _ Nul_1% & & (
For / f "tokens=3 delims=-~"% H in ('echo% G') do set "_ EditionPkg=%%H"
)
)
If / I "% _ EditionPkg:~-7%" = = "Edition" (
Set "_ Edition=%_EditionPkg:~0,-7%"
) else (
For / f "tokens=3 delims=:"% G in ('dism / English / Online / Get-CurrentEdition% _ Nul_2e% ^ | find / I "CurrentEdition:") do (
Set "_ Edition=%%G"
)
)
:: Get Edition based on current installed product key
For / f "tokens=2 delims=="% G in ('"wmic path SoftwareLicensingProduct where (Name like 'Windows%%' and PartialProductKey is not NULL) get LicenseFamily / value") do if not errorlevel 1 (
Set "_ EditionWMI=%%G"
)
If not defined _ EditionWMI (
If% _ WinBuild% GEQ 17063 (
For / f "skip=2 tokens=3"% G in ('reg query "HKLM\ SOFTWARE\ Microsoft\ Windows NT\ CurrentVersion" / v EditionId') do (
Set "_ Edition=%%G"
)
)
Goto: Main
)
:: Exclude Windows 10 S
For% G in (Cloud,CloudN) do (
If / I "% _ EditionWMI%" = = "% G" goto: Main
)
Set "_ Edition=%_EditionWMI%"
:: =
: Main
:: Goto Main blocks according to Windows BuildNumber
If% _ WinBuild% GEQ 9600 (
REM NO parenthesis or brackets in echo messages
Echo Operating System: Windows 8.1 or Later
Goto: Win8.1AndLater
) else if% _ WinBuild% GEQ 2600 (
Echo Operating System: Windows 8 or Earlier
Goto: Win8AndEarlier
) else (
Echo KMS_VL_ALL is NOT supported on this OS.
Echo.
Echo Closing in 5 Seconds...
Ping 127.0.0.1-n 6% _ Nul_1_2%
Exit / b
)
:: =
: Close
:: Create/Delete Auto-Renewal Task based on parameter; Windows XP SP3 or Later Compatible
If% _ Task% EQU 1 (
Schtasks / query / fo list% _ Nul_2% | findstr / I "% _ TaskName%"% _ Nul_1% & &
Schtasks / delete / tn "% _ TaskName%" / f% _ Nul_1_2%
)
If / I% _ TaskFrequency% EQU ONSTART (
Schtasks / create / tn "% _ TaskName%" / ru "SYSTEM" / sc "% _ TaskFrequency%" / tr "% FileName%-renewalonly"% _ Nul_1_2% & & (
Echo.
Echo Auto-Renewal Task is Created.
)
) else if / I% _ TaskFrequency% EQU ONLOGON (
Schtasks / create / tn "% _ TaskName%" / ru "SYSTEM" / sc "% _ TaskFrequency%" / tr "% FileName%-renewalonly"% _ Nul_1_2% & & (
Echo.
Echo Auto-Renewal Task is Created.
)
) else (
Schtasks / create / tn "% _ TaskName%" / ru "SYSTEM" / sc "% _ TaskFrequency%" / mo "% _ TaskModifier%" / tr "% FileName%-renewalonly"% _ Nul_1_2% & & (
Echo.
Echo Auto-Renewal Task is Created.
)
)
) else if% _ Task% EQU 0 (
Schtasks / query / fo list% _ Nul_2% | findstr / I "% _ TaskName%"% _ Nul_1% & &
Schtasks / delete / tn "% _ TaskName%" / f% _ Nul_1_2%
Echo.
Echo Auto-Renewal Task is Deleted.
)
)
If% _ Debug% EQU 0 (
Echo.
Echo Closing in 5 Seconds...
Ping 127.0.0.1-n 6% _ Nul_1_2%
)
Exit / b
:: =
: Win8.1AndLater
If% _ OfflineMode% EQU 1 (
REM Stop 'sppsvc'
Call: StopService "sppsvc"
)
REM Create registry keys for DLL Patcher
Call: CreateIFEOEntry "SppExtComObj.exe"
REM Add Firewall Exceptions for VLMCSD and Start KMS Server
Call: AddFirewallRule
Call: StartKMS
)
:: Enable/Disable KMS Genuine Ticket Validation for Windows 8.1 and later
If% _ WinBuild% GEQ 9600 (
Call: KMSGenuineTicket
)
:: Call Windows and Office Activation Main Functions
Call: SLSActivation
If% _ OSPS% NEQ 0 (
If% _ OfflineMode% EQU 1 (
REM Localhost IP should be used for Office 2010 on Windows 8.1 and later
Set "_ KMSHost=%_KMSLocalHost%"
)
Call: OSPSActivation
)
If% _ OfflineMode% EQU 1 (
REM Stop 'sppsvc'
Call: StopService "sppsvc"
REM Stop KMS Server and Remove Firewall Exceptions for VLMCSD
Call: StopKMS
Call: RemoveFirewallRule
REM Remove registry keys for DLL Hook
Call: RemoveIFEOEntry "SppExtComObj.exe"
REM Start 'sppsvc'
Sc start sppsvc trigger=timer;sessionid=0% _ Nul_1_2%
)
Call: Close & exit / b
:: =
: Win8AndEarlier
:: Exit if No Office 2010 product is installed on Windows XP SP3/Server 2003 R2
If% _ OSPS% EQU 0 (
If% _ WinBuild% LSS 6000 (
Echo.
Echo No Office 2010 Product Detected...
Call: Close & exit / b
)
)
If% _ OfflineMode% EQU 1 (
REM Localhost IP can be used for Windows 8 and earlier
Set "_ KMSHost=%_KMSLocalHost%"
REM Windows Vista do not support SetKeyManagementServicePort, so revert to default KMS port
If% _ WinBuild% LSS 7600 (
Set / a _ KMSPort=1688
)
REM Add Firewall Exceptions for VLMCSD and Start KMS Server
Call: AddFirewallRule
Call: StartKMS
)
:: Call Windows and Office Activation Main Functions
If% _ WinBuild% GEQ 6000 (
Call: SLSActivation
)
If% _ OSPS% NEQ 0 (
Call: OSPSActivation
)
If% _ OfflineMode% EQU 1 (
REM Stop KMS Server and Remove Firewall Exceptions for VLMCSD
Call: StopKMS
Call: RemoveFirewallRule
)
Call: Close & exit / b
:: =
: AddFirewallRule
:: Add VLMCSD KMS Exception to Windows Firewall
If% _ WinBuild% LSS 6000 (
Netsh firewall delete allowedprogram "% _ ServerPath%"% _ Nul_1_2%
Netsh firewall add allowedprogram "% _ ServerPath%"vlmcsd"% _ Nul_1_2%
) else (
Netsh advfirewall firewall delete rule name= "vlmcsd"% _ Nul_1_2%
Netsh advfirewall firewall add rule name= "vlmcsd" dir=in action=allow profile=any program= "% _ ServerPath%"% _ Nul_1_2%
)
Exit / b
:: =
: RemoveFirewallRule
:: Remove VLMCSD KMS Exception from Windows Firewall
If% _ WinBuild% LSS 6000 (
Netsh firewall delete allowedprogram "% _ ServerPath%"% _ Nul_1_2%
) else (
Netsh advfirewall firewall delete rule name= "vlmcsd"% _ Nul_1_2%
)
Exit / b
:: =
: StartKMS
:: Start VLMCSD KMS Server
If% _ RandomLevel% EQU 0 (
Cmd / c start / b "% _ ServerPath%"-P% _ KMSPort%-0% _ Office2010EPID%-3% _ Office2013EPID%-6% _ Office2016EPID%-w% _ WindowsEPID%-G% _ WindowsGEPID%-H% _ HardwareID%-R% _ KMSRenewalInterval%-A% _ KMSActivationInterval%-T0-e% _ Nul_1_2%
) else (
Cmd / c start / b "% _ ServerPath%"-r% _ RandomLevel%-P% _ KMSPort%-H% _ HardwareID%-R% _ KMSRenewalInterval%-A% _ KMSActivationInterval%-T0-e% _ Nul_1_2%
)
:: Mind boggling BUG Fix; Windows Vista or earlier takes some time to start KMS Server which prevents Activation; So add delay for it to successfully start
If% _ WinBuild% LSS 7600 (
Ping 127.0.0.1-n 12% _ Nul_1_2%
)
Exit / b
:: =
: StopKMS
:: Stop VLMCSD KMS Server
Taskkill / t / f / IM vlmcsd.exe% _ Nul_1_2%
Exit / b
:: =
: KMSGenuineTicket
:: Enable/Disable KMS Genuine Ticket Validation registry key based on user parameter
Reg add "% _ KMSGenuineKey%" / v NoGenTicket / t REG_DWORD / d% _ KMSNoGenTicket% / f% _ Nul_1_2%
Exit / b
:: =
: RemoveIFEOEntry
:: Remove DLL Injection Registry key based on parameter
If'% ~ 1 'NEQ' osppsvc.exe' (
Reg delete "% _ regKey%\% ~ 1" / f% _ Nul_1_2%
)
If'% ~ 1 'EQU' osppsvc.exe' (
Reg delete "% _ regKey%\% ~ 1" / f / v "Debugger"% _ Nul_1_2%
)
Exit / b
:: =
: StopService
:: Stop service based on parameter
Sc query "% 1" | findstr / I "STOPPED"% _ Nul_1_2% | | (
Net stop'1' / y _ Nul_1_2%
)
Sc query "% 1" | findstr / I "STOPPED"% _ Nul_1_2% | | (
Sc stop'1' _ Nul_1_2%
)
Exit / b
:: =
: SLSActivation
Reg delete "% _ hkSPP%\ 55c92734-d682-4d71-983e-d6ec3f16059f" / f% _ Nul_1_2%
Reg delete "% _ hkSPP%\ 0ff1ce15-a989-479d-af46-f275c6370663" / f% _ Nul_1_2%
Set "_ MicrosoftProduct=SoftwareLicensingProduct"
Set "_ MicrosoftService=SoftwareLicensingService"
:: Detect if Office 2013 [Volume Licensed] or Later is Installed
Wmic path% MicrosoftProduct% where (Description like'% KMSCLIENT%%') get Name / value% _ Nul_2% | findstr / I "Office"% _ Nul_1% & & (
Set / a _ OfficeVL=1
) | | (
Set / a _ OfficeVL=0
If% _ WinBuild% GEQ 9200 (
Echo.
Echo No Office 2013 or Later Volume License Product Detected.
)
)
:: Detect if installed Windows supports KMS Activation; Exit if there are no VolumeLicensed Windows or Office
Wmic path% _ MicrosoftProduct% where (Description like'% KMSCLIENT%%') get Name / value% _ Nul_2% | findstr / I "Windows"% _ Nul_1% | | (
Echo.
Echo No Windows Volume License Product Detected.
If% _ OfficeVL% EQU 0 (
Exit / b
)
)
:: Check if GVLK is installed for Windows
Wmic path% MicrosoftProduct% where (Description like'% KMSCLIENT%%' and PartialProductKey is not NULL) get Name / value% _ Nul_2% | findstr / I "Windows"% _ Nul_1% & & (
Set / a _ WindowsGVLK=1
) | | (
Set / a _ WindowsGVLK=0
)
:: Call Common Core Activation Routines
Call: CommonSLSandOSPS
Reg delete "% _ hkSPP%\ 55c92734-d682-4d71-983e-d6ec3f16059f" / f% _ Nul_1_2%
Reg delete "% _ hkSPP%\ 0ff1ce15-a989-479d-af46-f275c6370663" / f% _ Nul_1_2%
Reg delete "% _ huSPP%\ 55c92734-d682-4d71-983e-d6ec3f16059f" / f% _ Nul_1_2%
Reg delete "% _ huSPP%\ 0ff1ce15-a989-479d-af46-f275c6370663" / f% _ Nul_1_2%
Exit / b
:: =
: OSPSActivation
Reg delete "% _ hkOSPP%\ 59a52881-a989-479d-af46-f275c6370663" / f% _ Nul_1_2%
Reg delete "% _ hkOSPP%\ 0ff1ce15-a989-479d-af46-f275c6370663" / f% _ Nul_1_2%
Set "_ MicrosoftProduct=OfficeSoftwareProtectionProduct"
Set "_ MicrosoftService=OfficeSoftwareProtectionService"
:: Determine if installed Office product is Retail or VL version; Exit if no VolumeLicensed Office is detected
Wmic path% _ MicrosoftProduct% where (Description like'% KMSCLIENT%%') get Name% _ Nul_1_2% | |
If% _ WinBuild% LSS 9200 (
Echo.
Echo No Office 2010 or Later Volume License Product Detected.
Exit / b
) else (
Echo.
Echo No Office 2010 Volume License Product Detected.
Exit / b
)
)
:: Call Common Core Activation Routines
Call: CommonSLSandOSPS
Reg delete "% _ hkOSPP%\ 59a52881-a989-479d-af46-f275c6370663" / f% _ Nul_1_2%
Reg delete "% _ hkOSPP%\ 0ff1ce15-a989-479d-af46-f275c6370663" / f% _ Nul_1_2%
Exit / b
:: =
: CommonSLSandOSPS
:: Get SoftwareLicensingService/OfficeSoftwareProtectionService version to set 'KMSHost' and' KMSPort' values
For / f "tokens=2 delims=="% G in ('"wmic path% _ MicrosoftService% get Version / value"') do (
Set "_ Version=%%G"
)
Wmic path% _ MicrosoftService% where version='%_Version%' call SetKeyManagementServiceMachine MachineName= "% _ KMSHost%"% _ Nul_1_2%
Wmic path _ MicrosoftService% where version='%_Version%' call SetKeyManagementServicePort% _ KMSPort%% _ Nul_1_2%
:: This is available only on SoftwareLicensingService version 6.2 and later; Not available for OfficeSoftwareProtectionService
If% _ WinBuild% GEQ 9200 (
Wmic path% _ MicrosoftService% where version='%_Version%' call SetVLActivationTypeEnabled 2% _ Nul_1_2%
)
:: For all the supported KMS Clients in SoftwareLicensingProduct/OfficeSoftwareProtectionProduct call 'CheckProduct'
For / f "tokens=2 delims=="% G in ('"wmic path% _ MicrosoftProduct% where (Description like'% KMSCLIENT%%') get ID / value"') do
Set "_ ActivationID=%%G"
Call: CheckProduct
)
:: Clear KMS Server details from KMS Client, for Offline mode only
If% _ OfflineMode% EQU 1 (
Wmic path _ MicrosoftService% where version='%_Version%' call ClearKeyManagementServiceMachine% _ Nul_1_2%
Wmic path _ MicrosoftService% where version='%_Version%' call ClearKeyManagementServicePort% _ Nul_1_2%
Wmic path _ MicrosoftService% where version='%_Version%' call DisableKeyManagementServiceDnsPublishing 1 _ Nul_1_2%
Wmic path _ MicrosoftService% where version='%_Version%' call DisableKeyManagementServiceHostCaching 1 _ Nul_1_2%
REM This is available only on SoftwareLicensingService version 6.2 and later; Not available for OfficeSoftwareProtectionService
If% _ WinBuild% GEQ 9200 (
Wmic path _ MicrosoftService% where version='%_Version%' call ClearVLActivationTypeEnabled% _ Nul_1_2%
)
)
Exit / b
:: =
: CheckProduct
:: Detect Office Products
Set / a _ OfficeSLP=0
Wmic path% _ MicrosoftProduct% where ID='%_ActivationID%' get Name / value | findstr / I "Office"% _ Nul_1% & (
Set / a _ OfficeSLP=1
)
:: If Detected KMS Client is already activated earlier OR has GVLK, call Activate function
If% _ OfficeSLP% EQU 0 wmic path% _ MicrosoftProduct% where ID='%_ActivationID%' get LicenseStatus | findstr "1"% _ Nul_1_2% & & (
Call: Activate% _ ActivationID%
Exit / b
)
Wmic path% MicrosoftProduct% where (PartialProductKey is not NULL) get ID | findstr / I "% _ ActivationID%"% _ Nul_1_2% & & (
Call: Activate% _ ActivationID%
Exit / b
)
:: Skip for Unnecessary Products
If% _ OfficeSLP% EQU 0 (
If% _ WindowsGVLK% EQU 1 (
Exit / b
)
)
:: Ugly hack for multiple Windows 10 SKU-IDs
For% G in (
B71515d9-89a2-4c60-88c8-656fbcca7f3a
5b2add49-b8f4-42e0-a77c-adad4efeeeb1
Af43f7f0-3b1e-4266-a123-1fdb53f4323b
075aca1f-05d7-42e5-a3ce-e349e7be7078
2cf5af84-abab-4ff0-83f8-f040fb2576eb
11a37f09-fb7f-4002-bd84-f3ae71d11e90
43f2ab05-7c87-4d56-b27c-44d0f9a3dabd
6ae51eeb-c268-4a21-9aae-df74c38b586d
Ff808201-fec6-4fd4-ae16-abbddade5706
34260150-69ac-49a3-8a0d-4a403ab55763
903663f7-d2ab-49c9-8942-14aa9e0a9c72
4dfd543d-caa6-4f69-a95f-5ddfe2b89567
5fe40dd6-cf1f-4cf2-8729-92121ac2e997
2cc171ef-db48-4adc-af09-7c574b37f139
) do (
If / I'% ActivationID%' EQU'% G' (
Exit / b
)
)
:: If Detected KMS Client do not have GVLK, do checks for permanent activation, then install GVLK and activate it
For / f "tokens=3 delims==,"% G in ('"wmic path% _ MicrosoftProduct% where ID='%_ActivationID%' get Name / value"') do (
Set "_ ProductName=%%G"
)
If'% _ ProductName%' EQU '19' (
If% _ Office16% EQU 0 (
Exit / b
)
Call: CheckOffice19% _ ActivationID%
Exit / b
) else if'% _ ProductName%' EQU '16' (
If% _ Office16% EQU 0 (
Exit / b
)
Call: CheckOffice16% _ ActivationID%
Exit / b
) else if'% _ ProductName%' EQU '15' (
If% _ Office15% EQU 0 (
Exit / b
)
Call: CheckOffice15% _ ActivationID%
Exit / b
) else if'% _ ProductName%' EQU '14' (
If% _ Office14% EQU 0 (
Exit / b
)
Call: CheckOffice14% _ ActivationID%
Exit / b
)
:: Pre Windows 10 build 1607 do not have combined editions
If not defined _ Edition (
Call: CheckWindows% _ ActivationID%
Exit / b
)
:: Ugly hack for combined editions in Windows 10 installation
If / I'% ActivationID%' EQU '2de67392-b7a7-462a Murray b1camur108dd189f588' (
If / I% _ Edition% NEQ Professional (
Exit / b
)
)
If / I'% ActivationID%' EQU 'a80b5abfMura80b5abfMuy76adly428bMub05dMura47d2dffeebff' (
If / I% _ Edition% NEQ ProfessionalN (
Exit / b
)
)
If / I'% ActivationID%' EQU '82bbc092-bc50-4e16-8e18murb74fc486aec3' (
If / I% _ Edition% NEQ ProfessionalWorkstation (
Exit / b
)
)
If / I'% _ ActivationID%' EQU '4b1571d3-bafb-4b40-8087color a961be2caf65' (
If / I% _ Edition% NEQ ProfessionalWorkstationN (
Exit / b
)
)
If / I'% ActivationID%' EQU '3f1afc82-f8ac-4f6c-8005-1d233e606eee' (
If / I% _ Edition% NEQ ProfessionalEducation (
Exit / b
)
)
If / I'% ActivationID%' EQU '5300b18c-2e33-4dc2-8291-47ffcec746dd' (
If / I% _ Edition% NEQ ProfessionalEducationN (
Exit / b
)
)
If / I'% ActivationID%' EQU '73111121-5638-40f6 murbc11murf1d7b0d64300' (
If / I% _ Edition% NEQ Enterprise (
Exit / b
)
)
If / I'% ActivationID%' EQU 'e272e3e2-732f-4c65-a8f0-484747d0d947' (
If / I% _ Edition% NEQ EnterpriseN (
Exit / b
)
)
If / I'% ActivationID%' EQU 'e0c42288-980cmur4788Mura014Murc080d2e1926e' (
If / I% _ Edition% NEQ Education (
Exit / b
)
)
If / I'% ActivationID%' EQU '3c102355-d027-42c6-ad23-2e7ef8a02585' (
If / I% _ Edition% NEQ EducationN (
Exit / b
)
)
If / I'% ActivationID%' EQU 'e4db50ea-bda1-4566-b047-0ca50abc6f07' (
If / I% _ Edition% NEQ ServerRdsh (
Exit / b
)
)
If / I'% _ ActivationID%' EQU 'ec868e65-fadf-4759-b23e-93fe37f2cc29' (
If / I% _ Edition% NEQ ServerRdsh (
Exit / b
)
)
If / I'% ActivationID%' EQU '58e97c99-f377-4ef1-81d5-4ad5522b5fd8' (
If / I% _ Edition% NEQ Core (
Exit / b
)
)
If / I'% ActivationID%' EQU 'cd918a57-a41b-4c82-8dceMel1a538e221a83' (
If / I% _ Edition% NEQ CoreSingleLanguage (
Exit / b
)
)
Call: CheckWindows% _ ActivationID%
Exit / b
:: =
: CheckWindows
Wmic path% MicrosoftProduct% where (LicenseStatus='1' and GracePeriodRemaining='0') get Name% _ Nul_2% | findstr / I "Windows"% _ Nul_1% & & (
Echo.
Echo Detected Windows% _ ProductName% is permanently activated.
Exit / b
)
:: If Windows is not permanently activated, Install GVLK and Activate
Call: SelectKey 1
Exit / b
:: =
: CheckOffice19
:: Ugly check for old volume licenses of Office 2019 Pro SKUs
If / I'% 1' EQU '0bc88885-718cMY 491dMui 921fMel 6f214349e79c' (
Exit / b
)
If / I'1' EQU 'fc7c4d0c-2e85-4bb9-afd4-01ed1476b5e9' (
Exit / b
)
If / I'1' EQU '500f6619-ef93-4b75-bcb4-82819998a3ca' (
Exit / b
)
If / I'% 1' EQU '85dd8b5f-eaa4-4af3Muya628Muscce9e77c9a03' (
Wmic path% _ MicrosoftProduct% where 'PartialProductKey is not NULL' get ID | findstr / I "0bc88885-718c-491d-921f-6f214349e79c"% _ Nul_1_2% & & (
Exit / b
)
)
If / I'% 1' EQU '2ca2bf3fMur949eMel 446aMel 82c7lie25a15ec78c4' (
Wmic path% _ MicrosoftProduct% where 'PartialProductKey is not NULL' get ID | findstr / I "fc7c4d0c-2e85-4bb9-afd4-01ed1476b5e9"% _ Nul_1_2% & & (
Exit / b
)
)
If / I'% 1' EQU '5b5cf08f-b81a-431d-b080-3450d8620565' (
Wmic path% _ MicrosoftProduct% where 'PartialProductKey is not NULL' get ID | findstr / I "500f6619-ef93-4b75-bcb4-82819998a3ca"% _ Nul_1_2% & & (
Exit / b
)
)
If / I'% 1' EQU '85dd8b5f-eaa4-4af3Muya628Muscce9e77c9a03' (
Call: CheckOffice "% 1"19ProPlus2019VL_MAK_AE"Office ProPlus2019"19ProPlus2019XC2RVL_MAKC2R"Office ProPlus2019 C2R"
Exit / b
)
If / I'% 1' EQU '6912a74bmura5fbmur401aMubbdblic2e3ab46f4b02' (
Call: CheckOffice "% 1"19Standard2019VL_MAK_AE"Office Standard2019"
Exit / b
)
If / I'% 1' EQU '2ca2bf3fMur949eMel 446aMel 82c7lie25a15ec78c4' (
Call: CheckOffice "% 1"19ProjectPro2019VL_MAK_AE"ProjectPro2019"19ProjectPro2019XC2RVL_MAKC2R"ProjectPro2019 C2R"
Exit / b
)
If / I'% 1' EQU '1777f0e3-7392-4198-97eamuri 8ae4de6f6381' (
Call: CheckOffice "% 1"19ProjectStd2019VL_MAK_AE"Project Standard 2019"
Exit / b
)
If / I'% 1' EQU '5b5cf08f-b81a-431d-b080-3450d8620565' (
Call: CheckOffice "% 1"19VisioPro2019VL_MAK_AE"VisioPro2019"19VisioPro2019XC2RVL_MAKC2R"VisioPro2019 C2R"
Exit / b
)
If / I'% 1' EQU 'e06d7df3-aad0-419dMui 8dfbMel 0ac37e2bdf39' (
Call: CheckOffice "% 1"19VisioStd2019VL_MAK_AE"Visio Standard 2019"
Exit / b
)
Call: SelectKey 1
Exit / b
:: =
: CheckOffice16
If / I'% 1' EQU '9caabccb-61b1-4b4bMur8becmurd10a3c3ac2ce' (
Call: CheckOffice "% 1"16MondoVL_MAK"Office Mondo 2016"
Exit / b
)
If / I'% 1' EQU 'd450596f-894d-49e0-966aMurfd39ed4c4c64' (
Call: CheckOffice "% 1"16ProPlusVL_MAK"Office ProPlus 2016"
Exit / b
)
If / I'1' EQU 'dedfa23d-6ed1-45a6-85dcMur63cae0546de6' (
Call: CheckOffice "% 1"16StandardVL_MAK"Office Standard 2016"
Exit / b
)
If / I'% 1' EQU '4f414197-0fc2-4c01Murb68aMel 86cbb9ac254c' (
Call: CheckOffice "% 1"16ProjectProVL_MAK"ProjectPro 2016"
Exit / b
)
If / I'1' EQU 'da7ddabc-3fbe-4447-9e01-6ab7440b4cd4' (
Call: CheckOffice "% 1"16ProjectStdVL_MAK"Project Standard 2016"
Exit / b
)
If / I'% 1' EQU '6bf301c1Murb94aMuy43e9Murba31Muir d494598c47fb' (
Call: CheckOffice "% 1"16VisioProVL_MAK"VisioPro 2016"
Exit / b
)
If / I'1 'EQU' aa2a7821-1827-4c2cMur8f1dMu4513a34dda97' (
Call: CheckOffice "% 1"16VisioStdVL_MAK"Visio Standard 2016"
Exit / b
)
If / I'1' EQU '829b8110-0e6f-4349-bca4-42803577788d' (
Call: CheckOffice "% 1"16ProjectProXC2RVL_MAKC2R"ProjectPro 2016 C2R"
Exit / b
)
If / I'% 1' EQU 'cbbaca45-556aMur4416Musad03Libda598eaa7c8' (
Call: CheckOffice "% 1"16ProjectStdXC2RVL_MAKC2R"Project Standard 2016 C2R"
Exit / b
)
If / I'% 1' EQU 'b234abe3-0857-4f9cMurb05aMel 4dc314f85557' (
Call: CheckOffice "% 1"16VisioProXC2RVL_MAKC2R"VisioPro 2016 C2R"
Exit / b
)
If / I'1' EQU '361fe620-64f4-41b5-ba77-84f8e079b1f7' (
Call: CheckOffice "% 1"16VisioStdXC2RVL_MAKC2R"Visio Standard 2016 C2R"
Exit / b
)
Call: SelectKey 1
Exit / b
:: =
: CheckOffice15
If / I'1' EQU 'dc981c6b-fc8e-420f-aa43-f8f33e5c0923' (
Call: CheckOffice "% 1"MondoVL_MAK"Office Mondo 2013"
Exit / b
)
If / I'% 1' EQU 'b322da9c-a2e2-4058-9e4eMurf 59a6970bd69' (
Call: CheckOffice "% 1"ProPlusVL_MAK"Office ProPlus 2013"
Exit / b
)
If / I'1' EQU 'b13afb38-cd79-4ae5-9f7fmureed058d750ca' (
Call: CheckOffice "% 1"StandardVL_MAK"Office Standard 2013"
Exit / b
)
If / I'% 1 'EQU' 4a5d124a-e620-44bamurb6ffly658961b33b9a' (
Call: CheckOffice "% 1"ProjectProVL_MAK"ProjectPro 2013"
Exit / b
)
If / I'1' EQU '427a28d1-d17c-4abf-b717-32c780ba6f07' (
Call: CheckOffice "% 1"ProjectStdVL_MAK"Project Standard 2013"
Exit / b
)
If / I'% 1 'EQU' e13ac10e-75d0-4affMura0cdmura764982cf541c' (
Call: CheckOffice "% 1"VisioProVL_MAK"VisioPro 2013"
Exit / b
)
If / I'1' EQU 'ac4efaf0-f81f-4f61-bdf7-ea32b02ab117' (
Call: CheckOffice "% 1"VisioStdVL_MAK"Visio Standard 2013"
Exit / b
)
Call: SelectKey 1
Exit / b
:: =
: CheckOffice14
Set "_ VisioPremium="
Set "_ VisioPro="
For / f "tokens=2 delims=="% G in ('"wmic path% MicrosoftProduct% where (Name like'% OfficeVisioPrem-MAK%%') get LicenseStatus / value"% _ Nul_2e%') do (
Set / a _ VisioPremium=%%G
)
For / f "tokens=2 delims=="% G in ('"wmic path% MicrosoftProduct% where (Name like'% OfficeVisioPro-MAK%%') get LicenseStatus / value"% _ Nul_2e%') do (
Set / a _ VisioPro=%%G
)
If / I'% 1' EQU '09ed9640-f020-400amuracd8murd7d867dfd9c2' (
Call: CheckOffice "% 1"Mondo-MAK"Office Mondo 2010"
Exit / b
)
If / I'1' EQU '6f327760-8c5c-417c-9b61-836a98287e0c' (
Call: CheckOffice "% 1"ProPlus-MAK"Office ProPlus 2010"ProPlusAcad-MAK"Office Professional Academic 2010"
Exit / b
)
If / I'% 1' EQU '9da2a678-fb6b-4e67-ab84-60dd6a9c819a' (
Call: CheckOffice "% 1"Standard-MAK"Office Standard 2010"
Exit / b
)
If / I'1' EQU 'ea509e87-07a1-4a45-9edcMureba5a39f36af' (
Call: CheckOffice "% 1"SmallBusBasics-MAK"Office Home and Business 2010"
Exit / b
)
If / I'1' EQU 'df133ff7-bf14-4f95-afe3-7b48e7e331ef' (
Call: CheckOffice "% 1"ProjectPro-MAK"ProjectPro 2010"
Exit / b
)
If / I'1 'EQU' 5dc7bf61-5ec9-4996-9ccbMurdf806a2d0efe' (
Call: CheckOffice "% 1"ProjectStd-MAK"Project Standard 2010"
Exit / b
)
If / I'1' EQU '92236105-bb67-494f-94c7-7f7a607929bd' (
Call: CheckOffice "% 1"VisioPrem-MAK"Visio Premium 2010"VisioPro-MAK"VisioPro 2010"
Exit / b
)
If defined _ VisioPremium exit / b
If / I'% 1' EQU 'e558389c-83c3-4b29FEFEMAY 5e4d7f46c358' (
Call: CheckOffice "% 1"VisioPro-MAK"VisioPro 2010"VisioStd-MAK"Visio Standard 2010"
Exit / b
)
If defined _ VisioPro exit / b
If / I'% 1' EQU '9ed833ff-4f92-4f36-b370-8683a4f13275' (
Call: CheckOffice "% 1"VisioStd-MAK"Visio Standard 2010"
Exit / b
)
Call: SelectKey 1
Exit / b
:: =
: CheckOffice
Set / a _ License=0
Set / a _ License2=0
For / f "tokens=2 delims=="% G in ('"wmic path% MicrosoftProduct% where (Name like'% Office%~2%%') get LicenseStatus / VALUE"% _ Nul_2e%') do (
Set / a _ License=%%G
)
If "% ~ 4" NEQ ""
For / f "tokens=2 delims=="% G in ('"wmic path% MicrosoftProduct% where (Name like'% Office%~4%%') get LicenseStatus / VALUE"% _ Nul_2e%') do (
Set / a _ License2=%%G
)
)
If "% _ License2%" EQU "1"
Echo Detected% 5 is permanently MAK activated.
Exit / b
)
If "% _ License%" EQU "1"
Echo Detected% 3 is permanently MAK activated.
Exit / b
)
:: If Office product is not permanently activated, Install GVLK and Activate
Call: SelectKey 1
Exit / b
:: =
: OfficeDetect
Set _ Office%1=0
For / f "tokens=2"% G in ('"reg query HKLM\ SOFTWARE\ Microsoft\ Office\% 1.0\ Common\ InstallRoot / v Path"% _ Nul_2e%') do if exist "% H\ OSPP.VBS" (
Set _ Office%1=1
)
For / f "tokens=2"% G in ('"reg query HKLM\ SOFTWARE\ Wow6432Node\ Microsoft\ Office\% 1.0\ Common\ InstallRoot / v Path"% _ Nul_2e%') do if exist "% H\ OSPP.VBS" (
Set _ Office%1=1
)
If exist "% ProgramFiles%\ Microsoft Office\ Office%1\ OSPP.VBS" (
Set _ Office%1=1
)
If exist "% ProgramFiles (x86)%\ Microsoft Office\ Office%1\ OSPP.VBS" (
Set _ Office%1=1
)
Exit / b
:: =
: VisualStudio
:: Clear variable to avoid confliction if multiple Visual Studio versions installed
Set "_ VS="
If "% _ OSarch%" EQU "64-bit" (
Set "_ H64=SOFTWARE\ WOW6432Node"
) else (
Set "_ H64=SOFTWARE"
)
For / f "skip=2 tokens=2*"% G in ('"reg query HKLM\% _ H64%\ Microsoft\ VisualStudio\% ~ 1 / v% ~ 2"% Nul_2e%') do (
Set "_ VS=%%H%~3"
)
If not exist "% _ VS%\ StorePID.exe" (
Exit / b
)
Start "/ b"% _ VS%\ StorePID.exe "% ~ 4% ~ 5 & (
Echo Visual Studio% ~ 6 activated successfully.
Echo.
) | | (
Echo Visual Studio% ~ 6 activation failed.
Echo.
)
Exit / b
:: =
: Activate
:: Clear any manually set KMSHostIP and KMSPort with / skms or / sethst; Since they override KMSHostIP and KMSPort values set for SLS/OSPS
Wmic path _ MicrosoftProduct% where ID='%1' call ClearKeyManagementServiceMachine% _ Nul_1_2%
Wmic path _ MicrosoftProduct% where ID='%1' call ClearKeyManagementServicePort% _ Nul_1_2%
:: Call Activate method of the corresponding KMS Client
For / f "tokens=2 delims=="% G in ('"wmic path% _ MicrosoftProduct% where ID='%1' get Name / value"') do (
Echo.
Echo Attempting to activate% G
)
Wmic path _ MicrosoftProduct% where ID='%1' call Activate% _ Nul_1_2%
Set ERRORCODE=%ERRORLEVEL%
:: Get Remaining Grace Period of the KMS Client
For / f "tokens=2 delims=="% G in ('"wmic path% _ MicrosoftProduct% where ID='%1' get GracePeriodRemaining / value"') do (
Set / a _ gprMinutes=%%G
Set / a _ gprDays=%%G/1440
)
If% _ gprMinutes% EQU 43200 (
If% WinBuild% EQU 9200 if% _ OfficeSLP% EQU 0 (
Echo Windows 8 Core/ProfessionalWMC Activation Successful
Echo Remaining Period:% _ gprDays% days ^ (% _ gprMinutes% details ^)
Exit / b
)
)
If% _ gprMinutes% EQU 64800 (
Echo Windows Core/ProfessionalWMC Activation Successful
Echo Remaining Period:% _ gprDays% days ^ (% _ gprMinutes% details ^)
Exit / b
)
If% _ gprMinutes% EQU 216000000 (
If% _ WinBuild% GEQ 15063 (
Echo Windows 10 Enterprise G/GN Activation Successful
Echo Remaining Period:% _ gprDays% days ^ (% _ gprMinutes% details ^)
Exit / b
)
)
If% _ gprMinutes% EQU 259200 (
Echo Activation Successful
) else (
Call cmd / c exit / b ERRORCODE%
Echo Activation Failed: 0x% ExitCode%
)
Echo Remaining Period:% _ gprDays% days ^ (% _ gprMinutes% details ^)
Exit / b
:: =
: SelectKey
: Select GenericVolumeLicenseKey based on Activation-ID (SKU-ID) and Install it, if found
For / f "tokens=2 delims=="% G in ('"wmic path% _ MicrosoftProduct% where ID='%1' get Name / value"') do (
Set "_ Name=%%G"
Echo.
Echo Searching GenericVolumeLicenseKey for% G
Goto:% 1% _ Nul_2% | | goto: KeyNotFound
)
:: =
:: Office 2019 Professional Plus
: 85dd8b5f-eaa4-4af3-a628-cce9e77c9a03
Set "_ key=NMMKJ-6RK4F-KMJVX-8D9MJ-6MWKP"
Goto: InstallKey
:: Office 2019 Standard
: 6912a74b-a5fb-401a-bfdb-2e3ab46f4b02
Set "_ key=6NWWJ-YQWMR-QKGCB-6TMB3-9D9HK"
Goto: InstallKey
:: Project 2019 Professional
: 2ca2bf3f-949e-446a-82c7-e25a15ec78c4
Set "_ key=B4NPR-3FKK7-T2MBV-FRQ4W-PKD2B"
Goto: InstallKey
:: Project 2019 Standard
: 1777f0e3-7392-4198-97ea-8ae4de6f6381
Set "_ key=C4F7P-NCP8C-6CQPT-MQHV9-JXD2M"
Goto: InstallKey
:: Visio 2019 Professional
: 5b5cf08f-b81a-431d-b080-3450d8620565
Set "_ key=9BGNQ-K37YR-RQHF2-38RQ3-7VCBB"
Goto: InstallKey
:: Visio 2019 Standard
: e06d7df3-aad0-419d-8dfb-0ac37e2bdf39
Set "_ key=7TQNQ-K3YQQ-3PFH7-CCPPM-X4VQ2"
Goto: InstallKey
:: Access 2019
: 9e9bceeb-e736-4f26-88de-763f87dcc485
Set "_ key=9N9PT-27V4Y-VJ2PD-YXFMF-YTFQT"
Goto: InstallKey
:: Excel 2019
: 237854e9-79fc-4497-a0c1-a70969691c6b
Set "_ key=TMJWT-YYNMB-3BKTF-644FC-RVXBD"
Goto: InstallKey
:: Outlook 2019
: c8f8a301-19f5-4132-96ce-2de9d4adbd33
Set "_ key=7HD7K-N4PVK-BHBCQ-YWQRW-XW4VK"
Goto: InstallKey
:: PowerPoint 2019
: 3131fd61-5e4f-4308-8d6d-62be1987c92c
Set "_ key=RRNCX-C64HY-W2MM7-MCH9G-TJHMQ"
Goto: InstallKey
:: Publisher 2019
: 9d3e4cca-e172-46f1-a2f4-1d2107051444
Set "_ key=G2KWX-3NW6P-PY93R-JXK2T-C9Y9V"
Goto: InstallKey
:: Skype for Business 2019
: 734c6c6e-b0ba-4298-a891-671772b2bd1b
Set "_ key=NCJ33-JHBBY-HTK98-MYCV8-HMKHJ"
Goto: InstallKey
:: Word 2019
: 059834fe-a8ea-4bff-b67b-4d006b5447d3
Set "_ key=PBX3G-NWMT6-Q7XBW-PYJGG-WXD33"
Goto: InstallKey
:: Office 2019 Professional Plus C2R-P
: 0bc88885-718c-491d-921f-6f214349e79c
Set "_ key=VQ9DP-NVHPH-T9HJC-J9PDT-KTQRG"
Goto: InstallKey
:: Project 2019 Professional C2R-P
: fc7c4d0c-2e85-4bb9-afd4-01ed1476b5e9
Set "_ key=XM2V9-DN9HH-QB449-XDGKC-W2RMW"
Goto: InstallKey
:: Visio 2019 Professional C2R-P
: 500f6619-ef93-4b75-bcb4-82819998a3ca
Set "_ key=N2CG9-YD3YK-936X4-3WR82-Q3X4H"
Goto: InstallKey
:: =
:: Office 2016 Mondo
: 9caabccb-61b1-4b4b-8bec-d10a3c3ac2ce
Set "_ key=HFTND-W9MK4-8B7MJ-B6C4G-XQBR2"
Goto: InstallKey
:: Office 2016 Professional Plus
: d450596f-894d-49e0-966a-fd39ed4c4c64
Set "_ key=XQNVK-8JYDB-WJ9W3-YJ8YR-WFG99"
Goto: InstallKey
:: Office 2016 Standard
: dedfa23d-6ed1-45a6-85dc-63cae0546de6
Set "_ key=JNRGM-WHDWX-FJJG3-K47QV-DRTFM"
Goto: InstallKey
:: Project 2016 Professional
: 4f414197-0fc2-4c01-b68a-86cbb9ac254c
Set "_ key=YG9NW-3K39V-2T3HJ-93F3Q-G83KT"
Goto: InstallKey
:: Project 2016 Standard
: da7ddabc-3fbe-4447-9e01-6ab7440b4cd4
Set "_ key=GNFHQ-F6YQM-KQDGJ-327XX-KQBVC"
Goto: InstallKey
:: Visio 2016 Professional
: 6bf301c1-b94a-43e9-ba31-d494598c47fb
Set "_ key=PD3PC-RHNGV-FXJ29-8JK7D-RJRJK"
Goto: InstallKey
:: Visio 2016 Standard
: aa2a7821-1827-4c2c-8f1d-4513a34dda97
Set "_ key=7WHWN-4T7MP-G96JF-G33KR-W8GF4"
Goto: InstallKey
:: Access 2016
: 67c0fc0c-deba-401b-bf8b-9c8ad8395804
Set "_ key=GNH9Y-D2J4T-FJHGG-QRVH7-QPFDW"
Goto: InstallKey
:: Excel 2016
: c3e65d36-141f-4d2f-a303-a842ee756a29
Set "_ key=9C2PK-NWTVB-JMPW8-BFT28-7FTBF"
Goto: InstallKey
:: OneNote 2016
D8cace59-33d2-4ac7-9b1b-9b72339c51c8
Set "_ key=DR92N-9HTF2-97XKM-XW2WJ-XW3J6"
Goto: InstallKey
:: Outlook 2016
: ec9d9265-9d1e-4ed0-838a-cdc20f2551a1
Set "_ key=R69KK-NTPKF-7M3Q4-QYBHW-6MT9B"
Goto: InstallKey
:: PowerPoint 2016
: d70b1bba-b893-4544-96e2-b7a318091c33
Set "_ key=J7MQP-HNJ4Y-WJ7YM-PFYGF-BY6C6"
Goto: InstallKey
:: Publisher 2016
: 041a06cb-c5b8-4772-809f-416d03d16654
Set "_ key=F47MM-N3XJP-TQXJ9-BP99D-8K837"
Goto: InstallKey
:: Skype for Business 2016
: 83e04ee1-fa8d-436d-8994-d31a862cab77
Set "_ key=869NQ-FJ69K-466HW-QYCP2-DDBV6"
Goto: InstallKey
:: Word 2016
: bb11badf-d8aa-470e-9311-20eaf80fe5cc
Set "_ key=WXY84-JN2Q9-RBCCQ-3Q3J3-3PFJ6"
Goto: InstallKey
:: Project 2016 Professional C2R-P
: 829b8110-0e6f-4349-bca4-42803577788d
Set "_ key=WGT24-HCNMF-FQ7XH-6M8K7-DRTW9"
Goto: InstallKey
:: Project 2016 Standard C2R-P
: cbbaca45-556a-4416-ad03-bda598eaa7c8
Set "_ key=D8NRQ-JTYM3-7J2DX-646CT-6836M"
Goto: InstallKey
:: Visio 2016 Professional C2R-P
: b234abe3-0857-4f9c-b05a-4dc314f85557
Set "_ key=69WXN-MBYV6-22PQG-3WGHK-RM6XC"
Goto: InstallKey
:: Visio 2016 Standard C2R-P
361fe620-64f4-41b5-ba77-84f8e079b1f7
Set "_ key=NY48V-PPYYH-3F4PX-XJRKJ-W4423"
Goto: InstallKey
:: Office 2016 MondoR Automation
: e914ea6e-a5fa-4439-a394-a9bb3293ca09
Set "_ key=DMTCJ-KNRKX-26982-JYCKT-P7KB6"
Goto: InstallKey
:: =
:: Office 2013 Mondo
: dc981c6b-fc8e-420f-aa43-f8f33e5c0923
Set "_ key=42QTK-RN8M7-J3C4G-BBGYM-88CYV"
Goto: InstallKey
:: Office 2013 Professional Plus
: b322da9c-a2e2-4058-9e4e-f59a6970bd69
Set "_ key=YC7DK-G2NP3-2QQC3-J6H88-GVGXT"
Goto: InstallKey
:: Office 2013 Standard
: b13afb38-cd79-4ae5-9f7f-eed058d750ca
Set "_ key=KBKQT-2NMXY-JJWGP-M62JB-92CD4"
Goto: InstallKey
:: Project 2013 Professional
: 4a5d124a-e620-44ba-b6ff-658961b33b9a
Set "_ key=FN8TT-7WMH6-2D4X9-M337T-2342K"
Goto: InstallKey
:: Project 2013 Standard
: 427a28d1-d17c-4abf-b717-32c780ba6f07
Set "_ key=6NTH3-CW976-3G3Y2-JK3TX-8QHTT"
Goto: InstallKey
:: Visio 2013 Professional
: e13ac10e-75d0-4aff-a0cd-764982cf541c
Set "_ key=C2FG9-N6J68-H8BTJ-BW3QX-RM3B3"
Goto: InstallKey
:: Visio 2013 Standard
: ac4efaf0-f81f-4f61-bdf7-ea32b02ab117
Set "_ key=J484Y-4NKBF-W2HMG-DBMJC-PGWR7"
Goto: InstallKey
:: Access 2013
: 6ee7622c-18d8-4005-9fb7-92db644a279b
Set "_ key=NG2JY-H4JBT-HQXYP-78QH9-4JM2D"
Goto: InstallKey
:: Excel 2013
: f7461d52-7c2b-43b2-8744-ea958e0bd09a
Set "_ key=VGPNG-Y7HQW-9RHP7-TKPV3-BG7GB"
Goto: InstallKey
:: OneDrive for Business 2013 (Groove)
: fb4875ec-0c6b-450f-b82b-ab57d8d1677f
Set "_ key=H7R7V-WPNXQ-WCYYC-76BGV-VT7GH"
Goto: InstallKey
:: InfoPath 2013
: a30b8040-d68a-423f-b0b5-9ce292ea5a8f
Set "_ key=DKT8B-N7VXH-D963P-Q4PHY-F8894"
Goto: InstallKey
:: Lync 2013
: 1b9f11e3-c85c-4e1b-bb29-879ad2c909e3
Set "_ key=2MG3G-3BNTT-3MFW9-KDQW3-TCK7R"
Goto: InstallKey
:: OneNote 2013
: efe1f3e6-aea2-4144-a208-32aa872b6545
Set "_ key=TGN6P-8MMBC-37P2F-XHXXK-P34VW"
Goto: InstallKey
:: Outlook 2013
: 771c3afa-50c5-443f-b151-ff2546d863a0
Set "_ key=QPN8Q-BJBTJ-334K3-93TGY-2PMBT"
Goto: InstallKey
:: PowerPoint 2013
: 8c762649-97d1-4953-ad27-b7e2c25b972e
Set "_ key=4NT99-8RJFH-Q2VDH-KYG2C-4RD4F"
Goto: InstallKey
:: Publisher 2013
: 00c79ff1-6850-443d-bf61-71cde0de305f
Set "_ key=PN2WF-29XG2-T9HJ7-JQPJR-FCXK4"
Goto: InstallKey
:: Word 2013
: d9f5b1c6-5386-495a-88f9-9ad6b41ac9b3
Set "_ key=6Q7VD-NX8JD-WJ2VH-88V73-4GBJ7"
Goto: InstallKey
:: =
:: Office 2010 Professional Plus
: 6f327760-8c5c-417c-9b61-836a98287e0c
Set "_ key=VYBBJ-TRJPB-QFQRF-QFT4D-H3GVB"
Goto: InstallKey
:: Office 2010 Standard
: 9da2a678-fb6b-4e67-ab84-60dd6a9c819a
Set "_ key=V7QKV-4XVVR-XYV4D-F7DFM-8R6BM"
Goto: InstallKey
:: Access 2010
: 8ce7e872-188c-4b98-9d90-f8f90b7aad02
Set "_ key=V7Y44-9T38C-R2VJK-666HK-T7DDX"
Goto: InstallKey
:: Excel 2010
: cee5d470-6e3b-4fcc-8c2b-d17428568a9f
Set "_ key=H62QG-HXVKF-PP4HP-66KMR-CW9BM"
Goto: InstallKey
:: SharePoint Workspace 2010 (Groove)
: 8947d0b8-c33b-43e1-8c56-9b674c052832
Set "_ key=QYYW6-QP4CB-MBV6G-HYMCJ-4T3J4"
Goto: InstallKey
:: InfoPath 2010
Ca6b6639-4ad6-40ae-a575-14dee07f6430
Set "_ key=K96W8-67RPQ-62T9Y-J8FQJ-BT37T"
Goto: InstallKey
:: OneNote 2010
: ab586f5c-5256-4632-962f-fefd8b49e6f4
Set "_ key=Q4Y4M-RHWJM-PY37F-MTKWH-D3XHX"
Goto: InstallKey
:: Outlook 2010
: ecb7c192-73ab-4ded-acf4-2399b095d0cc
Set "_ key=7YDC2-CWM8M-RRTJC-8MDVC-X3DWQ"
Goto: InstallKey
:: PowerPoint 2010
: 45593b1d-dfb1-4e91-bbfb-2d5d0ce2227a
Set "_ key=RC8FX-88JRY-3PF7C-X8P67-P4VTT"
Goto: InstallKey
:: Project 2010 Professional
: df133ff7-bf14-4f95-afe3-7b48e7e331ef
Set "_ key=YGX6F-PGV49-PGW3J-9BTGG-VHKC6"
Goto: InstallKey
:: Project 2010 Standard
: 5dc7bf61-5ec9-4996-9ccb-df806a2d0efe
Set "_ key=4HP3K-88W3F-W2K3D-6677X-F9PGB"
Goto: InstallKey
:: Publisher 2010
: b50c4f75-599b-43e8-8dcd-1081a7967241
Set "_ key=BFK7F-9MYHM-V68C7-DRQ66-83YTP"
Goto: InstallKey
:: Word 2010
: 2d0882e7-a4e7-423b-8ccc-70d91e0158b1
Set "_ key=HVHB3-C6FV7-KQX9W-YQG79-CRY7T"
Goto: InstallKey
:: Visio 2010 Premium
: 92236105-bb67-494f-94c7-7f7a607929bd
Set "_ key=D9DWC-HPYVV-JGF4P-BTWQB-WX8BJ"
Goto: InstallKey
:: Visio 2010 Professional
: e558389c-83c3-4b29-adfe-5e4d7f46c358
Set "_ key=7MCW8-VRQVK-G677T-PDJCM-Q8TCP"
Goto: InstallKey
:: Visio 2010 Standard
: 9ed833ff-4f92-4f36-b370-8683a4f13275
Set "_ key=767HD-QGMWX-8QTDB-9G3R2-KHFGJ"
Goto: InstallKey
:: Office 2010 Home and Business
Ea509e87-07a1-4a45-9edc-eba5a39f36af
Set "_ key=D6QFG-VBYP2-XQHM7-J97RH-VVRCK"
Goto: InstallKey
:: Office 2010 Mondo
: 09ed9640-f020-400a-acd8-d7d867dfd9c2
Set "_ key=YBJTT-JG6MD-V9Q7P-DBKXJ-38W9R"
Goto: InstallKey
:: Office 2010 Mondo
: ef3d4e49-a53d-4d81-a2b1-2ca6c2556b2c
Set "_ key=7TC2V-WXF6P-TD7RT-BQRXR-B8K32"
Goto: InstallKey
:: =
:: Windows 10 Home
58e97c99-f377-4ef1-81d5-4ad5522b5fd8
Set "_ key=TX9XD-98N7V-6WMQ6-BX7FG-H8Q99"
Goto: InstallKey
:: Windows 10 Home N
: 7b9e1751-a8da-4f75-9560-5fadfe3d8e38
Set "_ key=3KHY7-WNT83-DGQKR-F7HPR-844BM"
Goto: InstallKey
:: Windows 10 Home Single Language
: cd918a57-a41b-4c82-8dce-1a538e221a83
Set "_ key=7HNRX-D7KGG-3K4RQ-4WPJ4-YTDFH"
Goto: InstallKey
:: Windows 10 Home Country Specific
: a9107544-f4a0-4053-a96a-1479abdef912
Set "_ key=PVMJN-6DFY6-9CCP6-7BKTT-D3WVR"
Goto: InstallKey
:: Windows 10 Professional
: 2de67392-b7a7-462a-b1ca-108dd189f588
Set "_ key=W269N-WFGWX-YVC9B-4J6C9-T83GX"
Goto: InstallKey
:: Windows 10 Professional N
: a80b5abf-76ad-428b-b05d-a47d2dffeebf
Set "_ key=MH37W-N47XK-V7XM9-C7227-GCQG9"
Goto: InstallKey
:: Windows 10 Professional Education
: 3f1afc82-f8ac-4f6c-8005-1d233e606eee
Set "_ key=6TP4R-GNPTD-KYYHQ-7B7DP-J447Y"
Goto: InstallKey
:: Windows 10 Professional Education N
: 5300b18c-2e33-4dc2-8291-47ffcec746dd
Set "_ key=YVWGF-BXNMC-HTQYQ-CPQ99-66QFC"
Goto: InstallKey
:: Windows 10 Professional Workstation
: 82bbc092-bc50-4e16-8e18-b74fc486aec3
Set "_ key=NRG8B-VKK3Q-CXVCJ-9G2XF-6Q84J"
Goto: InstallKey
:: Windows 10 Professional Workstation N
: 4b1571d3-bafb-4b40-8087-a961be2caf65
Set "_ key=9FNHH-K3HBT-3W4TD-6383H-6XYWF"
Goto: InstallKey
:: Windows 10 Education
: e0c42288-980c-4788-a014-c080d2e1926e
Set "_ key=NW6C2-QMPVW-D7KKK-3GKT6-VCFB2"
Goto: InstallKey
:: Windows 10 Education N
: 3c102355-d027-42c6-ad23-2e7ef8a02585
Set "_ key=2WH4N-8QGBV-H22JP-CT43Q-MDWWJ"
Goto: InstallKey
:: Windows 10 Enterprise
: 73111121-5638-40f6-bc11-f1d7b0d64300
Set "_ key=NPPR9-FWDCX-D2C8J-H872K-2YT43"
Goto: InstallKey
:: Windows 10 Enterprise N
: e272e3e2-732f-4c65-a8f0-484747d0d947
Set "_ key=DPH2V-TTNVB-4X9Q3-TJR4H-KHJW4"
Goto: InstallKey
:: Windows 10 Enterprise G
: e0b2d383-d112-413f-8a80-97f373a5820c
Set "_ key=YYVX9-NTFWV-6MDM3-9PT4T-4M68B"
Goto: InstallKey
:: Windows 10 Enterprise G N
: e38454fb-41a4-4f59-a5dc-25080e354730
Set "_ key=44RPN-FTY23-9VTTB-MP9BX-T84FV"
Goto: InstallKey
:: Windows 10 Enterprise 2015 LTSB
: 7b51a46c-0c04-4e8f-9af4-8496cca90d5e
Set "_ key=WNMTR-4C88C-JK8YV-HQ7T2-76DF9"
Goto: InstallKey
:: Windows 10 Enterprise 2015 LTSB N
: 87b838b7-41b6-4590-8318-5797951d8529
Set "_ key=2F77B-TNFGY-69QQF-B8YKP-D69TJ"
Goto: InstallKey
:: Windows 10 Enterprise 2016 LTSB
: 2d5a5a60-3040-48bf-beb0-fcd770c20ce0
Set "_ key=DCPHK-NFMTC-H88MJ-PFHPY-QJ4BJ"
Goto: InstallKey
:: Windows 10 Enterprise 2016 LTSB N
: 9f776d83-7156-45b2-8a5c-359b9c9f22a3
Set "_ key=QFFDN-GRT3P-VKWWX-X7T3R-8B639"
Goto: InstallKey
:: Windows 10 Enterprise LTSC 2018
: 32d2fab3-e4a8-42c2-923b-4bf4fd13e6ee
Set "_ key=M7XTQ-FN8P6-TTKYV-9D4CC-J462D"
Goto: InstallKey
:: Windows 10 Enterprise LTSC 2018 N
: 7103a333-b8c8-49cc-93ce-d37c09687f92
Set "_ key=92NFX-8DJQP-P6BBQ-THF9C-7CG2H"
Goto: InstallKey
:: Windows 10 Enterprise Remote Server
: e4db50ea-bda1-4566-b047-0ca50abc6f07
Set "_ key=7NBT4-WGBQX-MP4H7-QXFF8-YP3KX"
Goto: InstallKey
:: Windows 10 Enterprise for Remote Sessions
: ec868e65-fadf-4759-b23e-93fe37f2cc29
Set "_ key=CPWHC-NT2C7-VYW78-DHDB2-PG3GK"
Goto: InstallKey
:: Windows 10 Lean
: 0df4f814-3f57-4b8b-9a9d-fddadcd69fac
Set "_ key=NBTWJ-3DR69-3C4V8-C26MC-GQ9M6"
Goto: InstallKey
:: =
:: Windows Server 2019 Essentials
: 034d3cbb-5d4b-4245-b3f8-f84571314078
Set "_ key=WVDHN-86M7X-466P6-VHXV7-YY726"
Goto: InstallKey
:: Windows Server 2019 Standard
: de32eafd-aaee-4662-9444-c1befb41bde2
Set "_ key=N69G4-B89J2-4G8F4-WWYCC-J464C"
Goto: InstallKey
:: Windows Server 2019 Datacenter
: 34e1ae55-27f8-4950-8877-7a03be5fb181
Set "_ key=WMDGN-G9PQG-XVVXX-R3X43-63DFG"
Goto: InstallKey
:: Windows Server 2019 Standard ACor
: 73e3957c-fc0c-400d-9184-5f7b6f2eb409
Set "_ key=N2KJX-J94YW-TQVFB-DG9YT-724CC"
Goto: InstallKey
:: Windows Server 2019 Datacenter ACor
: 90c362e5-0da1-4bfd-b53b-b87d309ade43
Set "_ key=6NMRW-2C8FM-D24W7-TQWMY-CWH2D"
Goto: InstallKey
:: Windows Server 2019 Azure Core
A99cc1f0-7719-4306-9645-294102fbff95
Set "_ key=FDNH6-VW9RW-BXPJ7-4XTYG-239TB"
Goto: InstallKey
:: Windows Server 2019 ARM64
: 8de8eb62-bbe0-40ac-ac17-f75595071ea3
Set "_ key=GRFBW-QNDC4-6QBHG-CCK3B-2PR88"
Goto: InstallKey
:: =
:: Windows Server 2016 Essentials
: 2b5a1b0f-a5ab-4c54-ac2f-a6d94824a283
Set "_ key=JCKRF-N37P4-C2D82-9YXRT-4M63B"
Goto: InstallKey
:: Windows Server 2016 Standard
: 8c1c5410-9f39-4805-8c9d-63a07706358f
Set "_ key=WC2BQ-8NRM3-FDDYY-2BFGV-KHKQY"
Goto: InstallKey
:: Windows Server 2016 Datacenter
: 21c56779-b449-4d20-adfc-eece0e1ad74b
Set "_ key=CB7KF-BWN84-R7R2Y-793K2-8XDDG"
Goto: InstallKey
:: Windows Server 2016 Standard ACor
: 61c5ef22-f14f-4553-a824-c4b31e84b100
Set "_ key=PTXN8-JFHJM-4WC78-MPCBR-9W4KR"
Goto: InstallKey
:: Windows Server 2016 Datacenter ACor
: e49c08e7-da82-42f8-bde2-b570fbcae76c
Set "_ key=2HXDN-KRXHB-GPYC7-YCKFJ-7FVDG"
Goto: InstallKey
:: Windows Server 2016 Cloud Storage
: 7b4433f4-b1e7-4788-895a-c45378d38253
Set "_ key=QN4C6-GBJD2-FB422-GHWJK-GJG2R"
Goto: InstallKey
:: Windows Server 2016 Azure Core
: 3dbf341b-5f6c-4fa7-b936-699dce9e263f
Set "_ key=VP34G-4NPPG-79JTQ-864T4-R3MQX"
Goto: InstallKey
:: Windows Server 2016 ARM64
: 43d9af6e-5e86-4be8-a797-d072a046896c
Set "_ key=K9FYF-G6NCK-73M32-XMVPY-F9DRR"
Goto: InstallKey
:: =
:: Windows 8.1 Professional
: c06b6981-d7fd-4a35-b7b4-054742b7af67
Set "_ key=GCRJD-8NW9H-F2CDX-CCM8D-9D6T9"
Goto: InstallKey
:: Windows 8.1 Professional N
: 7476d79f-8e48-49b4-ab63-4d0b813a16e4
Set "_ key=HMCNV-VVBFX-7HMBH-CTY9B-B4FXY"
Goto: InstallKey
:: Windows 8.1 Enterprise
: 81671aaf-79d1-4eb1-b004-8cbbe173afea
Set "_ key=MHF9N-XY6XB-WVXMC-BTDCT-MKKG7"
Goto: InstallKey
:: Windows 8.1 Enterprise N
: 113e705c-fa49-48a4-beea-7dd879b46b14
Set "_ key=TT4HM-HN7YT-62K67-RGRQJ-JFFXW"
Goto: InstallKey
:: Windows 8.1 Professional WMC
: 096ce63d-4fac-48a9-82a9-61ae9e800e5f
Set "_ key=789NJ-TQK6T-6XTH8-J39CJ-J8D3P"
Goto: InstallKey
:: Windows 8.1 Core
Fe1c3238-432a-43a1-8e25-97e7d1ef10f3
Set "_ key=M9Q9P-WNJJT-6PXPY-DWX8H-6XWKK"
Goto: InstallKey
:: Windows 8.1 Core N
: 78558a64-dc19-43fe-a0d0-8075b2a370a3
Set "_ key=7B9N3-D94CG-YTVHR-QBPX3-RJP64"
Goto: InstallKey
:: Windows 8.1 Core ARM
: ffee456a-cd87-4390-8e07-16146c672fd0
Set "_ key=XYTND-K6QKT-K2MRH-66RTM-43JKP"
Goto: InstallKey
:: Windows 8.1 Core Single Language
: c72c6a1d-f252-4e7e-bdd1-3fca342acb35
Set "_ key=BB6NG-PQ82V-VRDPW-8XVD2-V8P66"
Goto: InstallKey
:: Windows 8.1 Core Country Specific
: db78b74f-ef1c-4892-abfe-1e66b8231df6
Set "_ key=NCTT7-2RGK8-WMHRF-RY7YQ-JTXG3"
Goto: InstallKey
:: Windows 8.1 Embedded Industry
: 0ab82d54-47f4-4acb-818c-cc5bf0ecb649
Set "_ key=NMMPB-38DD4-R2823-62W8D-VXKJB"
Goto: InstallKey
:: Windows 8.1 Embedded Industry Enterprise
: cd4e2d9f-5059-4a50-a92d-05d5bb1267c7
Set "_ key=FNFKF-PWTVT-9RC8H-32HB2-JB34X"
Goto: InstallKey
:: Windows 8.1 Embedded Industry Automotive
: f7e88590-dfc7-4c78-bccb-6f3865b99d1a
Set "_ key=VHXM3-NR6FT-RY6RT-CK882-KW2CJ"
Goto: InstallKey
:: Windows 8.1 Core Connected (with Bing)
: e9942b32-2e55-4197-b0bd-5ff58cba8860
Set "_ key=3PY8R-QHNP9-W7XQD-G6DPH-3J2C9"
Goto: InstallKey
:: Windows 8.1 Core Connected N (with Bing)
: c6ddecd6-2354-4c19-909b-306a3058484e
Set "_ key=Q6HTR-N24GM-PMJFP-69CD8-2GXKR"
Goto: InstallKey
:: Windows 8.1 Core Connected Single Language (with Bing)
: b8f5e3a3-ed33-4608-81e1-37d6c9dcfd9c
Set "_ key=KF37N-VDV38-GRRTV-XH8X6-6F3BB"
Goto: InstallKey
:: Windows 8.1 Core Connected Country Specific (with Bing)
: ba998212-460a-44db-bfb5-71bf09d1c68b
Set "_ key=R962J-37N87-9VVK2-WJ74P-XTMHR"
Goto: InstallKey
:: Windows 8.1 Professional Student
: e58d87b5-8126-4580-80fb-861b22f79296
Set "_ key=MX3RK-9HNGX-K3QKC-6PJ3F-W8D7B"
Goto: InstallKey
:: Windows 8.1 Professional Student N
: cab491c7-a918-4f60-b502-dab75e334f40
Set "_ key=TNFGH-2R6PB-8XM3K-QYHX2-J4296"
Goto: InstallKey
:: =
:: Windows Server 2012 R2 Standard
: b3ca044e-a358-4d68-9883-aaa2941aca99
Set "_ key=D2N9P-3P6X9-2R39C-7RTCD-MDVJX"
Goto: InstallKey
:: Windows Server 2012 R2 Datacenter
: 00091344-1ea4-4f37-b789-01750ba6988c
Set "_ key=W3GGN-FT8W3-Y4M27-J84CP-Q3VJ9"
Goto: InstallKey
:: Windows Server 2012 R2 Essentials
21db6ba4-9a7b-4a14-9e29-64a60c59301d
Set "_ key=KNC87-3J2TX-XB4WP-VCPJV-M4FWM"
Goto: InstallKey
:: Windows Server 2012 R2 Cloud Storage
: b743a2be-68d4-4dd3-af32-92425b7bb623
Set "_ key=3NPTF-33KPT-GGBPR-YX76B-39KDD"
Goto: InstallKey
:: =
:: Windows 8 Professional
: a98bcd6d-5343-4603-8afe-5908e4611112
Set "_ key=NG4HW-VH26C-733KW-K6F98-J8CK4"
Goto: InstallKey
:: Windows 8 Professional N
Ebf245c1-29a8-4daf-9cb1-38dfc608a8c8
Set "_ key=XCVCF-2NXM9-723PB-MHCB7-2RYQQ"
Goto: InstallKey
:: Windows 8 Enterprise
: 458e1bec-837a-45f6-b9d5-925ed5d299de
Set "_ key=32JNW-9KQ84-P47T8-D8GGY-CWCK7"
Goto: InstallKey
:: Windows 8 Enterprise N
: e14997e7-800a-4cf7-ad10-de4b45b578db
Set "_ key=JMNMF-RHW7P-DMY6X-RF3DR-X2BQT"
Goto: InstallKey
:: Windows 8 Professional WMC
: a00018a3-f20f-4632-bf7c-8daa5351c914
Set "_ key=GNBB8-YVD74-QJHX6-27H4K-8QHDG"
Goto: InstallKey
:: Windows 8 Core
: c04ed6bf-55c8-4b47-9f8e-5a1f31ceee60
Set "_ key=BN3D2-R7TKB-3YPBD-8DRP2-27GG4"
Goto: InstallKey
:: Windows 8 Core N
197390a0-65f6-4a95-bdc4-55d58a3b0253
Set "_ key=8N2M2-HWPGY-7PGT9-HGDD8-GVGGY"
Goto: InstallKey
:: Windows 8 Core Single Language
: 8860fcd4-a77b-4a20-9045-a150ff11d609
Set "_ key=2WN2H-YGCQR-KFX6K-CD6TF-84YXQ"
Goto: InstallKey
:: Windows 8 Core Country Specific
: 9d5584a2-2d85-419a-982c-a00888bb9ddf
Set "_ key=4K36P-JN4VD-GDC6V-KDT89-DYFKP"
Goto: InstallKey
:: Windows 8 Core ARM
: af35d7b7-5035-4b63-8972-f0b747b9f4dc
Set "_ key=DXHJF-N9KQX-MFPVR-GHGQK-Y7RKV"
Goto: InstallKey
:: Windows 8 Embedded Industry Professional
: 10018baf-ce21-4060-80bd-47fe74ed4dab
Set "_ key=RYXVT-BNQG7-VD29F-DBMRY-HT73M"
Goto: InstallKey
:: Windows 8 Embedded Industry Enterprise
: 18db1848-12e0-4167-b9d7-da7fcda507db
Set "_ key=NKB3R-R2F8T-3XCDP-7Q2KW-XWYQ2"
Goto: InstallKey
:: =
:: Windows Server 2012 Standard
F0f5ec41-0d55-4732-af02-440a44a3cf0f
Set "_ key=XC9B7-NBPP2-83J2H-RHMBY-92BT4"
Goto: InstallKey
:: Windows Server 2012 Datacenter
D3643d60-0c42-412d-a7d6-52e6635327f6
Set "_ key=48HP8-DN98B-MYWDG-T2DCC-8W83P"
Goto: InstallKey
:: Windows Server 2012 MultiPoint Standard
: 7d5486c7-e120-4771-b7f1-7b56c6d3170c
Set "_ key=HM7DN-YVMH3-46JC3-XYTG7-CYQJJ"
Goto: InstallKey
:: Windows Server 2012 MultiPoint Premium
: 95fd1c83-7df5-494a-be8b-1300e1c9d1cd
Set "_ key=XNH6W-2V9GX-RGJ4K-Y8X6F-QGJ2G"
Goto: InstallKey
:: =
:: Windows 7 Professional
: b92e9980-b9d5-4821-9c94-140f632f6312
Set "_ key=FJ82H-XT6CR-J8D7P-XQJJ2-GPDD4"
Goto: InstallKey
:: Windows 7 Professional N
: 54a09a0d-d57b-4c10-8b69-a842d6590ad5
Set "_ key=MRPKT-YTG23-K7D7T-X2JMM-QY7MG"
Goto: InstallKey
:: Windows 7 Professional E
: 5a041529-fef8-4d07-b06f-b59b573b32d2
Set "_ key=W82YF-2Q76Y-63HXB-FGJG9-GF7QX"
Goto: InstallKey
:: Windows 7 Enterprise
Ae2ee509-1b34-41c0-acb7-6d4650168915
Set "_ key=33PXH-7Y6KF-2VJC9-XBBR8-HVTHH"
Goto: InstallKey
:: Windows 7 Enterprise N
: 1cb6d605-11b3-4e14-bb30-da91c8e3983a
Set "_ key=YDRBP-3D83W-TY26F-D46B2-XCKRJ"
Goto: InstallKey
:: Windows 7 Enterprise E
: 46bbed08-9c7b-48fc-a614-95250573f4ea
Set "_ key=C29WB-22CC8-VJ326-GHFJW-H9DH4"
Goto: InstallKey
:: Windows 7 Embedded POS Ready
: db537896-376f-48ae-a492-53d0547773d0
Set "_ key=YBYF6-BHCR3-JPKRB-CDW7B-F9BK4"
Goto: InstallKey
:: Windows 7 Embedded ThinPC
: aa6dd3aa-c2b4-40e2-a544-a6bbb3f5c395
Set "_ key=73KQT-CD9G6-K7TQG-66MRP-CQ22C"
Goto: InstallKey
:: Windows 7 Embedded Standard
: e1a8296a-db37-44d1-8cce-7bc961d59c54
Set "_ key=XGY72-BRBBT-FF8MH-2GG8H-W7KCW"
Goto: InstallKey
:: =
:: Windows Server 2008 R2 Web
: a78b8bd9-8017-4df5-b86a-09f756affa7c
Set "_ key=6TPJF-RBVHG-WBW2R-86QPH-6RTM4"
Goto: InstallKey
:: Windows Server 2008 R2 HPC edition
: cda18cf3-c196-46ad-b289-60c072869994
Set "_ key=TT8MH-CG224-D3D7Q-498W2-9QCTX"
Goto: InstallKey
:: Windows Server 2008 R2 Standard
: 68531fb9-5511-4989-97be-d11a0f55633f
Set "_ key=YC6KT-GKW9T-YTKYR-T4X34-R7VHC"
Goto: InstallKey
:: Windows Server 2008 R2 Enterprise
: 620e2b3d-09e7-42fd-802a-17a13652fe7a
Set "_ key=489J6-VHDMP-X63PK-3K798-CPX3Y"
Goto: InstallKey
:: Windows Server 2008 R2 Datacenter
: 7482e61b-c589-4b7f-8ecc-46d455ac3b87
Set "_ key=74YFP-3QFB3-KQT8W-PMXWJ-7M648"
Goto: InstallKey
:: Windows Server 2008 R2 for Itanium-based Systems
: 8a26851c-1c7e-48d3-a687-fbca9b9ac16b
Set "_ key=GT63C-RJFQ3-4GMB6-BRFB9-CB83V"
Goto: InstallKey
:: Windows MultiPoint Server 2010
: f772515c-0e87-48d5-a676-e6962c3e1195
Set "_ key=736RG-XDKJK-V34PF-BHK87-J6X3K"
Goto: InstallKey
:: =
:: Windows Vista Business
: 4f3d1606-3fea-4c01-be3c-8d671c401e3b
Set "_ key=YFKBB-PQJJV-G996G-VWGXY-2V3X8"
Goto: InstallKey
:: Windows Vista Business N
: 2c682dc2-8b68-4f63-a165-ae291d4cf138
Set "_ key=HMBQG-8H2RH-C77VX-27R82-VMQBT"
Goto: InstallKey
:: Windows Vista Enterprise
: cfd8ff08-c0d7-452b-9f60-ef5c70c32094
Set "_ key=VKK3X-68KWM-X2YGT-QR4M6-4BWMV"
Goto: InstallKey
:: Windows Vista Enterprise N
: d4f54950-26f2-4fb4-ba21-ffab16afcade
Set "_ key=VTC42-BM838-43QHV-84HX6-XJXKV"
Goto: InstallKey
:: =
:: Windows Server 2008 Web
: ddfa9f7c-f09e-40b9-8c1a-be877a9a7f4b
Set "_ key=WYR28-R7TFJ-3X2YQ-YCY4H-M249D"
Goto: InstallKey
:: Windows Server 2008 Standard
: ad2542d4-9154-4c6d-8a44-30f11ee96989
Set "_ key=TM24T-X9RMF-VWXK6-X8JC9-BFGM2"
Goto: InstallKey
:: Windows Server 2008 Standard without Hyper-V
: 2401e3d0-c50a-4b58-87b2-7e794b7d2607
Set "_ key=W7VD6-7JFBR-RX26B-YKQ3Y-6FFFJ"
Goto: InstallKey
:: Windows Server 2008 Enterprise
: c1af4d90-d1bc-44ca-85d4-003ba33db3b9
Set "_ key=YQGMW-MPWTJ-34KDK-48M3W-X4Q6V"
Goto: InstallKey
:: Windows Server 2008 Enterprise without Hyper-V
: 8198490a-add0-47b2-b3ba-316b12d647b4
Set "_ key=39BXF-X8Q23-P2WWT-38T2F-G3FPG"
Goto: InstallKey
: Windows Server 2008 HPC (Compute Cluster)
: 7afb1156-2c1d-40fc-b260-aab7442b62fe
Set "_ key=RCTX3-KWVHP-BR6TB-RB6DM-6X7HP"
Goto: InstallKey
:: Windows Server 2008 Datacenter
: 68b6e220-cf09-466b-92d3-45cd964b9509
Set "_ key=7M67G-PC374-GR742-YH8V4-TCBY3"
Goto: InstallKey
:: Windows Server 2008 Datacenter without Hyper-V
: fd09ef77-5647-4eff-809c-af2b64659a45
Set "_ key=22XQ2-VRXRG-P8D42-K34TD-G3QQC"
Goto: InstallKey
:: Windows Server 2008 for Itanium-Based Systems
: 01ef176b-3e0d-422a-b4f8-4ea880035e8f
Set "_ key=4DWFP-JF3DJ-B7DTH-78FJB-PDRHK"
Goto: InstallKey
:: =
: KeyNotFound
:: If GVLK is not found for the current SKU-ID, attempt Activation as GVLK might be present in OS by default
Echo.
Echo GVLK for% _ Name%
Echo with SKU-ID 1 Not Found
Echo.
Echo If Activation Fails Now, Please enter GVLK for this Product manually and re-run KMS-VL-ALL.cmd
Call: Activate 1
Exit / b
:: =
: InstallKey
:: Call InstallProductKey method of SLS/OSPS to install GVLK
Echo Installing Key...
Wmic path% _ MicrosoftService% where version='%_Version%' call InstallProductKey ProductKey= "% _ key%"% _ Nul_1_2%
Call: Activate 1
Exit / b
:: =
Welcome to subscribe "Shulou Technology Information " to get latest news, interesting things and hot topics in the IT industry, and controls the hottest and latest Internet news, technology news and IT industry trends.
Views: 0
*The comments in the above article only represent the author's personal views and do not represent the views and positions of this website. If you have more insights, please feel free to contribute and share.
Continue with the installation of the previous hadoop.First, install zookooper1. Decompress zookoope
"Every 5-10 years, there's a rare product, a really special, very unusual product that's the most un
© 2024 shulou.com SLNews company. All rights reserved.