Errore 0x8024D001 in Windows Update su XP SP3

Scenario: Macchina virtuale appena installata con Windows XP SP3 32 bit.

Issue: avviando Windows Update viene restituito l’errore 0x8024D001

image

Analizzando il log di Windows Update (%windir%\WindowsUpdate.log) il problema è dovuto al fatto che il Windows Update Agent non è l’ultimo disponibile (versione 7.6.7600.256) e non viene aggiornato automaticamente.

Required Version for binary C:\WINDOWS\system32\cdm.dll is: 7,6,7600,256
Binary: C:\WINDOWS\system32\cdm.dll: Target version: 7.4.7600.226 Required: 7.6.7600.256
Required Version for binary C:\WINDOWS\system32\wuapi.dll is: 7,6,7600,256
Binary: C:\WINDOWS\system32\wuapi.dll: Target version: 7.4.7600.226 Required: 7.6.7600.256
Required Version for binary C:\WINDOWS\system32\wuauclt.exe is: 7,6,7600,256
Binary: C:\WINDOWS\system32\wuauclt.exe: Target version: 7.4.7600.226 Required: 7.6.7600.256
Required Version for binary C:\WINDOWS\system32\wuaucpl.cpl is: 7,6,7600,256
Binary: C:\WINDOWS\system32\wuaucpl.cpl: Target version: 7.4.7600.226 Required: 7.6.7600.256
Required Version for binary C:\WINDOWS\system32\wuaueng.dll is: 7,6,7600,256
Binary: C:\WINDOWS\system32\wuaueng.dll: Target version: 7.4.7600.226 Required: 7.6.7600.256
Required Version for binary C:\WINDOWS\system32\wucltui.dll is: 7,6,7600,256
Binary: C:\WINDOWS\system32\wucltui.dll: Target version: 7.4.7600.226 Required: 7.6.7600.256
Required Version for binary C:\WINDOWS\system32\wups.dll is: 7,6,7600,256
Binary: C:\WINDOWS\system32\wups.dll: Target version: 7.4.7600.226 Required: 7.6.7600.256
Required Version for binary C:\WINDOWS\system32\wups2.dll is: 7,6,7600,256
Binary: C:\WINDOWS\system32\wups2.dll: Target version: 7.4.7600.226 Required: 7.6.7600.256
Section name syntax Only @<file-name> is supported
CheckIfClientUpdateNeeded failed: error 0x8024d001

Per risolvere il problema dopo diversi tentativi ho utilizzato la seguente procedura:

Passo 1: Verificare che gli aggiornamenti automatici siano attivati da Pannello di Controllo.

Passo 2: Assicurarsi che il sistema acceda ad Internet non tramite un proxy (ho verificato che a volte tramite un proxy il Windows Update Agent non riesce ad auto aggiornarsi)

Passo 3: Installare il Windows Update Agent versione 7.4.7600.226 disponibile tramite la KB 946928 (come riportato nella KB non è disponibile il setup dell’ultima versione del Windows Update Agent ovvero la 7.6.7600.256, ma questa è disponibile solo tramite Windows Update).

Passo 4: Registrare la wups2.dll tramite la Microsoft Fix it 50597 disponibile nella KB 943144 (Metodo 2).

Passo 5: Riavviare il computer.

Passo 6: Installare Internet Explorer 8 disponibile al seguente Download Internet Explorer 8.

Passo 7: Eseguire la Microsoft Fix it 50777 disponibile nella KB 2497281.

Passo 8: Eseguire il clear della cache di Windows Update tramite i seguenti comandi:

net stop wuauserv
net stop bits
rmdir /S /Q %windir%\softwaredistribution
net start wuauserv
net start bits
wuauclt /detectnow

Passo 8: Verificare che il Windows Update Agent venga aggiornato alla versione 7.6.7600.256 tramite il log di Windows Update (%windir%\WindowsUpdate.log):

1048 aa4 Service *************
1048 aa4 Service ** START ** Service: Service startup
1048 aa4 Service *********
1048 aa4 Misc Registering binary: C:\WINDOWS\system32\regsvr32.exe /s “C:\WINDOWS\system32\SoftwareDistribution\Setup\ServiceStartup\wups.dll\7.6.7600.256\wups.dll”
1048 aa4 Misc Registering binary: C:\WINDOWS\system32\regsvr32.exe /s “C:\WINDOWS\system32\SoftwareDistribution\Setup\ServiceStartup\wups2.dll\7.6.7600.256\wups2.dll”
1048 aa4 Agent * WU client version 7.6.7600.256
1048 aa4 Agent * Base directory: C:\WINDOWS\SoftwareDistribution
1048 aa4 Agent * Access type: No proxy
1048 aa4 Agent * Network state: Connected

Una volta aggiornato il Windows Update Agent è possibile aggiornare il sistema tramite Windows Update o tramite la nuova console Microsoft Update anche utilizzando un eventuale proxy.