Sei sulla pagina 1di 6

Aggiornamenti Windows 7, la ricerca infinita

In questi giorni ci sono arrivate le segnalazioni di molti utenti ai quali risultava impossibile
installare gli aggiornamenti di Windows 7.
Gli utenti hanno riferito di una snervante ed infruttuosa ricerca infinita da parte di Windows Update
che non portava mai al risultato sperato. Aprendo la finestra di Windows Update in Windows 7,
appariva sempre il messaggio Ricerca di aggiornamenti in corso senza che venisse proposto alcun
update.
Abbiamo provato ad analizzare uno dei sistemi sui quali era impossibile reperire e installare gli
aggiornamenti di Windows 7.
I suggerimenti presentati nell'articolo , generalmente risolutivi, non hanno permesso di correggere
la situazione e neppure l'utilizzo dell'ottimo tool System Update Readiness Tool, che di solito aiuta
a sanare anche situazioni piuttosto complesse, ha permesso di trovare il bandolo della matassa.
L'analisi del contenuto del file di log di Windows Update (%windir%\windowsupdate.log)
solitamente pone sulla strada giusta.
Questa volta, per, il messaggio che appariva nel file di registro di Windows Update (attempted to
add url when file has not been previously added to the datastore) non offriva alcun appiglio utile.

Come fare, allora, per ripristinare gli aggiornamenti di Windows 7 nel caso in cui la ricerca
dovesse apparire "infinita"?

Aggiornamenti Windows 7, come "risvegliare" Windows Update


Abbiamo rilevato che il comportamento anomalo di Windows Update sembra presentarsi in
particolare su quei sistemi che non sono stati (erroneamente) aggiornati da un po di tempo.

Per riparare Windows Update e sbloccare l'aggiornamento di Windows 7 (la stessa procedura
dovrebbe funzionare anche con Windows 8.1) si potr:
1) Scaricare l'ultima versione dell'utilit gratuita WSUS Offline Update da questa pagina.
Per procedere, necessario cliccare sul numero di versione presente nel box Most recent version.

2) WSUS Offline Update provveder a verificare lo stato del sistema Windows in uso e a scaricare
tutti gli aggiornamenti che l'utente non ha applicato in precedenza.
Prima di procedere, per, l'utilit si fa carico di aggiornare all'ultima versione tutti i componenti che
governano il funzionamento di Windows Update. Questo passaggio contribuisce gi di per s a
risolvere gran parte delle problematiche.
Dopo aver scaricato WSUS Offline Update si dovr estrarre tutto il contenuto del suo archivio
compresso in una cartella su disco fisso o unit SSD (ad esempio c:\wsusoffline.

3) Cliccando due volte su UpdateGenerator, si avvier il pannello di configurazione di WSUS


Offline Update.

Nel caso di Windows 7 o di Windows Server 2008 R2, baster selezionare una delle due caselle
evidenziate in figura con una freccia rossa a seconda che, rispettivamente, si stia aggiornando un
sistema a 32 o 64 bit.
Le altre impostazioni possono essere lasciate invariate, cos come in figura.
Facendo clic sul pulsante Start in basso a sinistra, WSUS Offline Update avvier la procedura di
download e di installazione dei componenti software preparatori nonch il prelevamento dei file di
aggiornamento necessari.

La procedura richieder diverso tempo prima di essere conclusa ma, al termine, non si avr pi
neppure bisogno della connessione di rete perch tutti i file necessari per l'aggiornamento del
sistema saranno stati scaricati in locale.
4) Dopo aver chiuso la finestra di UpdateGenerator, ci si dovr portare nella cartella
c:\wsusoffline\client quindi fare doppio clic su UpdateInstaller.

