I have the same issue. Even tried to use another version of Office and didn't help. Same error. Microsoft is blaming the user for the error by telling them how to fix it instead of admitting that they have the problem in deployment of this update.. The fix for the user doesn't fix anything. So Microsoft has to fix it on their end..
It continues to show that updates are ready for download, however, when attempting that function the 30088-28 error appears. I have the C2R and would think that it should be updated that way via Windows Update function. Still it shows up and won't update. This is now the dog food version I am attempting to update..
Ok. This is a great tool, and I've used it multiple times in the past. ratzlefatz, if you see this by any chance, thank you for creating this. But something weird is happening today. I've just installed windows 10 pro v 1903, and after activating that and restarting, I disabled smartscreen, added exceptions to the folder with OfficeRtool, disabled Realtime protection and tamper protection. OfficeRtool just doesn't seem to work for me. If I don't run as admin, I get "Requesting Administrative Privileges... Press YES in UAC Prompt to Continue" before the UAC prompt comes, and then the window closes a split second after clicking yes. Running as admin also causes the window to close a split second after it opens. I've tried both the June 8th 2019 version (I've used this on the same laptop in the past, but not on windows 10 v. 1903) and the August 3th 2019 version, both have the same behavior. Any help would be appreciated.
This was the problem. I had my tools in Code: unimportant_part/ms-tools(pw=2019)/ I didn't know that brackets and equal signs were problematic. Thank you very much
No separate thread. Everything is discussed here: https://forums.mydigitallife.net/threads/75232/ WOTOK v2019.08.06.01 autoit WOTOK v2019.06.12.01 cmd
Hello, I insered a MAK key of Office 2019 Pro and the Office has been activated without asking me the installation ID (Activation by phone ) , is there a way to find out the Installation ID and CID ?
Hi, i've installed Office 365 ProfessionalPlus with Visio and Project using OfficeRTool2019August03, converted it from Retail to Volume and then i activated with the internal KMS option. My problem is, that i get many Security-SPP 8233 warnings in the Eventviewer related to the AppId = 0ff1ce15-a989-479d-af46-f275c6370663 and different Skuids. The Triggers of these warnings are changing from: Trigger=NetworkQuarantineRetry, Trigger=UserLogon(2), Trigger=NetworkAvailable, Trigger=NetworkAvailable and Trigger=TimerEvent. The Reason for all warnings is: 0xC004F074. I hope, that somebody can help me.
With latest Monthly Office 365 update 1908, when Retail-to-VL converted & activated by KMS server, it does not work simultaneously working on Excel files stored in OneDrive. First person opens online, second person opens in application & gets Read-Only As soon as KMS licence files are removed & activated by login to O365 this functionality is back sebus
curse!! Suddenly the M $ Office C2R 2016 that I have always used has totally changed its graphical interface and with a lot of new features and of course everything connected to M $ FT; so I uninstalled and installed the Home / Student 2019 version and after a few hours the same thing happened again then I uninstalled this version I used Officescrubber, restarted the machine and installed the 2010 version !!! will I have to use the 2003 version (which is possible because I tested on the 10240 version of Windows 10 in 2015 or go to LibreOffice...
^^ 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
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
@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
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
@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.