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

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

Postby rbr555 » 22.02.2016, 13:15

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
rbr555
 
Posts: 22
Joined: 04.01.2013, 12:00

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

Postby boco » 22.02.2016, 20:49

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.
Microsoft update catalog: http://catalog.update.microsoft.com/v7/site/
Windows Install media download: https://support.microsoft.com/en-us/help/15088/windows-create-installation-media
boco
 
Posts: 2391
Joined: 24.11.2009, 17:00
Location: Germany

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

Postby rbr555 » 23.02.2016, 08:51

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?
rbr555
 
Posts: 22
Joined: 04.01.2013, 12:00

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

Postby aker » 23.02.2016, 10:17

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
Wer Rechtschreibfehler findet, darf sie behalten oder an den Meistbietenden versteigern. / Everybody finding a misspelling is allowed to keep or sell it.
aker

WSUS Offline Update „Community Edition“
https://gitlab.com/wsusoffline/wsusoffline/-/releases
aker
 
Posts: 3999
Joined: 02.03.2011, 15:32

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

Postby WSUSUpdateAdmin » 25.02.2016, 21:28

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
WSUSUpdateAdmin
Administrator
 
Posts: 2245
Joined: 07.07.2009, 14:38

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

Postby aker » 25.02.2016, 21:46

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
Wer Rechtschreibfehler findet, darf sie behalten oder an den Meistbietenden versteigern. / Everybody finding a misspelling is allowed to keep or sell it.
aker

WSUS Offline Update „Community Edition“
https://gitlab.com/wsusoffline/wsusoffline/-/releases
aker
 
Posts: 3999
Joined: 02.03.2011, 15:32

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

Postby boco » 28.02.2016, 23:58

aker hat bereits die Lösung gepostet. Soweit ich weiß, ist expand.exe auf allen unterstützten OS bereits dabei.
Microsoft update catalog: http://catalog.update.microsoft.com/v7/site/
Windows Install media download: https://support.microsoft.com/en-us/help/15088/windows-create-installation-media
boco
 
Posts: 2391
Joined: 24.11.2009, 17:00
Location: Germany

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

Postby aker » 29.02.2016, 10:13

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
Wer Rechtschreibfehler findet, darf sie behalten oder an den Meistbietenden versteigern. / Everybody finding a misspelling is allowed to keep or sell it.
aker

WSUS Offline Update „Community Edition“
https://gitlab.com/wsusoffline/wsusoffline/-/releases
aker
 
Posts: 3999
Joined: 02.03.2011, 15:32

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

Postby boco » 29.02.2016, 12:43

: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...
Microsoft update catalog: http://catalog.update.microsoft.com/v7/site/
Windows Install media download: https://support.microsoft.com/en-us/help/15088/windows-create-installation-media
boco
 
Posts: 2391
Joined: 24.11.2009, 17:00
Location: Germany

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

Postby WSUSUpdateAdmin » 29.02.2016, 15:49

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
WSUSUpdateAdmin
Administrator
 
Posts: 2245
Joined: 07.07.2009, 14:38


Return to Installation / Updating

Who is online

Users browsing this forum: No registered users and 197 guests

cron