L'eseguibile UpdateInstaller consentir di installare tutti gli aggiornamenti necessari per adeguare il
sistema Windows (la procedura effettuabile offline quindi senza disporre della connessione
Internet).
5) Riavviando il sistema, Windows Update torner a funzionare. Utilizzandolo, si potranno cos
installare eventualmente gli aggiornamenti rimasti (ad esempio quelli per il framework .Net) cos
come quelli considerati meno importanti.
Validity/Coverage
Valid as of: May 2016 (2016-05-10)
Valid until (presumably): Jun 2016 (2016-06-14)
This HowTo is valid for Win7 SP1 and Vista SP2, which have been newly installed or
haven't been updated for some time. It should also help on systems that were up-todate last month - just install the missing updates from the list below in this case.
These instructions were only tested on Win7 SP1. However, the list of updates should
speed up the search for updates on Vista SP2, too.
Solution to the issue
The term "solution" might be a little bit exaggerated, since the following HowTo only
tries to make sure that the Update Agent doesn't need to check all updates, so the
check for new updates is done faster. Futhermore, it's only a temporary solution; most
likely the issue will appear again with the next Patchday.
Install the following updates BEFORE letting Windows search for updates, to avoid this
very search taking "forever":

Win7
x64

KB

Win7
x86

Vista
x64

Vista
x86

KB3153199

Downloa Downloa Downloa Downloa


d
d
d
d

KB3145739

Downloa Downloa Downloa Downloa


d
d
d
d

KB3078601, "loyal" companion since August Downloa Downloa Downloa Downloa


2015
d
d
d
d
KB3087039

Downloa Downloa Downloa Downloa


d
d
d
d

KB3109094

Downloa Downloa Downloa Downloa


d
d
d
d

On newly installed Win7 SP1 systems it's not really necessary to install the updates
from the list above; it's sufficient to install any of the current Windows Update Clients
(December 2015 or later) from the table below. But since the updates from the list will
be installed automatically anyway, it doesn't matter if they're installed manually
beforehand.
To reduce memory and CPU usage while searching for updates, the following updates
should be installed as well:

Windows Update Client


It's sufficient to install one of these packages:
KB

Win7 x64

Win7 x86 Win8.1 x64 Win8.1 x86

KB3075851 August 2015

Download

Download

KB3083324 September 2015

Download

Download

KB3083710 October 2015

Download

Download

KB3112343 December 2015

Download

Download

KB3135445 February 2016

Download

Download

KB3138612 March 2016

Download

Download

KB3138615 March 2016

Download

Download

Every one of them reduces the Update Agent's memory usage (having a good
effect, especially on systems with less RAM).

The following update is (most likely) not required if the Windows Update Client
of December 2015 or later is already installed:
KB3102810, reduces Update Agent's CPU load.

Steps to take after Windows installation

Disable Automatic Updates:


Start > Control Panel > System and Security > Windows Update > Change
settings > "Never check for updates"

(Optional) Stop "Windows Update" service: Open Windows Task Manager > Tab
"Services" > Right-click on "wuauserv" > Stop service

Download the updates mentioned above and install them via WUSA on a CMD
shell (as Administrator):
"%SystemRoot%\system32\wusa.exe" "C:\full\path\to\Update.msu" /quiet
/norestart

Tip: Use the TAB key to let the system complete the directory and file names, to
avoid typing errors.

Reboot the system.

Now let Windows search for updates, which should be finished in less than 15
minutes.

Re-enable automatic updates as needed (see step to disable them, but select
one of the options to check for updates automatically now), and install the
remaining updates as usual.

Some automation
To ease the pain of installing multiple systems you can use e.g. this script. Put the
script and all updates in the same directory - a USB flash drive or network share may
be a good place. The script determines the Windows version (Vista or Win7), its
architecture (32 or 64 bit) and so on. It makes use of the command given above. Just
double-click the script - after you've disabled automatic updates (see above) - and it
installs all required updates automatically, including the latest Windows Update Agent
(if present). Reboot the system after the script is finished, and you're done. Re-enable
automatic updates as needed.
If you intend to install Windows Updates on a whole network of systems, it's probably
better to use some dedicated solution for this, e.g. WSUS Offline Update, which
already installs the prerequisites in current releases.
Misc
Thanks to T. Wittrock, author of WSUS Offline Update, Denniss and the community.
Regards
Dalai

Potrebbero piacerti anche