Page 1 of 1

10.5 Warning: Installation of .. failed (errorlevel: 1058)

PostPosted: 22.02.2016, 13:15
by rbr555
Hello,

if I running 10.5 on 'old' Windows 7 (more than 100 missing updates) I got

Warning: Installation of ..\w61-x64\glb\Windows6.1-KB2506014-x64.msu failed (errorlevel: 1058 )
I install Windows6.1-KB2506014-x64.msu manually, did not help

Code: Select all
19.02.2016 13:11:59,00 - Info: Stopped service 'Windows Update' (wuauserv)
19.02.2016 13:11:59,00 - Info: Disabled service 'Windows Update' (wuauserv)
19.02.2016 13:12:06,40 - Info: Installed ..\w61-x64\glb\windows6.1-kb2532531-x64_4625e47e04e8708b66895de5439ec7221cccd41b.cab
19.02.2016 13:12:07,93 - Warning: Installation of ..\w61-x64\glb\Windows6.1-KB2506014-x64.msu  failed (errorlevel: 1058 )
19.02.2016 13:12:08,46 - Warning: Installation of ..\w61-x64\glb\Windows6.1-KB2791765-x64.msu  failed (errorlevel: 1058 )
19.02.2016 13:12:08,85 - Warning: Installation of ..\w61-x64\glb\Windows6.1-KB2799926-x64.msu  failed (errorlevel: 1058 )


I changed DoUpdate.cmd

Code: Select all
echo Disabling service 'Windows Update' (wuauserv) - previous state will be recovered later...
REM %SC_PATH% config wuauserv start= disabled >nul 2>&1
REM if errorlevel 1 (
REM   echo %DATE% %TIME% - Warning: Disabling of service 'Windows Update' ^(wuauserv^) failed>>%UPDATE_LOGFILE%
REM ) else (
REM   set WUSVC_DISABLED=1
REM   echo %DATE% %TIME% - Info: Disabled service 'Windows Update' ^(wuauserv^)>>%UPDATE_LOGFILE%
REM )


This solve the issue

Code: Select all
19.02.2016 21:51:59,36 - Info: Stopped service 'Windows Update' (wuauserv)
19.02.2016 21:52:13,10 - Info: Installed ..\w61-x64\glb\Windows6.1-KB2791765-x64.msu
19.02.2016 21:52:20,01 - Info: Installed ..\w61-x64\glb\Windows6.1-KB2799926-x64.msu


It is really necessary to deactivate the wuauserv?

Kind regards

Re: 10.5 Warning: Installation of .. failed (errorlevel: 105

PostPosted: 22.02.2016, 20:49
by boco
Looks like we have found the culprit. The MSU installations seem to require the Windows Update service. That's also the reason why it didn't stay shut down earlier (previously, the WU service was shut down, re-enabled almost immediately).
@WSUSOUAdmin: Could we install the MSUs first, then disable the service, then install the CABs? CABs are still the great majority of updates.

To your question: Yes, unfortunately, on many, especially older, systems, the WU service starts to draw all the resources (CPU and memory) from the system, making WSUSOU installations very slow and cause even failure.

Re: 10.5 Warning: Installation of .. failed (errorlevel: 105

PostPosted: 23.02.2016, 08:51
by rbr555
Hello,

many of my msu files are from \wsusoffline\client\static\custom\StaticUpdateIds-w61-x64.txt

e.g.
https://support.microsoft.com/de-de/kb/2970228

.\w61-x64\glb\Windows6.1-KB2970228-x64.msu

It is possible to extract the cab files before?

Re: 10.5 Warning: Installation of .. failed (errorlevel: 105

PostPosted: 23.02.2016, 10:17
by aker
Sure, just use an unpacker like 7z.exe or expand.exe.
Code: Select all
expand ...\Windows6.1-KB#######-x64.msu /f:Windows6.1-KB#######-x64.cab %temp%
dism /online /add-package /packagepath:%temp%\Windows6.1-KB#######-x64.cab

Re: 10.5 Warning: Installation of .. failed (errorlevel: 105

PostPosted: 25.02.2016, 21:28
by WSUSUpdateAdmin
Moin!

Da hab' ich mich "breitschlagen" lassen zur Deaktivierung des Dienstes, obwohl ich das nie wollte (vgl. viewtopic.php?f=2&t=5343 und viewtopic.php?f=12&t=5365)... :x

Vielleicht sollte ich das einfach wieder herausoperieren, bevor ich anfange, nach .cab und .msu zu sortieren.
:? :?:

GT

Re: 10.5 Warning: Installation of .. failed (errorlevel: 105

PostPosted: 25.02.2016, 21:46
by aker
Dann wäre NoAutoRebootWithLoggedOnUsers die einfachste Version, dann kann man problemfrei die WU-Meldung ignorieren.

Da das zweite verlinkte Thema so nicht lesbar ist, hier eine Kurzzusammenfassung: es ging um den Updater-Dienst und wie man mit den Ressourcen-Verwendung dessen umgehen soll. Es wurden Vorschläge wie "NoAutoRebootWithLoggedOnUsers" (verhindert nur den Neustart) oder Deaktivieren des Dienstes (verhindert zusätzlich die ewige Update-Suche) vorgeschlagen.

Viele Grüße

Re: 10.5 Warning: Installation of .. failed (errorlevel: 105

PostPosted: 28.02.2016, 23:58
by boco
aker hat bereits die Lösung gepostet. Soweit ich weiß, ist expand.exe auf allen unterstützten OS bereits dabei.

Re: 10.5 Warning: Installation of .. failed (errorlevel: 105

PostPosted: 29.02.2016, 10:13
by aker
Kann aber durchaus auch schiefgehen, da es manche MSU-Pakete gibt, welche mehrere Sub-Pakete enthalten, welche in einer Datei PkgInstallOrder.txt (kann auch PackageInstallOrder.txt sein, bin mir da gerade nicht sicher) in der MSU definiert sind.

Viele Grüße

Re: 10.5 Warning: Installation of .. failed (errorlevel: 105

PostPosted: 29.02.2016, 12:43
by boco
:x Wenn die Winzigweichler ihren Job richtig machen würden, müßten wir diesen Firlefanz hier gar nicht veranstalten.

Vielleicht sollten wir untersuchen, ob die Installation mit WUSA oder PKGMGR zum Erfolg führen könnte...

Re: 10.5 Warning: Installation of .. failed (errorlevel: 105

PostPosted: 29.02.2016, 15:49
by WSUSUpdateAdmin
Moin!

aker wrote:Dann wäre NoAutoRebootWithLoggedOnUsers die einfachste Version, dann kann man problemfrei die WU-Meldung ignorieren.

Ja, probieren wir das doch mal. ;)
Ist jetzt eingebaut in r745.

boco wrote::x Wenn die Winzigweichler ihren Job richtig machen würden, müßten wir diesen Firlefanz hier gar nicht veranstalten.

Da ist was dran... :)

boco wrote:Vielleicht sollten wir untersuchen, ob die Installation mit WUSA oder PKGMGR zum Erfolg führen könnte...

InstallOSUpdate.cmd verwendet WUSA für MSUs:
Code: Select all
:InstMsu
echo Installing %1...
%SystemRoot%\System32\wusa.exe %1 /quiet /norestart


Gruß
Torsten