Hello to everybody! I really need some help activating Office 2019! I thought I've had it all figured out, but I've been proved wrong...I I followed the following steps but...no activation after all... 1. I've downloaded ProPlus2019Retail.img and VisioPro2019Retail.img with Windows ISO Downloader.exe. 2. Ran C2R-R2V with successful results, or so I think... 3. Deactivated Avast AV shield. 4. Ran 1-SppExtComObjPatcher.cmd and 2-Activate-Local.cmd, respectfully as admin and got error 0x00000 for both... 5. Moved folder SppExtComObjPatcher-kms2 under C:, in order to have a short directory. 6. Edited KMS_VL_ALL.cmd with Notepad and changed the zero 0 to 1 in set _Debug=0. Ran the saved script as admin and I have the results:
Code: >set KMS_Emulation=1 >set KMS_IP=172.16.0.2 >set KMS_Port=1688 >set KMS_ActivationInterval=43200 >set KMS_RenewalInterval=43200 >set KMS_HWID=0x3A1C049600B60076 >set Windows=Random >set Office2010=Random >set Office2013=Random >set Office2016=Random >set Office2019=Random >color 1F >title KMS_VL_ALL Manual >setlocal EnableExtensions EnableDelayedExpansion >cd /d "C:\SppExtComObjPatcher-kms2\" >IF /I "AMD64" EQU "AMD64" (set xOS=x64 ) else (set xOS=Win32 ) >set "IFEO=HKLM\SOFTWARE\Microsoft\Windows NT\CurrentVersion\Image File Execution Options" >set "OSPP=HKLM\SOFTWARE\Microsoft\OfficeSoftwareProtectionPlatform" >set "SPPk=SOFTWARE\Microsoft\Windows NT\CurrentVersion\SoftwareProtectionPlatform" >wmic path SoftwareLicensingProduct where (Description like '%KMSCLIENT%') get Name 2>nul | findstr /i Windows 1>nul && (set SppHook=1 ) || (set SppHook=0 ) >wmic path OfficeSoftwareProtectionService get Version && (set OsppHook=1 ) || (set OsppHook=0 ) ERROR: Description = Not found >for /F "tokens=6 delims=[]. " %G in ('ver') do set winbuild=%G >set winbuild=17763 >if 17763 GEQ 9200 (set OSType=Win8 ) else if 17763 GEQ 7600 (set OSType=Win7 ) else (goto :UnsupportedVersion ) >if 17763 GEQ 9600 (reg add "HKLM\SOFTWARE\Policies\Microsoft\Windows NT\CurrentVersion\Software Protection Platform" /v NoGenTicket /t REG_DWORD /d 1 /f ) The operation completed successfully. >if 17763 LSS 14393 goto :Main >SET "RegKey=HKLM\SOFTWARE\Microsoft\Windows\CurrentVersion\Component Based Servicing\Packages" >SET "Pattern=Microsoft-Windows-*Edition~31bf3856ad364e35" >SET "EditionPKG=NUL" >FOR /F "TOKENS=8 DELIMS=\" %A IN ('REG QUERY "HKLM\SOFTWARE\Microsoft\Windows\CurrentVersion\Component Based Servicing\Packages" /f "Microsoft-Windows-*Edition~31bf3856ad364e35" /k | FIND /I "CurrentVersion"') DO (REG QUERY "HKLM\SOFTWARE\Microsoft\Windows\CurrentVersion\Component Based Servicing\Packages\%A" /v "CurrentState" | FIND /I "0x70" && (FOR /F "TOKENS=3 DELIMS=-~" %B IN ('ECHO %A') DO SET "EditionPKG=%B" ) ) >(REG QUERY "HKLM\SOFTWARE\Microsoft\Windows\CurrentVersion\Component Based Servicing\Packages\Microsoft-Windows-ProfessionalEdition~31bf3856ad364e35~amd64~~10.0.17763.1" /v "CurrentState" | FIND /I "0x70" && (FOR /F "TOKENS=3 DELIMS=-~" %B IN ('ECHO Microsoft-Windows-ProfessionalEdition~31bf3856ad364e35~amd64~~10.0.17763.1') DO SET "EditionPKG=%B" ) ) CurrentState REG_DWORD 0x70 >SET "EditionPKG=ProfessionalEdition" >IF /I "Edition" == "Edition" (SET "EditionID=Professional" ) ELSE (FOR /F "TOKENS=3 DELIMS=: " %A IN ('DISM /English /Online /Get-CurrentEdition | FIND /I "Current Edition :"') DO SET "EditionID=%A" ) >FOR /F "TOKENS=2 DELIMS==" %A IN ('"WMIC PATH SoftwareLicensingProduct WHERE (Name LIKE 'Windows%' AND PartialProductKey is not NULL) GET LicenseFamily /VALUE" 2>nul') DO IF NOT ERRORLEVEL 1 SET "EditionWMI=%A" >IF NOT ERRORLEVEL 1 SET "EditionWMI=Enterprise " >IF NOT DEFINED EditionWMI ( IF 17763 GEQ 17063 FOR /F "SKIP=2 TOKENS=3 DELIMS= " %A IN ('REG QUERY "HKLM\SOFTWARE\Microsoft\Windows NT\CurrentVersion" /v EditionId') DO SET "EditionID=%A" GOTO :Main ) >FOR %A IN (Cloud CloudN) DO (IF /I "Enterprise" == "%A" GOTO :Main ) >(IF /I "Enterprise" == "Cloud" GOTO :Main ) >(IF /I "Enterprise" == "CloudN" GOTO :Main ) >SET EditionID=Enterprise >call :StopService sppsvc >sc query sppsvc | find /i "STOPPED" || net stop sppsvc /y The Software Protection service is stopping. The Software Protection service was stopped successfully. >sc query sppsvc | find /i "STOPPED" || sc stop sppsvc STATE : 1 STOPPED >goto :eof >if 0 NEQ 0 call :StopService osppsvc >if exist "C:\WINDOWS\system32\SppExtComObjHook.dll" del /f /q "C:\WINDOWS\system32\SppExtComObjHook.dll" >if exist "C:\WINDOWS\system32\SppExtComObjPatcher.*" del /f /q "C:\WINDOWS\system32\SppExtComObjPatcher.*" >set AclReset=0 >for %A in ("x64\SppExtComObjHook.dll") do set "PatcherPath=%~fA" >set "PatcherPath=C:\SppExtComObjPatcher-kms2\x64\SppExtComObjHook.dll" >mklink "C:\WINDOWS\system32\SppExtComObjHook.dll" "C:\SppExtComObjPatcher-kms2\x64\SppExtComObjHook.dll" symbolic link created for C:\WINDOWS\system32\SppExtComObjHook.dll <<===>> C:\SppExtComObjPatcher-kms2\x64\SppExtComObjHook.dll >icacls "C:\WINDOWS\system32\SppExtComObjHook.dll" /findsid *S-1-5-32-545 | find /i "SppExtComObjHook.dll" || ( set AclReset=1 icacls "C:\WINDOWS\system32\SppExtComObjHook.dll" /grant *S-1-5-32-545:RX ) SID Found: C:\WINDOWS\system32\SppExtComObjHook.dll. >if Win8 EQU Win8 call :CreateIFEOEntry SppExtComObj.exe >reg add "HKLM\SOFTWARE\Microsoft\Windows NT\CurrentVersion\Image File Execution Options\SppExtComObj.exe" /f /v Debugger /t REG_SZ /d "rundll32.exe SppExtComObjHook.dll,PatcherMain" ERROR: Access is denied. >reg add "HKLM\SOFTWARE\Microsoft\Windows NT\CurrentVersion\Image File Execution Options\SppExtComObj.exe" /f /v KMS_Emulation /t REG_DWORD /d 1 ERROR: Access is denied. >reg add "HKLM\SOFTWARE\Microsoft\Windows NT\CurrentVersion\Image File Execution Options\SppExtComObj.exe" /f /v KMS_ActivationInterval /t REG_DWORD /d 43200 ERROR: Access is denied. >reg add "HKLM\SOFTWARE\Microsoft\Windows NT\CurrentVersion\Image File Execution Options\SppExtComObj.exe" /f /v KMS_RenewalInterval /t REG_DWORD /d 43200 ERROR: Access is denied. >if /I SppExtComObj.exe NEQ osppsvc.exe ( reg add "HKLM\SOFTWARE\Microsoft\Windows NT\CurrentVersion\Image File Execution Options\SppExtComObj.exe" /f /v Windows /t REG_SZ /d "Random" if 17763 GEQ 9200 for %A in (2013 2016 2019) do reg add "HKLM\SOFTWARE\Microsoft\Windows NT\CurrentVersion\Image File Execution Options\SppExtComObj.exe" /f /v Office%A /t REG_SZ /d "!Office%A!" ) ERROR: Access is denied. >reg add "HKLM\SOFTWARE\Microsoft\Windows NT\CurrentVersion\Image File Execution Options\SppExtComObj.exe" /f /v Office2013 /t REG_SZ /d "!Office2013!" ERROR: Access is denied. >reg add "HKLM\SOFTWARE\Microsoft\Windows NT\CurrentVersion\Image File Execution Options\SppExtComObj.exe" /f /v Office2016 /t REG_SZ /d "!Office2016!" ERROR: Access is denied. >reg add "HKLM\SOFTWARE\Microsoft\Windows NT\CurrentVersion\Image File Execution Options\SppExtComObj.exe" /f /v Office2019 /t REG_SZ /d "!Office2019!" ERROR: Access is denied. >if /I SppExtComObj.exe EQU osppsvc.exe ( reg add "HKLM\SOFTWARE\Microsoft\Windows NT\CurrentVersion\Image File Execution Options\SppExtComObj.exe" /f /v Office2010 /t REG_SZ /d "Random" if 17763 LSS 9200 for %A in (2013 2016 2019) do reg add "HKLM\SOFTWARE\Microsoft\Windows NT\CurrentVersion\Image File Execution Options\SppExtComObj.exe" /f /v Office%A /t REG_SZ /d "!Office%A!" ) >if /I SppExtComObj.exe EQU SppExtComObj.exe if 17763 GEQ 9600 (reg add "HKLM\SOFTWARE\Microsoft\Windows NT\CurrentVersion\Image File Execution Options\SppExtComObj.exe" /f /v KMS_HWID /t REG_QWORD /d "0x3A1C049600B60076" ) ERROR: Access is denied. >goto :eof >if Win8 EQU Win7 if 1 NEQ 0 call :CreateIFEOEntry sppsvc.exe >if 0 NEQ 0 call :CreateIFEOEntry osppsvc.exe >reg query HKLM\SOFTWARE\Microsoft\Office\ClickToRun\Configuration /v ProductReleaseIds && set "_C2R=HKLM\SOFTWARE\Microsoft\Office\ClickToRun\Configuration" HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Office\ClickToRun\Configuration ProductReleaseIds REG_SZ ProPlus2019Retail,VisioPro2019Retail,ProPlus2019Volume,VisioPro2019Volume >if not defined _C2R reg query HKLM\SOFTWARE\WOW6432Node\Microsoft\Office\ClickToRun\Configuration /v ProductReleaseIds && set "_C2R=HKLM\SOFTWARE\WOW6432Node\Microsoft\Office\ClickToRun\Configuration" >for %A in (14 15 16 19) do call fficeLoc %A >call fficeLoc 14 >set loc_off14=0 >if 14 EQU 19 ( if defined _C2R reg query HKLM\SOFTWARE\Microsoft\Office\ClickToRun\Configuration /v ProductReleaseIds | findstr 2019 && set loc_off14=1 exit /b ) >for /F "tokens=2*" %a in ('"reg query HKLM\SOFTWARE\Microsoft\Office\14.0\Common\InstallRoot /v Path" ') do if exist "%b\OSPP.VBS" set loc_off14=1 ERROR: The system was unable to find the specified registry key or value. >for /F "tokens=2*" %a in ('"reg query HKLM\SOFTWARE\Wow6432Node\Microsoft\Office\14.0\Common\InstallRoot /v Path" ') do if exist "%b\OSPP.VBS" set loc_off14=1 ERROR: The system was unable to find the specified registry key or value. >if 14 EQU 16 if defined _C2R ( for /F "skip=2 tokens=2*" %a in ('reg query HKLM\SOFTWARE\Microsoft\Office\ClickToRun\Configuration /v ProductReleaseIds') do echo %b 1>c2rchk.txt for %a in (Mondo ProPlus Standard ProjectProX ProjectStdX ProjectPro ProjectStd VisioProX VisioStdX VisioPro VisioStd Access Excel OneNote Outlook PowerPoint Publisher SkypeforBusiness Word) do ( findstr /I /C:"%aVolume" c2rchk.txt && set loc_off14=1 findstr /I /C:"%aRetail" c2rchk.txt && set loc_off14=1 ) exit /b ) >if exist "C:\Program Files\Microsoft Office\Office14\OSPP.VBS" set loc_off14=1 >if exist "C:\Program Files (x86)\Microsoft Office\Office14\OSPP.VBS" set loc_off14=1 >exit /b >call fficeLoc 15 >set loc_off15=0 >if 15 EQU 19 ( if defined _C2R reg query HKLM\SOFTWARE\Microsoft\Office\ClickToRun\Configuration /v ProductReleaseIds | findstr 2019 && set loc_off15=1 exit /b ) >for /F "tokens=2*" %a in ('"reg query HKLM\SOFTWARE\Microsoft\Office\15.0\Common\InstallRoot /v Path" ') do if exist "%b\OSPP.VBS" set loc_off15=1 ERROR: The system was unable to find the specified registry key or value. >for /F "tokens=2*" %a in ('"reg query HKLM\SOFTWARE\Wow6432Node\Microsoft\Office\15.0\Common\InstallRoot /v Path" ') do if exist "%b\OSPP.VBS" set loc_off15=1 ERROR: The system was unable to find the specified registry key or value. >if 15 EQU 16 if defined _C2R ( for /F "skip=2 tokens=2*" %a in ('reg query HKLM\SOFTWARE\Microsoft\Office\ClickToRun\Configuration /v ProductReleaseIds') do echo %b 1>c2rchk.txt for %a in (Mondo ProPlus Standard ProjectProX ProjectStdX ProjectPro ProjectStd VisioProX VisioStdX VisioPro VisioStd Access Excel OneNote Outlook PowerPoint Publisher SkypeforBusiness Word) do ( findstr /I /C:"%aVolume" c2rchk.txt && set loc_off15=1 findstr /I /C:"%aRetail" c2rchk.txt && set loc_off15=1 ) exit /b ) >if exist "C:\Program Files\Microsoft Office\Office15\OSPP.VBS" set loc_off15=1 >if exist "C:\Program Files (x86)\Microsoft Office\Office15\OSPP.VBS" set loc_off15=1 >exit /b >call fficeLoc 16 >set loc_off16=0 >if 16 EQU 19 ( if defined _C2R reg query HKLM\SOFTWARE\Microsoft\Office\ClickToRun\Configuration /v ProductReleaseIds | findstr 2019 && set loc_off16=1 exit /b ) >for /F "tokens=2*" %a in ('"reg query HKLM\SOFTWARE\Microsoft\Office\16.0\Common\InstallRoot /v Path" ') do if exist "%b\OSPP.VBS" set loc_off16=1 ERROR: The system was unable to find the specified registry key or value. >for /F "tokens=2*" %a in ('"reg query HKLM\SOFTWARE\Wow6432Node\Microsoft\Office\16.0\Common\InstallRoot /v Path" ') do if exist "%b\OSPP.VBS" set loc_off16=1 ERROR: The system was unable to find the specified registry key or value. >if 16 EQU 16 if defined _C2R ( for /F "skip=2 tokens=2*" %a in ('reg query HKLM\SOFTWARE\Microsoft\Office\ClickToRun\Configuration /v ProductReleaseIds') do echo %b 1>c2rchk.txt for %a in (Mondo ProPlus Standard ProjectProX ProjectStdX ProjectPro ProjectStd VisioProX VisioStdX VisioPro VisioStd Access Excel OneNote Outlook PowerPoint Publisher SkypeforBusiness Word) do ( findstr /I /C:"%aVolume" c2rchk.txt && set loc_off16=1 findstr /I /C:"%aRetail" c2rchk.txt && set loc_off16=1 ) exit /b ) >echo ProPlus2019Retail,VisioPro2019Retail,ProPlus2019Volume,VisioPro2019Volume 1>c2rchk.txt >( findstr /I /C:"MondoVolume" c2rchk.txt && set loc_off16=1 findstr /I /C:"MondoRetail" c2rchk.txt && set loc_off16=1 ) >( findstr /I /C:"ProPlusVolume" c2rchk.txt && set loc_off16=1 findstr /I /C:"ProPlusRetail" c2rchk.txt && set loc_off16=1 ) >( findstr /I /C:"StandardVolume" c2rchk.txt && set loc_off16=1 findstr /I /C:"StandardRetail" c2rchk.txt && set loc_off16=1 ) >( findstr /I /C:"ProjectProXVolume" c2rchk.txt && set loc_off16=1 findstr /I /C:"ProjectProXRetail" c2rchk.txt && set loc_off16=1 ) >( findstr /I /C:"ProjectStdXVolume" c2rchk.txt && set loc_off16=1 findstr /I /C:"ProjectStdXRetail" c2rchk.txt && set loc_off16=1 ) >( findstr /I /C:"ProjectProVolume" c2rchk.txt && set loc_off16=1 findstr /I /C:"ProjectProRetail" c2rchk.txt && set loc_off16=1 ) >( findstr /I /C:"ProjectStdVolume" c2rchk.txt && set loc_off16=1 findstr /I /C:"ProjectStdRetail" c2rchk.txt && set loc_off16=1 ) >( findstr /I /C:"VisioProXVolume" c2rchk.txt && set loc_off16=1 findstr /I /C:"VisioProXRetail" c2rchk.txt && set loc_off16=1 ) >( findstr /I /C:"VisioStdXVolume" c2rchk.txt && set loc_off16=1 findstr /I /C:"VisioStdXRetail" c2rchk.txt && set loc_off16=1 ) >( findstr /I /C:"VisioProVolume" c2rchk.txt && set loc_off16=1 findstr /I /C:"VisioProRetail" c2rchk.txt && set loc_off16=1 ) >( findstr /I /C:"VisioStdVolume" c2rchk.txt && set loc_off16=1 findstr /I /C:"VisioStdRetail" c2rchk.txt && set loc_off16=1 ) >( findstr /I /C:"AccessVolume" c2rchk.txt && set loc_off16=1 findstr /I /C:"AccessRetail" c2rchk.txt && set loc_off16=1 ) >( findstr /I /C:"ExcelVolume" c2rchk.txt && set loc_off16=1 findstr /I /C:"ExcelRetail" c2rchk.txt && set loc_off16=1 ) >( findstr /I /C:"OneNoteVolume" c2rchk.txt && set loc_off16=1 findstr /I /C:"OneNoteRetail" c2rchk.txt && set loc_off16=1 ) >( findstr /I /C:"OutlookVolume" c2rchk.txt && set loc_off16=1 findstr /I /C:"OutlookRetail" c2rchk.txt && set loc_off16=1 ) >( findstr /I /C:"PowerPointVolume" c2rchk.txt && set loc_off16=1 findstr /I /C:"PowerPointRetail" c2rchk.txt && set loc_off16=1 ) >( findstr /I /C:"PublisherVolume" c2rchk.txt && set loc_off16=1 findstr /I /C:"PublisherRetail" c2rchk.txt && set loc_off16=1 ) >( findstr /I /C:"SkypeforBusinessVolume" c2rchk.txt && set loc_off16=1 findstr /I /C:"SkypeforBusinessRetail" c2rchk.txt && set loc_off16=1 ) >( findstr /I /C:"WordVolume" c2rchk.txt && set loc_off16=1 findstr /I /C:"WordRetail" c2rchk.txt && set loc_off16=1 ) >call fficeLoc 19 >set loc_off19=0 >if 19 EQU 19 ( if defined _C2R reg query HKLM\SOFTWARE\Microsoft\Office\ClickToRun\Configuration /v ProductReleaseIds | findstr 2019 && set loc_off19=1 exit /b ) ProductReleaseIds REG_SZ ProPlus2019Retail,VisioPro2019Retail,ProPlus2019Volume,VisioPro2019Volume >call :SPP >reg delete "HKLM\SOFTWARE\Microsoft\Windows NT\CurrentVersion\SoftwareProtectionPlatform\55c92734-d682-4d71-983e-d6ec3f16059f" /f ERROR: The system was unable to find the specified registry key or value. >reg delete "HKLM\SOFTWARE\Microsoft\Windows NT\CurrentVersion\SoftwareProtectionPlatform\0ff1ce15-a989-479d-af46-f275c6370663" /f ERROR: The system was unable to find the specified registry key or value. >set spp=SoftwareLicensingProduct >set sps=SoftwareLicensingService >set W1nd0ws=1 >wmic path SoftwareLicensingProduct where (Description like '%KMSCLIENT%') get Name | findstr /i Office && (set 0ff1ce15=1 ) Office 19, Office19ProPlus2019XC2RVL_KMS_ClientC2R edition Office 19, Office19VisioPro2019XC2RVL_KMS_ClientC2R edition Office 19, Office19VisioPro2019VL_KMS_Client_AE edition Office 19, Office19ProPlus2019VL_KMS_Client_AE edition >if 0 EQU 0 if 0 EQU 0 if 1 EQU 0 (set "0ff1ce15=" & set "aword=No Installed" ) else (set "aword=No Supported KMS Client" ) >if not defined 0ff1ce15 if 17763 GEQ 9200 (echo. & echo No Supported KMS Client Office 2013/2016/2019 Product Detected... ) >wmic path SoftwareLicensingProduct where (Description like '%KMSCLIENT%') get Name | findstr /i Windows && (set WinVL=1 ) || (echo. & echo No Supported KMS Client Windows Detected... ) Windows(R), Professional edition Windows(R), ProfessionalEducation edition Windows(R), Enterprise edition Windows(R), ProfessionalWorkstation edition Windows(R), Education edition Windows(R), ServerRdsh edition Windows(R), ServerRdsh edition >if not defined 0ff1ce15 if not defined WinVL exit /b >wmic path SoftwareLicensingProduct where (Description like '%KMSCLIENT%' and PartialProductKey is not NULL) get Name | findstr /i Windows && (set gvlk=1 ) || (set gvlk=0 ) >set gpr=0 >if 17763 GEQ 10240 if 1 EQU 1 if 0 EQU 1 for /F "tokens=2 delims==" %A in ('"wmic path SoftwareLicensingProduct where (Description like '%KMSCLIENT%' and Name like 'Windows%' and PartialProductKey is not NULL) get GracePeriodRemaining /VALUE" ') do set "gpr=%A" >if 0 NEQ 0 if 0 GTR 259200 ( set W1nd0ws=0 wmic path SoftwareLicensingProduct where "Description like '%KMSCLIENT%' and Name like 'Windows%' and PartialProductKey is not NULL" get LicenseFamily | findstr /i EnterpriseG && (set W1nd0ws=1 ) ) >for /F "tokens=2 delims==" %A in ('"wmic path SoftwareLicensingService get Version /VALUE"') do set ver=%A >set ver=10.0.17763.194 >wmic path SoftwareLicensingService where version='10.0.17763.194' call SetKeyManagementServiceMachine MachineName="172.16.0.2" Executing (\\BOB-PC\root\cimv2:SoftwareLicensingService.Version="10.0.17763.194")->SetKeyManagementServiceMachine() Method execution successful. Out Parameters: instance of __PARAMETERS { }; >wmic path SoftwareLicensingService where version='10.0.17763.194' call SetKeyManagementServicePort 1688 Executing (\\BOB-PC\root\cimv2:SoftwareLicensingService.Version="10.0.17763.194")->SetKeyManagementServicePort() Method execution successful. Out Parameters: instance of __PARAMETERS { }; >for /F "tokens=2 delims==" %G in ('"wmic path SoftwareLicensingProduct where (Description like '%KMSCLIENT%' and Name like 'Windows%') get ID /VALUE"') do (set app=%G & call :sppchkwin ) >(set app=2de67392-b7a7-462a-b1ca-108dd189f588 & call :sppchkwin ) >set office=0 >if 17763 GEQ 14393 if 0 EQU 0 wmic path SoftwareLicensingProduct where (Description like '%KMSCLIENT%' and PartialProductKey is not NULL) get Name | findstr /i Windows && (set gvlk=1 ) >wmic path SoftwareLicensingProduct where ID='2de67392-b7a7-462a-b1ca-108dd189f588' get LicenseStatus | findstr "1" && (echo. & call :activate 2de67392-b7a7-462a-b1ca-108dd189f588 & exit /b ) >wmic path SoftwareLicensingProduct where (PartialProductKey is not NULL) get ID | findstr /i "2de67392-b7a7-462a-b1ca-108dd189f588" && (echo. & call :activate 2de67392-b7a7-462a-b1ca-108dd189f588 & exit /b ) >if 0 EQU 1 exit /b >if defined WinPerm exit /b >if 17763 LSS 10240 (call :winchk & exit /b ) >for %A in (b71515d9-89a2-4c60-88c8-656fbcca7f3a af43f7f0-3b1e-4266-a123-1fdb53f4323b 075aca1f-05d7-42e5-a3ce-e349e7be7078 11a37f09-fb7f-4002-bd84-f3ae71d11e90 43f2ab05-7c87-4d56-b27c-44d0f9a3dabd 2cf5af84-abab-4ff0-83f8-f040fb2576eb 6ae51eeb-c268-4a21-9aae-df74c38b586d ff808201-fec6-4fd4-ae16-abbddade5706 34260150-69ac-49a3-8a0d-4a403ab55763 4dfd543d-caa6-4f69-a95f-5ddfe2b89567 5fe40dd6-cf1f-4cf2-8729-92121ac2e997 903663f7-d2ab-49c9-8942-14aa9e0a9c72 2cc171ef-db48-4adc-af09-7c574b37f139 5b2add49-b8f4-42e0-a77c-adad4efeeeb1) do (if /I '2de67392-b7a7-462a-b1ca-108dd189f588' EQU '%A' exit /b ) >(if /I '2de67392-b7a7-462a-b1ca-108dd189f588' EQU 'b71515d9-89a2-4c60-88c8-656fbcca7f3a' exit /b ) >(if /I '2de67392-b7a7-462a-b1ca-108dd189f588' EQU 'af43f7f0-3b1e-4266-a123-1fdb53f4323b' exit /b ) >(if /I '2de67392-b7a7-462a-b1ca-108dd189f588' EQU '075aca1f-05d7-42e5-a3ce-e349e7be7078' exit /b ) >(if /I '2de67392-b7a7-462a-b1ca-108dd189f588' EQU '11a37f09-fb7f-4002-bd84-f3ae71d11e90' exit /b ) >(if /I '2de67392-b7a7-462a-b1ca-108dd189f588' EQU '43f2ab05-7c87-4d56-b27c-44d0f9a3dabd' exit /b ) >(if /I '2de67392-b7a7-462a-b1ca-108dd189f588' EQU '2cf5af84-abab-4ff0-83f8-f040fb2576eb' exit /b ) >(if /I '2de67392-b7a7-462a-b1ca-108dd189f588' EQU '6ae51eeb-c268-4a21-9aae-df74c38b586d' exit /b ) >(if /I '2de67392-b7a7-462a-b1ca-108dd189f588' EQU 'ff808201-fec6-4fd4-ae16-abbddade5706' exit /b ) >(if /I '2de67392-b7a7-462a-b1ca-108dd189f588' EQU '34260150-69ac-49a3-8a0d-4a403ab55763' exit /b ) >(if /I '2de67392-b7a7-462a-b1ca-108dd189f588' EQU '4dfd543d-caa6-4f69-a95f-5ddfe2b89567' exit /b ) >(if /I '2de67392-b7a7-462a-b1ca-108dd189f588' EQU '5fe40dd6-cf1f-4cf2-8729-92121ac2e997' exit /b ) >(if /I '2de67392-b7a7-462a-b1ca-108dd189f588' EQU '903663f7-d2ab-49c9-8942-14aa9e0a9c72' exit /b ) >(if /I '2de67392-b7a7-462a-b1ca-108dd189f588' EQU '2cc171ef-db48-4adc-af09-7c574b37f139' exit /b ) >(if /I '2de67392-b7a7-462a-b1ca-108dd189f588' EQU '5b2add49-b8f4-42e0-a77c-adad4efeeeb1' exit /b ) >if not defined EditionID (call :winchk & exit /b ) >if /I '2de67392-b7a7-462a-b1ca-108dd189f588' EQU '0df4f814-3f57-4b8b-9a9d-fddadcd69fac' if /I Enterprise NEQ CloudE exit /b >if /I '2de67392-b7a7-462a-b1ca-108dd189f588' EQU 'e0c42288-980c-4788-a014-c080d2e1926e' if /I Enterprise NEQ Education exit /b >if /I '2de67392-b7a7-462a-b1ca-108dd189f588' EQU '73111121-5638-40f6-bc11-f1d7b0d64300' if /I Enterprise NEQ Enterprise exit /b >if /I '2de67392-b7a7-462a-b1ca-108dd189f588' EQU '2de67392-b7a7-462a-b1ca-108dd189f588' if /I Enterprise NEQ Professional exit /b >(set app=3f1afc82-f8ac-4f6c-8005-1d233e606eee & call :sppchkwin ) >set office=0 >if 17763 GEQ 14393 if 0 EQU 0 wmic path SoftwareLicensingProduct where (Description like '%KMSCLIENT%' and PartialProductKey is not NULL) get Name | findstr /i Windows && (set gvlk=1 ) >wmic path SoftwareLicensingProduct where ID='3f1afc82-f8ac-4f6c-8005-1d233e606eee' get LicenseStatus | findstr "1" && (echo. & call :activate 3f1afc82-f8ac-4f6c-8005-1d233e606eee & exit /b ) >wmic path SoftwareLicensingProduct where (PartialProductKey is not NULL) get ID | findstr /i "3f1afc82-f8ac-4f6c-8005-1d233e606eee" && (echo. & call :activate 3f1afc82-f8ac-4f6c-8005-1d233e606eee & exit /b ) >if 0 EQU 1 exit /b >if defined WinPerm exit /b >if 17763 LSS 10240 (call :winchk & exit /b ) >for %A in (b71515d9-89a2-4c60-88c8-656fbcca7f3a af43f7f0-3b1e-4266-a123-1fdb53f4323b 075aca1f-05d7-42e5-a3ce-e349e7be7078 11a37f09-fb7f-4002-bd84-f3ae71d11e90 43f2ab05-7c87-4d56-b27c-44d0f9a3dabd 2cf5af84-abab-4ff0-83f8-f040fb2576eb 6ae51eeb-c268-4a21-9aae-df74c38b586d ff808201-fec6-4fd4-ae16-abbddade5706 34260150-69ac-49a3-8a0d-4a403ab55763 4dfd543d-caa6-4f69-a95f-5ddfe2b89567 5fe40dd6-cf1f-4cf2-8729-92121ac2e997 903663f7-d2ab-49c9-8942-14aa9e0a9c72 2cc171ef-db48-4adc-af09-7c574b37f139 5b2add49-b8f4-42e0-a77c-adad4efeeeb1) do (if /I '3f1afc82-f8ac-4f6c-8005-1d233e606eee' EQU '%A' exit /b ) >(if /I '3f1afc82-f8ac-4f6c-8005-1d233e606eee' EQU 'b71515d9-89a2-4c60-88c8-656fbcca7f3a' exit /b ) >(if /I '3f1afc82-f8ac-4f6c-8005-1d233e606eee' EQU 'af43f7f0-3b1e-4266-a123-1fdb53f4323b' exit /b ) >(if /I '3f1afc82-f8ac-4f6c-8005-1d233e606eee' EQU '075aca1f-05d7-42e5-a3ce-e349e7be7078' exit /b ) >(if /I '3f1afc82-f8ac-4f6c-8005-1d233e606eee' EQU '11a37f09-fb7f-4002-bd84-f3ae71d11e90' exit /b ) >(if /I '3f1afc82-f8ac-4f6c-8005-1d233e606eee' EQU '43f2ab05-7c87-4d56-b27c-44d0f9a3dabd' exit /b ) >(if /I '3f1afc82-f8ac-4f6c-8005-1d233e606eee' EQU '2cf5af84-abab-4ff0-83f8-f040fb2576eb' exit /b ) >(if /I '3f1afc82-f8ac-4f6c-8005-1d233e606eee' EQU '6ae51eeb-c268-4a21-9aae-df74c38b586d' exit /b ) >(if /I '3f1afc82-f8ac-4f6c-8005-1d233e606eee' EQU 'ff808201-fec6-4fd4-ae16-abbddade5706' exit /b ) >(if /I '3f1afc82-f8ac-4f6c-8005-1d233e606eee' EQU '34260150-69ac-49a3-8a0d-4a403ab55763' exit /b ) >(if /I '3f1afc82-f8ac-4f6c-8005-1d233e606eee' EQU '4dfd543d-caa6-4f69-a95f-5ddfe2b89567' exit /b ) >(if /I '3f1afc82-f8ac-4f6c-8005-1d233e606eee' EQU '5fe40dd6-cf1f-4cf2-8729-92121ac2e997' exit /b ) >(if /I '3f1afc82-f8ac-4f6c-8005-1d233e606eee' EQU '903663f7-d2ab-49c9-8942-14aa9e0a9c72' exit /b ) >(if /I '3f1afc82-f8ac-4f6c-8005-1d233e606eee' EQU '2cc171ef-db48-4adc-af09-7c574b37f139' exit /b ) >(if /I '3f1afc82-f8ac-4f6c-8005-1d233e606eee' EQU '5b2add49-b8f4-42e0-a77c-adad4efeeeb1' exit /b ) >if not defined EditionID (call :winchk & exit /b ) >if /I '3f1afc82-f8ac-4f6c-8005-1d233e606eee' EQU '0df4f814-3f57-4b8b-9a9d-fddadcd69fac' if /I Enterprise NEQ CloudE exit /b >if /I '3f1afc82-f8ac-4f6c-8005-1d233e606eee' EQU 'e0c42288-980c-4788-a014-c080d2e1926e' if /I Enterprise NEQ Education exit /b >if /I '3f1afc82-f8ac-4f6c-8005-1d233e606eee' EQU '73111121-5638-40f6-bc11-f1d7b0d64300' if /I Enterprise NEQ Enterprise exit /b >if /I '3f1afc82-f8ac-4f6c-8005-1d233e606eee' EQU '2de67392-b7a7-462a-b1ca-108dd189f588' if /I Enterprise NEQ Professional exit /b >if /I '3f1afc82-f8ac-4f6c-8005-1d233e606eee' EQU '3f1afc82-f8ac-4f6c-8005-1d233e606eee' if /I Enterprise NEQ ProfessionalEducation exit /b >(set app=73111121-5638-40f6-bc11-f1d7b0d64300 & call :sppchkwin ) >set office=0 >if 17763 GEQ 14393 if 0 EQU 0 wmic path SoftwareLicensingProduct where (Description like '%KMSCLIENT%' and PartialProductKey is not NULL) get Name | findstr /i Windows && (set gvlk=1 ) >wmic path SoftwareLicensingProduct where ID='73111121-5638-40f6-bc11-f1d7b0d64300' get LicenseStatus | findstr "1" && (echo. & call :activate 73111121-5638-40f6-bc11-f1d7b0d64300 & exit /b ) >wmic path SoftwareLicensingProduct where (PartialProductKey is not NULL) get ID | findstr /i "73111121-5638-40f6-bc11-f1d7b0d64300" && (echo. & call :activate 73111121-5638-40f6-bc11-f1d7b0d64300 & exit /b ) >if 0 EQU 1 exit /b >if defined WinPerm exit /b >if 17763 LSS 10240 (call :winchk & exit /b ) >for %A in (b71515d9-89a2-4c60-88c8-656fbcca7f3a af43f7f0-3b1e-4266-a123-1fdb53f4323b 075aca1f-05d7-42e5-a3ce-e349e7be7078 11a37f09-fb7f-4002-bd84-f3ae71d11e90 43f2ab05-7c87-4d56-b27c-44d0f9a3dabd 2cf5af84-abab-4ff0-83f8-f040fb2576eb 6ae51eeb-c268-4a21-9aae-df74c38b586d ff808201-fec6-4fd4-ae16-abbddade5706 34260150-69ac-49a3-8a0d-4a403ab55763 4dfd543d-caa6-4f69-a95f-5ddfe2b89567 5fe40dd6-cf1f-4cf2-8729-92121ac2e997 903663f7-d2ab-49c9-8942-14aa9e0a9c72 2cc171ef-db48-4adc-af09-7c574b37f139 5b2add49-b8f4-42e0-a77c-adad4efeeeb1) do (if /I '73111121-5638-40f6-bc11-f1d7b0d64300' EQU '%A' exit /b ) >(if /I '73111121-5638-40f6-bc11-f1d7b0d64300' EQU 'b71515d9-89a2-4c60-88c8-656fbcca7f3a' exit /b ) >(if /I '73111121-5638-40f6-bc11-f1d7b0d64300' EQU 'af43f7f0-3b1e-4266-a123-1fdb53f4323b' exit /b ) >(if /I '73111121-5638-40f6-bc11-f1d7b0d64300' EQU '075aca1f-05d7-42e5-a3ce-e349e7be7078' exit /b ) >(if /I '73111121-5638-40f6-bc11-f1d7b0d64300' EQU '11a37f09-fb7f-4002-bd84-f3ae71d11e90' exit /b ) >(if /I '73111121-5638-40f6-bc11-f1d7b0d64300' EQU '43f2ab05-7c87-4d56-b27c-44d0f9a3dabd' exit /b ) >(if /I '73111121-5638-40f6-bc11-f1d7b0d64300' EQU '2cf5af84-abab-4ff0-83f8-f040fb2576eb' exit /b ) >(if /I '73111121-5638-40f6-bc11-f1d7b0d64300' EQU '6ae51eeb-c268-4a21-9aae-df74c38b586d' exit /b ) >(if /I '73111121-5638-40f6-bc11-f1d7b0d64300' EQU 'ff808201-fec6-4fd4-ae16-abbddade5706' exit /b ) >(if /I '73111121-5638-40f6-bc11-f1d7b0d64300' EQU '34260150-69ac-49a3-8a0d-4a403ab55763' exit /b ) >(if /I '73111121-5638-40f6-bc11-f1d7b0d64300' EQU '4dfd543d-caa6-4f69-a95f-5ddfe2b89567' exit /b ) >(if /I '73111121-5638-40f6-bc11-f1d7b0d64300' EQU '5fe40dd6-cf1f-4cf2-8729-92121ac2e997' exit /b ) >(if /I '73111121-5638-40f6-bc11-f1d7b0d64300' EQU '903663f7-d2ab-49c9-8942-14aa9e0a9c72' exit /b ) >(if /I '73111121-5638-40f6-bc11-f1d7b0d64300' EQU '2cc171ef-db48-4adc-af09-7c574b37f139' exit /b ) >(if /I '73111121-5638-40f6-bc11-f1d7b0d64300' EQU '5b2add49-b8f4-42e0-a77c-adad4efeeeb1' exit /b ) >if not defined EditionID (call :winchk & exit /b ) >if /I '73111121-5638-40f6-bc11-f1d7b0d64300' EQU '0df4f814-3f57-4b8b-9a9d-fddadcd69fac' if /I Enterprise NEQ CloudE exit /b >if /I '73111121-5638-40f6-bc11-f1d7b0d64300' EQU 'e0c42288-980c-4788-a014-c080d2e1926e' if /I Enterprise NEQ Education exit /b >if /I '73111121-5638-40f6-bc11-f1d7b0d64300' EQU '73111121-5638-40f6-bc11-f1d7b0d64300' if /I Enterprise NEQ Enterprise exit /b >if /I '73111121-5638-40f6-bc11-f1d7b0d64300' EQU '2de67392-b7a7-462a-b1ca-108dd189f588' if /I Enterprise NEQ Professional exit /b >if /I '73111121-5638-40f6-bc11-f1d7b0d64300' EQU '3f1afc82-f8ac-4f6c-8005-1d233e606eee' if /I Enterprise NEQ ProfessionalEducation exit /b >if /I '73111121-5638-40f6-bc11-f1d7b0d64300' EQU '82bbc092-bc50-4e16-8e18-b74fc486aec3' if /I Enterprise NEQ ProfessionalWorkstation exit /b >if /I '73111121-5638-40f6-bc11-f1d7b0d64300' EQU '3c102355-d027-42c6-ad23-2e7ef8a02585' if /I Enterprise NEQ EducationN exit /b >if /I '73111121-5638-40f6-bc11-f1d7b0d64300' EQU 'e272e3e2-732f-4c65-a8f0-484747d0d947' if /I Enterprise NEQ EnterpriseN exit /b >if /I '73111121-5638-40f6-bc11-f1d7b0d64300' EQU 'a80b5abf-76ad-428b-b05d-a47d2dffeebf' if /I Enterprise NEQ ProfessionalN exit /b >if /I '73111121-5638-40f6-bc11-f1d7b0d64300' EQU '5300b18c-2e33-4dc2-8291-47ffcec746dd' if /I Enterprise NEQ ProfessionalEducationN exit /b >if /I '73111121-5638-40f6-bc11-f1d7b0d64300' EQU '4b1571d3-bafb-4b40-8087-a961be2caf65' if /I Enterprise NEQ ProfessionalWorkstationN exit /b >if /I '73111121-5638-40f6-bc11-f1d7b0d64300' EQU '58e97c99-f377-4ef1-81d5-4ad5522b5fd8' if /I Enterprise NEQ Core exit /b >if /I '73111121-5638-40f6-bc11-f1d7b0d64300' EQU 'cd918a57-a41b-4c82-8dce-1a538e221a83' if /I Enterprise NEQ CoreSingleLanguage exit /b >if /I '73111121-5638-40f6-bc11-f1d7b0d64300' EQU 'ec868e65-fadf-4759-b23e-93fe37f2cc29' if /I Enterprise NEQ ServerRdsh exit /b >if /I '73111121-5638-40f6-bc11-f1d7b0d64300' EQU 'e4db50ea-bda1-4566-b047-0ca50abc6f07' if /I Enterprise NEQ ServerRdsh exit /b >if /I '73111121-5638-40f6-bc11-f1d7b0d64300' EQU 'e4db50ea-bda1-4566-b047-0ca50abc6f07' (wmic path SoftwareLicensingProduct where 'Description like "%KMSCLIENT%"' get ID | findstr /i "ec868e65-fadf-4759-b23e-93fe37f2cc29" && (exit /b ) ) >call :winchk >echo. >wmic path SoftwareLicensingProduct where (LicenseStatus='1' and Description like '%KMSCLIENT%') get Name | findstr /i "Windows" && (exit /b ) No Instance(s) Available. >wmic path SoftwareLicensingProduct where (LicenseStatus='1' and GracePeriodRemaining='0' and PartialProductKey is not NULL) get Name | findstr /i "Windows" && ( set WinPerm=1 for /F "tokens=2 delims==" %x in ('"wmic path SoftwareLicensingProduct where ID='73111121-5638-40f6-bc11-f1d7b0d64300' get Name /VALUE"') do echo Checking: %x echo Product is Permanently Activated. exit /b ) Windows(R), Enterprise edition >echo Checking: Windows(R), Enterprise edition Checking: Windows(R), Enterprise edition Product is Permanently Activated. >exit /b >(set app=82bbc092-bc50-4e16-8e18-b74fc486aec3 & call :sppchkwin ) >set office=0 >if 17763 GEQ 14393 if 0 EQU 0 wmic path SoftwareLicensingProduct where (Description like '%KMSCLIENT%' and PartialProductKey is not NULL) get Name | findstr /i Windows && (set gvlk=1 ) >wmic path SoftwareLicensingProduct where ID='82bbc092-bc50-4e16-8e18-b74fc486aec3' get LicenseStatus | findstr "1" && (echo. & call :activate 82bbc092-bc50-4e16-8e18-b74fc486aec3 & exit /b ) >wmic path SoftwareLicensingProduct where (PartialProductKey is not NULL) get ID | findstr /i "82bbc092-bc50-4e16-8e18-b74fc486aec3" && (echo. & call :activate 82bbc092-bc50-4e16-8e18-b74fc486aec3 & exit /b ) >if 0 EQU 1 exit /b >if defined WinPerm exit /b >(set app=e0c42288-980c-4788-a014-c080d2e1926e & call :sppchkwin ) >set office=0 >if 17763 GEQ 14393 if 0 EQU 0 wmic path SoftwareLicensingProduct where (Description like '%KMSCLIENT%' and PartialProductKey is not NULL) get Name | findstr /i Windows && (set gvlk=1 ) >wmic path SoftwareLicensingProduct where ID='e0c42288-980c-4788-a014-c080d2e1926e' get LicenseStatus | findstr "1" && (echo. & call :activate e0c42288-980c-4788-a014-c080d2e1926e & exit /b ) >wmic path SoftwareLicensingProduct where (PartialProductKey is not NULL) get ID | findstr /i "e0c42288-980c-4788-a014-c080d2e1926e" && (echo. & call :activate e0c42288-980c-4788-a014-c080d2e1926e & exit /b ) >if 0 EQU 1 exit /b >if defined WinPerm exit /b >(set app=e4db50ea-bda1-4566-b047-0ca50abc6f07 & call :sppchkwin ) >set office=0 >if 17763 GEQ 14393 if 0 EQU 0 wmic path SoftwareLicensingProduct where (Description like '%KMSCLIENT%' and PartialProductKey is not NULL) get Name | findstr /i Windows && (set gvlk=1 ) >wmic path SoftwareLicensingProduct where ID='e4db50ea-bda1-4566-b047-0ca50abc6f07' get LicenseStatus | findstr "1" && (echo. & call :activate e4db50ea-bda1-4566-b047-0ca50abc6f07 & exit /b ) >wmic path SoftwareLicensingProduct where (PartialProductKey is not NULL) get ID | findstr /i "e4db50ea-bda1-4566-b047-0ca50abc6f07" && (echo. & call :activate e4db50ea-bda1-4566-b047-0ca50abc6f07 & exit /b ) >if 0 EQU 1 exit /b >if defined WinPerm exit /b >(set app=ec868e65-fadf-4759-b23e-93fe37f2cc29 & call :sppchkwin ) >set office=0 >if 17763 GEQ 14393 if 0 EQU 0 wmic path SoftwareLicensingProduct where (Description like '%KMSCLIENT%' and PartialProductKey is not NULL) get Name | findstr /i Windows && (set gvlk=1 ) >wmic path SoftwareLicensingProduct where ID='ec868e65-fadf-4759-b23e-93fe37f2cc29' get LicenseStatus | findstr "1" && (echo. & call :activate ec868e65-fadf-4759-b23e-93fe37f2cc29 & exit /b ) >wmic path SoftwareLicensingProduct where (PartialProductKey is not NULL) get ID | findstr /i "ec868e65-fadf-4759-b23e-93fe37f2cc29" && (echo. & call :activate ec868e65-fadf-4759-b23e-93fe37f2cc29 & exit /b ) >if 0 EQU 1 exit /b >if defined WinPerm exit /b >if defined 0ff1ce15 for /F "tokens=2 delims==" %G in ('"wmic path SoftwareLicensingProduct where (Description like '%KMSCLIENT%' and Name like 'Office%') get ID /VALUE"') do (set app=%G & call :sppchkoff ) >(set app=0bc88885-718c-491d-921f-6f214349e79c & call :sppchkoff ) >wmic path SoftwareLicensingProduct where ID='0bc88885-718c-491d-921f-6f214349e79c' get Name 1>sppchk.txt >find /i "Office 15" sppchk.txt && (if 0 EQU 0 exit /b ) ---------- SPPCHK.TXT >find /i "Office 16" sppchk.txt && (if 0 EQU 0 exit /b ) ---------- SPPCHK.TXT >find /i "Office 19" sppchk.txt && (if 1 EQU 0 exit /b ) ---------- SPPCHK.TXT Office 19, Office19ProPlus2019XC2RVL_KMS_ClientC2R edition >set office=1 >wmic path SoftwareLicensingProduct where (PartialProductKey is not NULL) get ID | findstr /i "0bc88885-718c-491d-921f-6f214349e79c" && (echo. & call :activate 0bc88885-718c-491d-921f-6f214349e79c & exit /b ) >for /F "tokens=3 delims==, " %G in ('"wmic path SoftwareLicensingProduct where ID='0bc88885-718c-491d-921f-6f214349e79c' get Name /value"') do set OffVer=%G >set OffVer=19 >call ffchk19 >if /I '0bc88885-718c-491d-921f-6f214349e79c' EQU '0bc88885-718c-491d-921f-6f214349e79c' exit /b >exit /b >(set app=500f6619-ef93-4b75-bcb4-82819998a3ca & call :sppchkoff ) >wmic path SoftwareLicensingProduct where ID='500f6619-ef93-4b75-bcb4-82819998a3ca' get Name 1>sppchk.txt >find /i "Office 15" sppchk.txt && (if 0 EQU 0 exit /b ) ---------- SPPCHK.TXT >find /i "Office 16" sppchk.txt && (if 0 EQU 0 exit /b ) ---------- SPPCHK.TXT >find /i "Office 19" sppchk.txt && (if 1 EQU 0 exit /b ) ---------- SPPCHK.TXT Office 19, Office19VisioPro2019XC2RVL_KMS_ClientC2R edition >set office=1 >wmic path SoftwareLicensingProduct where (PartialProductKey is not NULL) get ID | findstr /i "500f6619-ef93-4b75-bcb4-82819998a3ca" && (echo. & call :activate 500f6619-ef93-4b75-bcb4-82819998a3ca & exit /b ) >for /F "tokens=3 delims==, " %G in ('"wmic path SoftwareLicensingProduct where ID='500f6619-ef93-4b75-bcb4-82819998a3ca' get Name /value"') do set OffVer=%G >set OffVer=19 >call ffchk19 >if /I '500f6619-ef93-4b75-bcb4-82819998a3ca' EQU '0bc88885-718c-491d-921f-6f214349e79c' exit /b >if /I '500f6619-ef93-4b75-bcb4-82819998a3ca' EQU 'fc7c4d0c-2e85-4bb9-afd4-01ed1476b5e9' exit /b >if /I '500f6619-ef93-4b75-bcb4-82819998a3ca' EQU '500f6619-ef93-4b75-bcb4-82819998a3ca' exit /b >exit /b >(set app=5b5cf08f-b81a-431d-b080-3450d8620565 & call :sppchkoff ) >wmic path SoftwareLicensingProduct where ID='5b5cf08f-b81a-431d-b080-3450d8620565' get Name 1>sppchk.txt >find /i "Office 15" sppchk.txt && (if 0 EQU 0 exit /b ) ---------- SPPCHK.TXT >find /i "Office 16" sppchk.txt && (if 0 EQU 0 exit /b ) ---------- SPPCHK.TXT >find /i "Office 19" sppchk.txt && (if 1 EQU 0 exit /b ) ---------- SPPCHK.TXT Office 19, Office19VisioPro2019VL_KMS_Client_AE edition >set office=1 >wmic path SoftwareLicensingProduct where (PartialProductKey is not NULL) get ID | findstr /i "5b5cf08f-b81a-431d-b080-3450d8620565" && (echo. & call :activate 5b5cf08f-b81a-431d-b080-3450d8620565 & exit /b ) 5b5cf08f-b81a-431d-b080-3450d8620565 >wmic path SoftwareLicensingProduct where ID='5b5cf08f-b81a-431d-b080-3450d8620565' call ClearKeyManagementServiceMachine Executing (\\BOB-PC\root\cimv2:SoftwareLicensingProduct.ID="5b5cf08f-b81a-431d-b080-3450d8620565")->ClearKeyManagementServiceMachine() Method execution successful. Out Parameters: instance of __PARAMETERS { }; >wmic path SoftwareLicensingProduct where ID='5b5cf08f-b81a-431d-b080-3450d8620565' call ClearKeyManagementServicePort Executing (\\BOB-PC\root\cimv2:SoftwareLicensingProduct.ID="5b5cf08f-b81a-431d-b080-3450d8620565")->ClearKeyManagementServicePort() Method execution successful. Out Parameters: instance of __PARAMETERS { }; >if 1 EQU 0 if 1 EQU 0 if SoftwareLicensingService EQU SoftwareLicensingService ( wmic path SoftwareLicensingProduct where ID='5b5cf08f-b81a-431d-b080-3450d8620565' call SetKeyManagementServiceMachine MachineName="127.0.0.2" wmic path SoftwareLicensingProduct where ID='5b5cf08f-b81a-431d-b080-3450d8620565' call SetKeyManagementServicePort 1688 for /F "tokens=2 delims==" %x in ('"wmic path SoftwareLicensingProduct where ID='5b5cf08f-b81a-431d-b080-3450d8620565' get Name /VALUE"') do echo Checking: %x echo Product is KMS 2038 Activated. exit /b ) >for /F "tokens=2 delims==" %x in ('"wmic path SoftwareLicensingProduct where ID='5b5cf08f-b81a-431d-b080-3450d8620565' get Name /VALUE"') do echo Activating: %x >echo Activating: Office 19, Office19VisioPro2019VL_KMS_Client_AE edition Activating: Office 19, Office19VisioPro2019VL_KMS_Client_AE edition >wmic path SoftwareLicensingProduct where ID='5b5cf08f-b81a-431d-b080-3450d8620565' call Activate Executing (\\BOB-PC\root\cimv2:SoftwareLicensingProduct.ID="5b5cf08f-b81a-431d-b080-3450d8620565")->Activate() ERROR: Description = >set ERRORCODE=-1073418124 >if /I SoftwareLicensingService EQU SoftwareLicensingService wmic path SoftwareLicensingService where version='10.0.17763.194' call RefreshLicenseStatus Executing (\\BOB-PC\root\cimv2:SoftwareLicensingService.Version="10.0.17763.194")->RefreshLicenseStatus() Method execution successful. Out Parameters: instance of __PARAMETERS { }; >for /F "tokens=2 delims==" %x in ('"wmic path SoftwareLicensingProduct where ID='5b5cf08f-b81a-431d-b080-3450d8620565' get GracePeriodRemaining /VALUE"') do (set gpr=%x & set /a gpr2=%x/1440 ) >(set gpr=43180 & set /a gpr2=43180 /1440 ) >if 43180 EQU 43200 if 1 EQU 0 if 17763 GEQ 9200 (echo Windows Core/ProfessionalWMC Activation Successful & echo Remaining Period: 30 days (43180 minutes) & exit /b ) >if 43180 EQU 64800 (echo Windows Core/ProfessionalWMC Activation Successful & echo Remaining Period: 45 days (43180 minutes) & exit /b ) >if 43180 GTR 259200 (echo Windows 10 EnterpriseG/EnterpriseGN Activation Successful & echo Remaining Period: 29 days (43180 minutes) & exit /b ) >if 43180 EQU 259200 (echo Product Activation Successful ) else ( call cmd /c exit /b -1073418124 echo Product Activation Failed: 0x00000000 ) Product Activation Failed: 0x00000000 >echo Remaining Period: 29 days (43180 minutes) Remaining Period: 29 days (43180 minutes) >exit /b >(set app=85dd8b5f-eaa4-4af3-a628-cce9e77c9a03 & call :sppchkoff ) >wmic path SoftwareLicensingProduct where ID='85dd8b5f-eaa4-4af3-a628-cce9e77c9a03' get Name 1>sppchk.txt >find /i "Office 15" sppchk.txt && (if 0 EQU 0 exit /b ) ---------- SPPCHK.TXT >find /i "Office 16" sppchk.txt && (if 0 EQU 0 exit /b ) ---------- SPPCHK.TXT >find /i "Office 19" sppchk.txt && (if 1 EQU 0 exit /b ) ---------- SPPCHK.TXT Office 19, Office19ProPlus2019VL_KMS_Client_AE edition >set office=1 >wmic path SoftwareLicensingProduct where (PartialProductKey is not NULL) get ID | findstr /i "85dd8b5f-eaa4-4af3-a628-cce9e77c9a03" && (echo. & call :activate 85dd8b5f-eaa4-4af3-a628-cce9e77c9a03 & exit /b ) 85dd8b5f-eaa4-4af3-a628-cce9e77c9a03 >wmic path SoftwareLicensingProduct where ID='85dd8b5f-eaa4-4af3-a628-cce9e77c9a03' call ClearKeyManagementServiceMachine Executing (\\BOB-PC\root\cimv2:SoftwareLicensingProduct.ID="85dd8b5f-eaa4-4af3-a628-cce9e77c9a03")->ClearKeyManagementServiceMachine() Method execution successful. Out Parameters: instance of __PARAMETERS { }; >wmic path SoftwareLicensingProduct where ID='85dd8b5f-eaa4-4af3-a628-cce9e77c9a03' call ClearKeyManagementServicePort Executing (\\BOB-PC\root\cimv2:SoftwareLicensingProduct.ID="85dd8b5f-eaa4-4af3-a628-cce9e77c9a03")->ClearKeyManagementServicePort() Method execution successful. Out Parameters: instance of __PARAMETERS { }; >if 1 EQU 0 if 1 EQU 0 if SoftwareLicensingService EQU SoftwareLicensingService ( wmic path SoftwareLicensingProduct where ID='85dd8b5f-eaa4-4af3-a628-cce9e77c9a03' call SetKeyManagementServiceMachine MachineName="127.0.0.2" wmic path SoftwareLicensingProduct where ID='85dd8b5f-eaa4-4af3-a628-cce9e77c9a03' call SetKeyManagementServicePort 1688 for /F "tokens=2 delims==" %x in ('"wmic path SoftwareLicensingProduct where ID='85dd8b5f-eaa4-4af3-a628-cce9e77c9a03' get Name /VALUE"') do echo Checking: %x echo Product is KMS 2038 Activated. exit /b ) >for /F "tokens=2 delims==" %x in ('"wmic path SoftwareLicensingProduct where ID='85dd8b5f-eaa4-4af3-a628-cce9e77c9a03' get Name /VALUE"') do echo Activating: %x >echo Activating: Office 19, Office19ProPlus2019VL_KMS_Client_AE edition Activating: Office 19, Office19ProPlus2019VL_KMS_Client_AE edition >wmic path SoftwareLicensingProduct where ID='85dd8b5f-eaa4-4af3-a628-cce9e77c9a03' call Activate Executing (\\BOB-PC\root\cimv2:SoftwareLicensingProduct.ID="85dd8b5f-eaa4-4af3-a628-cce9e77c9a03")->Activate() ERROR: Description = >set ERRORCODE=-1073418124 >if /I SoftwareLicensingService EQU SoftwareLicensingService wmic path SoftwareLicensingService where version='10.0.17763.194' call RefreshLicenseStatus Executing (\\BOB-PC\root\cimv2:SoftwareLicensingService.Version="10.0.17763.194")->RefreshLicenseStatus() Method execution successful. Out Parameters: instance of __PARAMETERS { }; >for /F "tokens=2 delims==" %x in ('"wmic path SoftwareLicensingProduct where ID='85dd8b5f-eaa4-4af3-a628-cce9e77c9a03' get GracePeriodRemaining /VALUE"') do (set gpr=%x & set /a gpr2=%x/1440 ) >(set gpr=43179 & set /a gpr2=43179 /1440 ) >if 43179 EQU 43200 if 1 EQU 0 if 17763 GEQ 9200 (echo Windows Core/ProfessionalWMC Activation Successful & echo Remaining Period: 30 days (43179 minutes) & exit /b ) >if 43179 EQU 64800 (echo Windows Core/ProfessionalWMC Activation Successful & echo Remaining Period: 45 days (43179 minutes) & exit /b ) >if 43179 GTR 259200 (echo Windows 10 EnterpriseG/EnterpriseGN Activation Successful & echo Remaining Period: 29 days (43179 minutes) & exit /b ) >if 43179 EQU 259200 (echo Product Activation Successful ) else ( call cmd /c exit /b -1073418124 echo Product Activation Failed: 0x00000000 ) Product Activation Failed: 0x00000000 >echo Remaining Period: 29 days (43179 minutes) Remaining Period: 29 days (43179 minutes) >exit /b >call :cKMS >wmic path SoftwareLicensingService where version='10.0.17763.194' call ClearKeyManagementServiceMachine Executing (\\BOB-PC\root\cimv2:SoftwareLicensingService.Version="10.0.17763.194")->ClearKeyManagementServiceMachine() Method execution successful. Out Parameters: instance of __PARAMETERS { }; >wmic path SoftwareLicensingService where version='10.0.17763.194' call ClearKeyManagementServicePort Executing (\\BOB-PC\root\cimv2:SoftwareLicensingService.Version="10.0.17763.194")->ClearKeyManagementServicePort() Method execution successful. Out Parameters: instance of __PARAMETERS { }; >wmic path SoftwareLicensingService where version='10.0.17763.194' call DisableKeyManagementServiceDnsPublishing 1 Executing (\\BOB-PC\root\cimv2:SoftwareLicensingService.Version="10.0.17763.194")->DisableKeyManagementServiceDnsPublishing() Method execution successful. Out Parameters: instance of __PARAMETERS { }; >wmic path SoftwareLicensingService where version='10.0.17763.194' call DisableKeyManagementServiceHostCaching 1 Executing (\\BOB-PC\root\cimv2:SoftwareLicensingService.Version="10.0.17763.194")->DisableKeyManagementServiceHostCaching() Method execution successful. Out Parameters: instance of __PARAMETERS { }; >if /I SoftwareLicensingService EQU SoftwareLicensingService ( reg delete "HKLM\SOFTWARE\Microsoft\Windows NT\CurrentVersion\SoftwareProtectionPlatform\55c92734-d682-4d71-983e-d6ec3f16059f" /f reg delete "HKLM\SOFTWARE\Microsoft\Windows NT\CurrentVersion\SoftwareProtectionPlatform\0ff1ce15-a989-479d-af46-f275c6370663" /f reg delete "HKEY_USERS\S-1-5-20\SOFTWARE\Microsoft\Windows NT\CurrentVersion\SoftwareProtectionPlatform\55c92734-d682-4d71-983e-d6ec3f16059f" /f reg delete "HKEY_USERS\S-1-5-20\SOFTWARE\Microsoft\Windows NT\CurrentVersion\SoftwareProtectionPlatform\0ff1ce15-a989-479d-af46-f275c6370663" /f ) else ( reg delete "HKLM\SOFTWARE\Microsoft\OfficeSoftwareProtectionPlatform\59a52881-a989-479d-af46-f275c6370663" /f reg delete "HKLM\SOFTWARE\Microsoft\OfficeSoftwareProtectionPlatform\0ff1ce15-a989-479d-af46-f275c6370663" /f ) ERROR: The system was unable to find the specified registry key or value. ERROR: The system was unable to find the specified registry key or value. ERROR: The system was unable to find the specified registry key or value. ERROR: The system was unable to find the specified registry key or value. >goto :eof >exit /b >call :OSPP >reg delete "HKLM\SOFTWARE\Microsoft\OfficeSoftwareProtectionPlatform\59a52881-a989-479d-af46-f275c6370663" /f ERROR: The system was unable to find the specified registry key or value. >reg delete "HKLM\SOFTWARE\Microsoft\OfficeSoftwareProtectionPlatform\0ff1ce15-a989-479d-af46-f275c6370663" /f ERROR: The system was unable to find the specified registry key or value. >set spp=OfficeSoftwareProtectionProduct >set sps=OfficeSoftwareProtectionService >if 17763 LSS 9200 (set "aword=2010/2013/2016/2019" ) else (set "aword=2010" ) >wmic path OfficeSoftwareProtectionService get Version /VALUE || (echo. & echo No Installed Office 2010 Product Detected... & exit /b ) ERROR: Description = Not found No Installed Office 2010 Product Detected... >del /f /q c2rchk.txt >del /f /q sppchk.txt >del /f /q osppchk.txt Could Not Find C:\SppExtComObjPatcher-kms2\osppchk.txt >call :StopService sppsvc >sc query sppsvc | find /i "STOPPED" || net stop sppsvc /y The Software Protection service is stopping. The Software Protection service was stopped successfully. >sc query sppsvc | find /i "STOPPED" || sc stop sppsvc STATE : 1 STOPPED >goto :eof >if 0 NEQ 0 call :StopService osppsvc >if 0 == 1 (icacls "C:\WINDOWS\system32\SppExtComObjHook.dll" /reset ) >if exist "C:\WINDOWS\system32\SppExtComObjHook.dll" del /f /q "C:\WINDOWS\system32\SppExtComObjHook.dll" >if Win8 EQU Win8 call :RemoveIFEOEntry SppExtComObj.exe >if /I SppExtComObj.exe NEQ osppsvc.exe ( reg delete "HKLM\SOFTWARE\Microsoft\Windows NT\CurrentVersion\Image File Execution Options\SppExtComObj.exe" /f goto :eof ) ERROR: The system was unable to find the specified registry key or value. >if Win8 EQU Win7 if 1 NEQ 0 call :RemoveIFEOEntry sppsvc.exe >if 0 NEQ 0 call :RemoveIFEOEntry osppsvc.exe >sc start sppsvc trigger=timer;sessionid=0 SERVICE_NAME: sppsvc TYPE : 10 WIN32_OWN_PROCESS STATE : 2 START_PENDING (NOT_STOPPABLE, NOT_PAUSABLE, IGNORES_SHUTDOWN) WIN32_EXIT_CODE : 0 (0x0) SERVICE_EXIT_CODE : 0 (0x0) CHECKPOINT : 0x0 WAIT_HINT : 0x7d0 PID : 5384 FLAGS : >echo. >echo. >echo Press any key to exit... Press any key to exit... >if 1 EQU 0 pause 1>nul >exit /b
Oops...I intended to post the technical stuff as spoiler, but seems I screwed up....Apologies... If anybody could help me I'd very grateful!
Edit post - delete all, then from ribbon menu -> Insert... -> <> Code -> and paste your log There is a "MORE OPTIONS..." -> "PREVIEW..." option to view before posting as well
You security program (or something else) is preventing the script from adding required registry keys Code: >reg add "HKLM\SOFTWARE\Microsoft\Windows NT\CurrentVersion\Image File Execution Options\SppExtComObj.exe" /f /v Debugger /t REG_SZ /d "rundll32.exe SppExtComObjHook.dll,PatcherMain" ERROR: Access is denied. >reg add "HKLM\SOFTWARE\Microsoft\Windows NT\CurrentVersion\Image File Execution Options\SppExtComObj.exe" /f /v KMS_Emulation /t REG_DWORD /d 1 ERROR: Access is denied. >reg add "HKLM\SOFTWARE\Microsoft\Windows NT\CurrentVersion\Image File Execution Options\SppExtComObj.exe" /f /v KMS_ActivationInterval /t REG_DWORD /d 43200 ERROR: Access is denied. >reg add "HKLM\SOFTWARE\Microsoft\Windows NT\CurrentVersion\Image File Execution Options\SppExtComObj.exe" /f /v KMS_RenewalInterval /t REG_DWORD /d 43200 ERROR: Access is denied.
Hi there and thank u so much for your time. I'll give it another shot, but I don't know what to turn off. As I already mentioned I tried with Avast AV off. What else could be a problem? I also have ZoneAlarm firewall and CyberSight RansomStopper installed. However, none of them didn't alert me for something. Could it be something with Windows? I fresh installed W 10 1809 Enterprise last week...
I've tried once more with ransomstopper and avast off. For a change, after converting to VL, I didn't go 1-SppExtComObjPatcher.cmd and 2-Activate-Local.cmd. I just ran as admin KMS_VL_ALL.cmd. Some dissapointment. This is what I got (same as before): Code: Checking: Windows(R), Enterprise edition Product is Permanently Activated. Activating: Office 19, Office19VisioPro2019VL_KMS_Client_AE edition Product Activation Failed: 0x00000000 Remaining Period: 29 days (41836 minutes) Activating: Office 19, Office19ProPlus2019VL_KMS_Client_AE edition Product Activation Failed: 0x00000000 Remaining Period: 29 days (41835 minutes) No Installed Office 2010 Product Detected... Press any key to exit...
I also ran Check-Activation-Status-Alternative.cmd and got the following: Code: Name: Office 19, Office19VisioPro2019VL_KMS_Client_AE edition Description: Office 19, VOLUME_KMSCLIENT channel Partial Product Key: 7VCBB License Status: Initial grace period Time remaining: 41833 minute(s) (30 day(s)) Configured Activation Type: All Please use slmgr.vbs /ato to activate and update KMS client information in order to update values. Office 19, Office19VisioPro2019VL_KMS_Client_AE edition: Initial grace period ends 30/1/2019 8:21:32 μμ ____________________________________________________________________________ Name: Office 19, Office19ProPlus2019VL_KMS_Client_AE edition Description: Office 19, VOLUME_KMSCLIENT channel Partial Product Key: 6MWKP License Status: Initial grace period Time remaining: 41833 minute(s) (30 day(s)) Configured Activation Type: All Please use slmgr.vbs /ato to activate and update KMS client information in order to update values. Office 19, Office19ProPlus2019VL_KMS_Client_AE edition: Initial grace period ends 30/1/2019 8:21:36 μμ
Does "Please use slmgr.vbs /ato to activate and update KMS client information in order to update values" say sth about my case? Is there sth else I can do?
Open registry editor regedit.exe go to this key Code: HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows NT\CurrentVersion\Image File Execution Options right click and select Permissions... click Advanced capture screenshot and post it you can now click Cancel >Cancel to close
@HpBaxxter Download C2R-R2V from 1st page of this topic. Extract and then run as admin Convert-C2R.cmd. Done!