[HOW-TO/SUPPORT/CHAT] OFFICE C2R Download/Install/Activation

Discussion in 'Microsoft Office' started by s1ave77, Jul 19, 2015.

  1. ratzlefatz

    ratzlefatz MDL FUBAR Recon Squad

    Sep 1, 2012
    1,379
    5,000
    60
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
  2. Tiger-1

    Tiger-1 MDL Guru

    Oct 18, 2014
    7,897
    10,733
    240
    ^^
    Hi thanks for good info, well maybe i forgot to access the privacy settings and i didn't turn it off or i didn't set the option to "update" anything so they sent bullet lol;)
     
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
  3. gsadfawe4

    gsadfawe4 MDL Novice

    Sep 14, 2019
    3
    7
    0
    Activation of both Win10 Enterprise LTSC 2019 and Office 2019 LTSC fail with "Product Activation Failed: 0x80080005"

    Activate_Debug.log is here: https colon slashslash pastebin.com slash XDZUTAGd . Is someone able to tell what's wrong? I stepped through it myself, alongside Activate.cmd. The instances where something wrong seems to happen is at "wmic path SoftwareLicensingProduct where ID=xxx call Activate", where it fails like "ERROR: Description = Server Execution Failed". The ERRORLEVEL is -2146959355, and the ExitCode seems to be 0x80080005 .

    No antivirus, no Windows Defender.

    Edit: inserting the link was clumsy, so here is also the log (long...):
    Code:
    >set "IFEO=HKLM\SOFTWARE\Microsoft\Windows NT\CurrentVersion\Image File Execution Options"
    
    >set "OSPP=SOFTWARE\Microsoft\OfficeSoftwareProtectionPlatform"
    
    >set "SPPk=SOFTWARE\Microsoft\Windows NT\CurrentVersion\SoftwareProtectionPlatform"
    
    >set _Hook="C:\Windows\System32\SppExtComObjHook.dll"
    
    >for /F "tokens=6 delims=[]. " %G in ('ver') do set winbuild=%G
    
    >set winbuild=17763
    
    >set SSppHook=0
    
    >if 17763 LSS 9200 for /F %A in ('dir /b /ad C:\Windows\System32\spp\tokens\skus') do (
    if exist "C:\Windows\System32\spp\tokens\skus\%A\*VLKMS*.xrm-ms" set SSppHook=1 
     if exist "C:\Windows\System32\spp\tokens\skus\%A\*VLBA*.xrm-ms" set SSppHook=1
    )
    
    >set OsppHook=1
    
    >sc query osppsvc 
    [SC] EnumQueryServicesStatus:OpenService FAILED 1060:
    
    The specified service does not exist as an installed service.
    
    
    >if 1060 EQU 1060 set OsppHook=0
    
    >if 17763 GEQ 9200 (
    set SSppHook=1 
     set OSType=Win8 
     set SppVer=SppExtComObj.exe
    )  else if 17763 GEQ 7600 (
    set OSType=Win7 
     set SppVer=sppsvc.exe
    )  else (goto :UnsupportedVersion )
    
    >if Win8 EQU Win8 reg query "HKLM\SOFTWARE\Microsoft\Windows NT\CurrentVersion\Image File Execution Options\sppsvc.exe"    && (
    reg delete "HKLM\SOFTWARE\Microsoft\Windows NT\CurrentVersion\Image File Execution Options\sppsvc.exe" /f   
     call :StopService sppsvc
    )
    ERROR: The system was unable to find the specified registry key or value.
    
    >if 1 EQU 0 if 1 EQU 0 set ActWindows=1
    
    >set AUR=0
    
    >if exist "C:\Windows\System32\SppExtComObjHook.dll" dir /b /al "C:\Windows\System32\SppExtComObjHook.dll"    || (
    reg query "HKLM\SOFTWARE\Microsoft\Windows NT\CurrentVersion\Image File Execution Options\SppExtComObj.exe" /v KMS_Emulation    && set AUR=1 
     reg query "HKLM\SOFTWARE\Microsoft\Windows NT\CurrentVersion\Image File Execution Options\osppsvc.exe" /v KMS_Emulation    && set AUR=1
    )
    File Not Found
    
    HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows NT\CurrentVersion\Image File Execution Options\SppExtComObj.exe
        KMS_Emulation    REG_DWORD    0x1
    
    
    HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows NT\CurrentVersion\Image File Execution Options\osppsvc.exe
        KMS_Emulation    REG_DWORD    0x1
    
    
    >if 0 EQU 1 (set AUR=1 )
    
    >if 0 EQU 0 (set KMS_IP=172.16.0.2 )
    
    >if 1 EQU 0 (
    set KMS_ActivationInterval=43200 
     set KMS_RenewalInterval=43200
    )
    
    >if 0 EQU 1 (color 8F  & set "mode=External ^(172.16.0.2^)" )  else (if 1 EQU 0 (color 1F  & set "mode=Manual" )  else (color 07  & set "mode=Auto Renewal" ) )
    
    >if 0 EQU 0 (if 1 EQU 0 (title KMS_VL_ALL )  else (title KMS_VL_ALL Auto Renewal ) )
    
    >if 17763 GEQ 9600 (reg add "HKLM\SOFTWARE\Policies\Microsoft\Windows NT\CurrentVersion\Software Protection Platform" /f /v NoGenTicket /t REG_DWORD /d 1  )
    The operation completed successfully.
    
    
    >echo.
    
    
    >echo Activation Mode: Auto Renewal
    Activation Mode: Auto Renewal
    
    >if 1 EQU 0 if not exist "!_work!\bin\!xOS!.dll" goto :E_DLL
    
    >call :StopService sppsvc
    
    >sc query sppsvc   | find /i "STOPPED"    || net stop sppsvc /y 
            STATE              : 1  STOPPED
    
    >sc query sppsvc   | find /i "STOPPED"    || sc stop sppsvc 
            STATE              : 1  STOPPED
    
    >goto :eof
    
    >if 0 NEQ 0 call :StopService osppsvc
    
    >if 1 EQU 0 goto :InstallHook
    
    >if 1 EQU 1 if 0 EQU 0 (
    call :UpdateIFEOEntry SppExtComObj.exe 
     call :UpdateIFEOEntry osppsvc.exe
    )
    
    >reg query "HKLM\SOFTWARE\Microsoft\Windows NT\CurrentVersion\Image File Execution Options\SppExtComObj.exe" /v KMS_Emulation    || goto :eof
    
    HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows NT\CurrentVersion\Image File Execution Options\SppExtComObj.exe
        KMS_Emulation    REG_DWORD    0x1
    
    
    >reg add "HKLM\SOFTWARE\Microsoft\Windows NT\CurrentVersion\Image File Execution Options\SppExtComObj.exe" /f /v KMS_ActivationInterval /t REG_DWORD /d 120 
    The operation completed successfully.
    
    
    >reg add "HKLM\SOFTWARE\Microsoft\Windows NT\CurrentVersion\Image File Execution Options\SppExtComObj.exe" /f /v KMS_RenewalInterval /t REG_DWORD /d 10080 
    The operation completed successfully.
    
    
    >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"  )
    The operation completed successfully.
    
    
    >if /I SppExtComObj.exe EQU sppsvc.exe (
    reg add "HKLM\SOFTWARE\Microsoft\Windows NT\CurrentVersion\Image File Execution Options\SppExtComObj.exe" /f /v KMS_ActivationInterval /t REG_DWORD /d 120   
     reg add "HKLM\SOFTWARE\Microsoft\Windows NT\CurrentVersion\Image File Execution Options\SppExtComObj.exe" /f /v KMS_RenewalInterval /t REG_DWORD /d 10080 
    )
    
    >if /I SppExtComObj.exe EQU osppsvc.exe (
    reg add "HKLM\SOFTWARE\Microsoft\OfficeSoftwareProtectionPlatform" /f /v KeyManagementServiceName /t REG_SZ /d 172.16.0.2   
     reg add "HKLM\SOFTWARE\Microsoft\OfficeSoftwareProtectionPlatform" /f /v KeyManagementServicePort /t REG_SZ /d 1688 
    )
    
    >goto :eof
    
    >reg query "HKLM\SOFTWARE\Microsoft\Windows NT\CurrentVersion\Image File Execution Options\osppsvc.exe" /v KMS_Emulation    || goto :eof
    
    HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows NT\CurrentVersion\Image File Execution Options\osppsvc.exe
        KMS_Emulation    REG_DWORD    0x1
    
    
    >reg add "HKLM\SOFTWARE\Microsoft\Windows NT\CurrentVersion\Image File Execution Options\osppsvc.exe" /f /v KMS_ActivationInterval /t REG_DWORD /d 120 
    The operation completed successfully.
    
    
    >reg add "HKLM\SOFTWARE\Microsoft\Windows NT\CurrentVersion\Image File Execution Options\osppsvc.exe" /f /v KMS_RenewalInterval /t REG_DWORD /d 10080 
    The operation completed successfully.
    
    
    >if /I osppsvc.exe EQU SppExtComObj.exe if 17763 GEQ 9600 (reg add "HKLM\SOFTWARE\Microsoft\Windows NT\CurrentVersion\Image File Execution Options\osppsvc.exe" /f /v KMS_HWID /t REG_QWORD /d "0x3A1C049600B60076"  )
    
    >if /I osppsvc.exe EQU sppsvc.exe (
    reg add "HKLM\SOFTWARE\Microsoft\Windows NT\CurrentVersion\Image File Execution Options\SppExtComObj.exe" /f /v KMS_ActivationInterval /t REG_DWORD /d 120   
     reg add "HKLM\SOFTWARE\Microsoft\Windows NT\CurrentVersion\Image File Execution Options\SppExtComObj.exe" /f /v KMS_RenewalInterval /t REG_DWORD /d 10080 
    )
    
    >if /I osppsvc.exe EQU osppsvc.exe (
    reg add "HKLM\SOFTWARE\Microsoft\OfficeSoftwareProtectionPlatform" /f /v KeyManagementServiceName /t REG_SZ /d 172.16.0.2   
     reg add "HKLM\SOFTWARE\Microsoft\OfficeSoftwareProtectionPlatform" /f /v KeyManagementServicePort /t REG_SZ /d 1688 
    )
    The operation completed successfully.
    
    The operation completed successfully.
    
    
    >goto :eof
    
    >if 1 EQU 1 if 0 EQU 1 (call :UpdateOSPPEntry osppsvc.exe )
    
    >SET Win10Gov=0
    
    >IF 17763 LSS 14393 if 1 NEQ 0 GOTO :Main
    
    >SET "EditionWMI="
    
    >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-EnterpriseSEdition~31bf3856ad364e35~amd64~~10.0.17763.1" /v "CurrentState"    | FIND /I "0x70"    && (FOR /F "TOKENS=3 DELIMS=-~" %B IN ('ECHO Microsoft-Windows-EnterpriseSEdition~31bf3856ad364e35~amd64~~10.0.17763.1') DO SET "EditionPKG=%B" ) )
        CurrentState    REG_DWORD    0x70
    
    >SET "EditionPKG=EnterpriseSEdition"
    
    >IF /I "Edition" == "Edition" (SET "EditionID=EnterpriseS" )  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" ') DO IF NOT ERRORLEVEL 1 SET "EditionWMI=%A"
    
    >IF NOT ERRORLEVEL 1 SET "EditionWMI=EnterpriseS
    "
    
    >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" 
     IF 17763 LSS 14393 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 IoTEnterprise IoTEnterpriseS ProfessionalSingleLanguage ProfessionalCountrySpecific) DO (IF /I "EnterpriseS" == "%A" GOTO :Main )
    
    >(IF /I "EnterpriseS" == "Cloud" GOTO :Main )
    
    >(IF /I "EnterpriseS" == "CloudN" GOTO :Main )
    
    >(IF /I "EnterpriseS" == "IoTEnterprise" GOTO :Main )
    
    >(IF /I "EnterpriseS" == "IoTEnterpriseS" GOTO :Main )
    
    >(IF /I "EnterpriseS" == "ProfessionalSingleLanguage" GOTO :Main )
    
    >(IF /I "EnterpriseS" == "ProfessionalCountrySpecific" GOTO :Main )
    
    >SET "EditionID=EnterpriseS"
    
    >IF DEFINED EditionID FOR %A IN (EnterpriseG EnterpriseGN) DO (IF /I "EnterpriseS" == "%A" SET Win10Gov=1 )
    
    >(IF /I "EnterpriseS" == "EnterpriseG" SET Win10Gov=1 )
    
    >(IF /I "EnterpriseS" == "EnterpriseGN" SET Win10Gov=1 )
    
    >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    ProPlus2019Volume
    
    
    >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 :officeLoc %A
    
    >call :officeLoc 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>"!_temp!\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" "!_temp!\c2rchk.txt"    && set loc_off14=1 
     findstr /I /C:"%aRetail" "!_temp!\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\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 :officeLoc 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>"!_temp!\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" "!_temp!\c2rchk.txt"    && set loc_off15=1 
     findstr /I /C:"%aRetail" "!_temp!\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\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 :officeLoc 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>"!_temp!\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" "!_temp!\c2rchk.txt"    && set loc_off16=1 
     findstr /I /C:"%aRetail" "!_temp!\c2rchk.txt"    && set loc_off16=1
    ) 
     exit /b
    )
    
    >echo ProPlus2019Volume 1>"!_temp!\c2rchk.txt"
    
    >(
    findstr /I /C:"MondoVolume" "!_temp!\c2rchk.txt"    && set loc_off16=1 
     findstr /I /C:"MondoRetail" "!_temp!\c2rchk.txt"    && set loc_off16=1
    )
    
    >(
    findstr /I /C:"ProPlusVolume" "!_temp!\c2rchk.txt"    && set loc_off16=1 
     findstr /I /C:"ProPlusRetail" "!_temp!\c2rchk.txt"    && set loc_off16=1
    )
    
    >(
    findstr /I /C:"StandardVolume" "!_temp!\c2rchk.txt"    && set loc_off16=1 
     findstr /I /C:"StandardRetail" "!_temp!\c2rchk.txt"    && set loc_off16=1
    )
    
    >(
    findstr /I /C:"ProjectProXVolume" "!_temp!\c2rchk.txt"    && set loc_off16=1 
     findstr /I /C:"ProjectProXRetail" "!_temp!\c2rchk.txt"    && set loc_off16=1
    )
    
    >(
    findstr /I /C:"ProjectStdXVolume" "!_temp!\c2rchk.txt"    && set loc_off16=1 
     findstr /I /C:"ProjectStdXRetail" "!_temp!\c2rchk.txt"    && set loc_off16=1
    )
    
    >(
    findstr /I /C:"ProjectProVolume" "!_temp!\c2rchk.txt"    && set loc_off16=1 
     findstr /I /C:"ProjectProRetail" "!_temp!\c2rchk.txt"    && set loc_off16=1
    )
    
    >(
    findstr /I /C:"ProjectStdVolume" "!_temp!\c2rchk.txt"    && set loc_off16=1 
     findstr /I /C:"ProjectStdRetail" "!_temp!\c2rchk.txt"    && set loc_off16=1
    )
    
    >(
    findstr /I /C:"VisioProXVolume" "!_temp!\c2rchk.txt"    && set loc_off16=1 
     findstr /I /C:"VisioProXRetail" "!_temp!\c2rchk.txt"    && set loc_off16=1
    )
    
    >(
    findstr /I /C:"VisioStdXVolume" "!_temp!\c2rchk.txt"    && set loc_off16=1 
     findstr /I /C:"VisioStdXRetail" "!_temp!\c2rchk.txt"    && set loc_off16=1
    )
    
    >(
    findstr /I /C:"VisioProVolume" "!_temp!\c2rchk.txt"    && set loc_off16=1 
     findstr /I /C:"VisioProRetail" "!_temp!\c2rchk.txt"    && set loc_off16=1
    )
    
    >(
    findstr /I /C:"VisioStdVolume" "!_temp!\c2rchk.txt"    && set loc_off16=1 
     findstr /I /C:"VisioStdRetail" "!_temp!\c2rchk.txt"    && set loc_off16=1
    )
    
    >(
    findstr /I /C:"AccessVolume" "!_temp!\c2rchk.txt"    && set loc_off16=1 
     findstr /I /C:"AccessRetail" "!_temp!\c2rchk.txt"    && set loc_off16=1
    )
    
    >(
    findstr /I /C:"ExcelVolume" "!_temp!\c2rchk.txt"    && set loc_off16=1 
     findstr /I /C:"ExcelRetail" "!_temp!\c2rchk.txt"    && set loc_off16=1
    )
    
    >(
    findstr /I /C:"OneNoteVolume" "!_temp!\c2rchk.txt"    && set loc_off16=1 
     findstr /I /C:"OneNoteRetail" "!_temp!\c2rchk.txt"    && set loc_off16=1
    )
    
    >(
    findstr /I /C:"OutlookVolume" "!_temp!\c2rchk.txt"    && set loc_off16=1 
     findstr /I /C:"OutlookRetail" "!_temp!\c2rchk.txt"    && set loc_off16=1
    )
    
    >(
    findstr /I /C:"PowerPointVolume" "!_temp!\c2rchk.txt"    && set loc_off16=1 
     findstr /I /C:"PowerPointRetail" "!_temp!\c2rchk.txt"    && set loc_off16=1
    )
    
    >(
    findstr /I /C:"PublisherVolume" "!_temp!\c2rchk.txt"    && set loc_off16=1 
     findstr /I /C:"PublisherRetail" "!_temp!\c2rchk.txt"    && set loc_off16=1
    )
    
    >(
    findstr /I /C:"SkypeforBusinessVolume" "!_temp!\c2rchk.txt"    && set loc_off16=1 
     findstr /I /C:"SkypeforBusinessRetail" "!_temp!\c2rchk.txt"    && set loc_off16=1
    )
    
    >(
    findstr /I /C:"WordVolume" "!_temp!\c2rchk.txt"    && set loc_off16=1 
     findstr /I /C:"WordRetail" "!_temp!\c2rchk.txt"    && set loc_off16=1
    )
    
    >call :officeLoc 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    ProPlus2019Volume
    
    >call :RunSPP
    
    >set spp=SoftwareLicensingProduct
    
    >set sps=SoftwareLicensingService
    
    >set W1nd0ws=1
    
    >set WinPerm=0
    
    >set WinVL=0
    
    >set Off1ce=0
    
    >if 17763 GEQ 9200 if 1 NEQ 0 (call :sppoff )
    
    >set spp_off15=0  & set spp_off16=0  & set spp_off19=0
    
    >wmic path SoftwareLicensingProduct where (Description like '%KMSCLIENT%') get Name  1>"!_temp!\sppchk.txt" 2>&1
    
    >find /i "Office 15" "!_temp!\sppchk.txt"    && (set spp_off15=1 )
    
    ---------- C:\WINDOWS\TEMP\SPPCHK.TXT
    
    >find /i "Office 16" "!_temp!\sppchk.txt"    && (set spp_off16=1 )
    
    ---------- C:\WINDOWS\TEMP\SPPCHK.TXT
    
    >find /i "Office 19" "!_temp!\sppchk.txt"    && (set spp_off19=1 )
    
    ---------- C:\WINDOWS\TEMP\SPPCHK.TXT
    Office 19, Office19ProPlus2019XC2RVL_KMS_ClientC2R edition 
    Office 19, Office19ProPlus2019VL_KMS_Client_AE edition     
    
    >for %A in (15 16 19) do if !loc_off%A! EQU 0 set spp_off%A=0
    
    >if !loc_off15! EQU 0 set spp_off15=0
    
    >if !loc_off16! EQU 0 set spp_off16=0
    
    >if !loc_off19! EQU 0 set spp_off19=0
    
    >set loc_offgl=1
    
    >if 0 EQU 0 if 0 EQU 0 if 1 EQU 0 (set loc_offgl=0 )
    
    >if 1 EQU 1 set Off1ce=1
    
    >set spp_offgl=1
    
    >if 0 EQU 0 if 0 EQU 0 if 1 EQU 0 (set spp_offgl=0 )
    
    >if 1 EQU 0 (
    set Off1ce=0 
     if 1 EQU 0 (echo. & echo No Installed Office 2013/2016/2019 Product Detected... ) 
     if 1 EQU 1 (echo. & echo Detected Office 2013/2016/2019 do not support KMS activation...  & echo Retail Products need to be converted to Volume first. )
    )
    
    >exit /b
    
    >wmic path SoftwareLicensingProduct where (Description like '%KMSCLIENT%') get Name    | findstr /i Windows    && (set WinVL=1 )  || (echo. & echo Windows EnterpriseS edition do not support KMS activation... )
    Windows(R), EnterpriseS edition                             
    
    
    >if 1 EQU 0 if 1 EQU 0 exit /b
    
    >if 1 EQU 0 (
    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 
    )
    
    >wmic path SoftwareLicensingProduct where (Description like '%KMSCLIENT%' and PartialProductKey is not NULL) get Name    | findstr /i Windows    && (set gvlk=1 )  || (set gvlk=0 )
    Windows(R), EnterpriseS edition                         
    
    
    >set gpr=0
    
    >if 17763 GEQ 10240 if 1 NEQ 0 if 1 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"
    
    >set "gpr=256989
    "
    
    >if 256989 NEQ 0 if 256989 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    && (call 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.737
     
    
    >wmic path SoftwareLicensingService where version='10.0.17763.737' call SetKeyManagementServiceMachine MachineName="172.16.0.2" 
    Executing (\\DEVICE\root\cimv2:SoftwareLicensingService.Version="10.0.17763.737")->SetKeyManagementServiceMachine()
    
    Method execution successful.
    
    Out Parameters:
    instance of __PARAMETERS
    {
    };
    
    
    >wmic path SoftwareLicensingService where version='10.0.17763.737' call SetKeyManagementServicePort 1688 
    Executing (\\DEVICE\root\cimv2:SoftwareLicensingService.Version="10.0.17763.737")->SetKeyManagementServicePort()
    
    Method execution successful.
    
    Out Parameters:
    instance of __PARAMETERS
    {
    };
    
    
    >if 1 EQU 0 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 )
    
    >if 1 EQU 1 if 1 NEQ 0 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=32d2fab3-e4a8-42c2-923b-4bf4fd13e6ee
      & call :sppchkwin )
    
    >set office=0
    
    >if 17763 GEQ 14393 if 1 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='32d2fab3-e4a8-42c2-923b-4bf4fd13e6ee' get LicenseStatus    | findstr "1"    && (echo. & call :activate 32d2fab3-e4a8-42c2-923b-4bf4fd13e6ee  & exit /b )
    1             
    
    
    
    >wmic path SoftwareLicensingProduct where ID='32d2fab3-e4a8-42c2-923b-4bf4fd13e6ee' call ClearKeyManagementServiceMachine 
    Executing (\\DEVICE\root\cimv2:SoftwareLicensingProduct.ID="32d2fab3-e4a8-42c2-923b-4bf4fd13e6ee")->ClearKeyManagementServiceMachine()
    
    Method execution successful.
    
    Out Parameters:
    instance of __PARAMETERS
    {
    };
    
    
    >wmic path SoftwareLicensingProduct where ID='32d2fab3-e4a8-42c2-923b-4bf4fd13e6ee' call ClearKeyManagementServicePort 
    Executing (\\DEVICE\root\cimv2:SoftwareLicensingProduct.ID="32d2fab3-e4a8-42c2-923b-4bf4fd13e6ee")->ClearKeyManagementServicePort()
    
    Method execution successful.
    
    Out Parameters:
    instance of __PARAMETERS
    {
    };
    
    
    >if 1 EQU 0 if 0 EQU 0 if SoftwareLicensingService EQU SoftwareLicensingService (
    wmic path SoftwareLicensingProduct where ID='32d2fab3-e4a8-42c2-923b-4bf4fd13e6ee' call SetKeyManagementServiceMachine MachineName="127.0.0.2"   
     wmic path SoftwareLicensingProduct where ID='32d2fab3-e4a8-42c2-923b-4bf4fd13e6ee' call SetKeyManagementServicePort 1688   
     for /F "tokens=2 delims==" %x in ('"wmic path SoftwareLicensingProduct where ID='32d2fab3-e4a8-42c2-923b-4bf4fd13e6ee' 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='32d2fab3-e4a8-42c2-923b-4bf4fd13e6ee' get Name /VALUE"') do echo Activating: %x
    
    >echo Activating: Windows(R), EnterpriseS edition
     
    Activating: Windows(R), EnterpriseS edition
    
    
    >wmic path SoftwareLicensingProduct where ID='32d2fab3-e4a8-42c2-923b-4bf4fd13e6ee' call Activate 
    Executing (\\DEVICE\root\cimv2:SoftwareLicensingProduct.ID="32d2fab3-e4a8-42c2-923b-4bf4fd13e6ee")->Activate()
    
    ERROR:
    
    Description = Server execution failed
    
    
    >call set ERRORCODE=-2146959355
    
    >if -2146959355 NEQ 0 (
    if SoftwareLicensingService EQU SoftwareLicensingService (call :StopService sppsvc )  else (call :StopService osppsvc ) 
     wmic path SoftwareLicensingProduct where ID='32d2fab3-e4a8-42c2-923b-4bf4fd13e6ee' call Activate   
     call set ERRORCODE=!ERRORLEVEL!
    )
    
    >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
    Executing (\\DEVICE\root\cimv2:SoftwareLicensingProduct.ID="32d2fab3-e4a8-42c2-923b-4bf4fd13e6ee")->Activate()
    
    ERROR:
    
    Description = Server execution failed
    
    
    >if SoftwareLicensingService EQU SoftwareLicensingService wmic path SoftwareLicensingService where version='10.0.17763.737' call RefreshLicenseStatus 
    Executing (\\DEVICE\root\cimv2:SoftwareLicensingService.Version="10.0.17763.737")->RefreshLicenseStatus()
    
    Method execution successful.
    
    Out Parameters:
    instance of __PARAMETERS
    {
    };
    
    
    >for /F "tokens=2 delims==" %x in ('"wmic path SoftwareLicensingProduct where ID='32d2fab3-e4a8-42c2-923b-4bf4fd13e6ee' get GracePeriodRemaining /VALUE"') do (set gpr=%x  & set /a gpr2=%x/1440 )
    
    >(set gpr=256987
      & set /a gpr2=256987
    /1440 )
    
    >if 256987 EQU 43200 if 0 EQU 0 if 17763 GEQ 9200 (
    echo Product Activation Successful 
     echo Remaining Period: 30 days (256987 minutes) 
     exit /b
    )
    
    >if 256987 EQU 64800 (
    echo Product Activation Successful 
     echo Remaining Period: 45 days (256987 minutes) 
     exit /b
    )
    
    >if 256987 GTR 259200 if 0 EQU 1 (
    echo Product Activation Successful 
     echo Remaining Period: 178 days (256987 minutes) 
     exit /b
    )
    
    >if 256987 EQU 259200 (echo Product Activation Successful )  else (
    cmd /c exit /b -2146959355 
     echo Product Activation Failed: 0x!=ExitCode!
    )
    Product Activation Failed: 0x80080005
    
    >echo Remaining Period: 178 days (256987 minutes)
    Remaining Period: 178 days (256987 minutes)
    
    >exit /b
    
    >if 1 EQU 1 if 1 EQU 0 (echo. & echo Windows activation is OFF... )
    
    >if 1 EQU 1 if 1 NEQ 0 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>"!_temp!\sppchk.txt"
    
    >find /i "Office 15" "!_temp!\sppchk.txt"    && (if 0 EQU 0 exit /b )
    
    ---------- C:\WINDOWS\TEMP\SPPCHK.TXT
    
    >find /i "Office 16" "!_temp!\sppchk.txt"    && (if 0 EQU 0 exit /b )
    
    ---------- C:\WINDOWS\TEMP\SPPCHK.TXT
    
    >find /i "Office 19" "!_temp!\sppchk.txt"    && (if 1 EQU 0 exit /b )
    
    ---------- C:\WINDOWS\TEMP\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 :offchk19
    
    >if /I '0bc88885-718c-491d-921f-6f214349e79c' EQU '0bc88885-718c-491d-921f-6f214349e79c' exit /b
    
    >exit /b
    
    >(set app=85dd8b5f-eaa4-4af3-a628-cce9e77c9a03
      & call :sppchkoff )
    
    >wmic path SoftwareLicensingProduct where ID='85dd8b5f-eaa4-4af3-a628-cce9e77c9a03' get Name  1>"!_temp!\sppchk.txt"
    
    >find /i "Office 15" "!_temp!\sppchk.txt"    && (if 0 EQU 0 exit /b )
    
    ---------- C:\WINDOWS\TEMP\SPPCHK.TXT
    
    >find /i "Office 16" "!_temp!\sppchk.txt"    && (if 0 EQU 0 exit /b )
    
    ---------- C:\WINDOWS\TEMP\SPPCHK.TXT
    
    >find /i "Office 19" "!_temp!\sppchk.txt"    && (if 1 EQU 0 exit /b )
    
    ---------- C:\WINDOWS\TEMP\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 (\\DEVICE\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 (\\DEVICE\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 (\\DEVICE\root\cimv2:SoftwareLicensingProduct.ID="85dd8b5f-eaa4-4af3-a628-cce9e77c9a03")->Activate()
    
    ERROR:
    
    Description = Server execution failed
    
    
    >call set ERRORCODE=-2146959355
    
    >if -2146959355 NEQ 0 (
    if SoftwareLicensingService EQU SoftwareLicensingService (call :StopService sppsvc )  else (call :StopService osppsvc ) 
     wmic path SoftwareLicensingProduct where ID='85dd8b5f-eaa4-4af3-a628-cce9e77c9a03' call Activate   
     call set ERRORCODE=!ERRORLEVEL!
    )
    
    >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
    Executing (\\DEVICE\root\cimv2:SoftwareLicensingProduct.ID="85dd8b5f-eaa4-4af3-a628-cce9e77c9a03")->Activate()
    
    ERROR:
    
    Description = Server execution failed
    
    
    >if SoftwareLicensingService EQU SoftwareLicensingService wmic path SoftwareLicensingService where version='10.0.17763.737' call RefreshLicenseStatus 
    Executing (\\DEVICE\root\cimv2:SoftwareLicensingService.Version="10.0.17763.737")->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=41953
      & set /a gpr2=41953
    /1440 )
    
    >if 41953 EQU 43200 if 1 EQU 0 if 17763 GEQ 9200 (
    echo Product Activation Successful 
     echo Remaining Period: 30 days (41953 minutes) 
     exit /b
    )
    
    >if 41953 EQU 64800 (
    echo Product Activation Successful 
     echo Remaining Period: 45 days (41953 minutes) 
     exit /b
    )
    
    >if 41953 GTR 259200 if 0 EQU 1 (
    echo Product Activation Successful 
     echo Remaining Period: 29 days (41953 minutes) 
     exit /b
    )
    
    >if 41953 EQU 259200 (echo Product Activation Successful )  else (
    cmd /c exit /b -2146959355 
     echo Product Activation Failed: 0x!=ExitCode!
    )
    Product Activation Failed: 0x80080005
    
    >echo Remaining Period: 29 days (41953 minutes)
    Remaining Period: 29 days (41953 minutes)
    
    >exit /b
    
    >if 1 EQU 0 (
    call :cKMS   
     call :cREG 
    )  else (
    wmic path SoftwareLicensingService where version='10.0.17763.737' call DisableKeyManagementServiceDnsPublishing 0   
     wmic path SoftwareLicensingService where version='10.0.17763.737' call DisableKeyManagementServiceHostCaching 0 
    )
    Executing (\\DEVICE\root\cimv2:SoftwareLicensingService.Version="10.0.17763.737")->DisableKeyManagementServiceDnsPublishing()
    
    Method execution successful.
    
    Out Parameters:
    instance of __PARAMETERS
    {
    };
    
    Executing (\\DEVICE\root\cimv2:SoftwareLicensingService.Version="10.0.17763.737")->DisableKeyManagementServiceHostCaching()
    
    Method execution successful.
    
    Out Parameters:
    instance of __PARAMETERS
    {
    };
    
    
    >exit /b
    
    >if 1 NEQ 0 call :RunOSPP
    
    >set spp=OfficeSoftwareProtectionProduct
    
    >set sps=OfficeSoftwareProtectionService
    
    >if 17763 LSS 9200 (set "aword=2010/2013/2016/2019" )  else (set "aword=2010" )
    
    >if 0 EQU 0 (echo. & echo No Installed Office 2010 Product Detected...  & exit /b )
    
    No Installed Office 2010 Product Detected...
    
    >if 1 EQU 0 (echo. & echo Office activation is OFF... )
    
    >if exist "!_temp!\*chk.txt" del /f /q "!_temp!\*chk.txt"
    
    >if exist "!_temp!\slmgr.vbs" del /f /q "!_temp!\slmgr.vbs"
    
    >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 1 EQU 0 call :RemoveHook
    
    >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         : 0x1
            WAIT_HINT          : 0x4e20
            PID                : 3912
            FLAGS              :
    
    >echo.
    
    
    >goto :TheEnd
    
    >echo.
    
    
    >if 0 EQU 0 echo Press any key to exit.
    Press any key to exit.
    
    >goto :eof
    
     
  4. abbodi1406

    abbodi1406 MDL KB0000001

    Feb 19, 2011
    16,198
    84,775
    340
    @gsadfawe4

    Is your system heavily tweaked? or some important services disabled?
    do you have other firewall program?

    if AutoRenewal is installed, try to use slmgr.vbs to activate
    Code:
    cscript /nologo %windir%\system32\slmgr.vbs -ato
    if a reboot did not fix the issue, i'm afraid i don't have a solution for this error
    maybe try online KMS server
     
  5. hknhkn

    hknhkn MDL Novice

    Sep 24, 2019
    1
    0
    0
    Hello, I found this thread looking for a way to install Office 2019 Pro Plus on Windows 8.1
    I went thru the process and selected the Clicktorun option but it doesn't seem to be working for me. start_setup.cmd file is present, which when I run, asks for admin privileges and once granted, exits. I checked the ClicktoRun folder, it has around 88MB of stuff. Any help is appreciated.

    Thanks
     
  6. abbodi1406

    abbodi1406 MDL KB0000001

    Feb 19, 2011
    16,198
    84,775
    340
    What is the path for start_setup.cmd?
    use simple path without spaces
     
  7. ratzlefatz

    ratzlefatz MDL FUBAR Recon Squad

    Sep 1, 2012
    1,379
    5,000
    60
    @hknhkn :
    If user- and/or path-name contains special characters
    such as brackets (), equal sign = or ampersand & or
    similiar, then it won't work. It's a powershell/command
    prompt restriction in batches.
     
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
  8. aquarius84

    aquarius84 MDL Member

    Oct 3, 2012
    202
    61
    10
    excuse me but i'm a bit confused about 2016-2019 releases...

    with Office 2019 what i do is:
    - use YOUCTRU to download the latest monthly
    - install 2019 with my edited xml
    - use C2R-Retail2Volume
    - activate with KMS_VL_ALL_35
    and that's all ok

    for Office 2016??
    because as I read here you use 2016/2019 version number as it is the same product (that's my confusion)
    is there a way to download the x86-x64 full source like 2019?
    i tried also OfficeRTool but again it says "2019" to download...
     
  9. abbodi1406

    abbodi1406 MDL KB0000001

    Feb 19, 2011
    16,198
    84,775
    340
    Office 2019 = Office 2016 (same files, version) + some new features (controlled by product licenses)

    if you don't have genuine Office 2016 activation key, then Office 2019 is recommended
    if you are on Windows 7 or 8.1, then Office 2016 is good enough
     
  10. gerardv514

    gerardv514 MDL Novice

    Nov 22, 2014
    29
    0
    0
    I have Office 2016 installed and is activated. Should I not bother upgrading to Office 2019 if they are the same? In the past I've used MS Toolkit 2.6 beta 5 to activate. I have recently uninstalled that (since it wasn't working due to windows security) and used the KMS_VL_ALL going forward. Will 2016 be converted to 2019 using the new KMS?
     
  11. abbodi1406

    abbodi1406 MDL KB0000001

    Feb 19, 2011
    16,198
    84,775
    340
    Yes
    do you have MSI or C2R?

    if you have C2R and it's updated recent version, then better keep it

    all tools here download Office C2R (or generate links) from officecdn.microsoft.com
     
  12. gerardv514

    gerardv514 MDL Novice

    Nov 22, 2014
    29
    0
    0
    It’s the msi, it was an iso download
     
  13. Sajjo

    Sajjo MDL Member

    Feb 6, 2018
    2,245
    3,258
    90
    @gerardv514
    Office 2016 MSI -> Office 2019 C2R = :nono2:
    Uninstall MSI version and reinstall with C2R version
     
  14. gerardv514

    gerardv514 MDL Novice

    Nov 22, 2014
    29
    0
    0
    Got it thanks guys. I’ve been reading about scrubbers and stuff would a windows uninstall from add/remove programs be sufficient enough to make sure all is removed?

    With the C2R version do they have just a home & business version that can be activated with KMS_VL_ALL? Or is it just professional the professional plus version? Not sure if home & business has a VL license. Ultimately I’d like to try and install only what I need
     
  15. abbodi1406

    abbodi1406 MDL KB0000001

    Feb 19, 2011
    16,198
    84,775
    340
    C2R have more than 30 volume SKU

    home & business don't have VL license, but Standard is close enough