|
Sometimes some Windows Update errors are caused
by a bad installation or a corruption of the core services. We are going to
describe them and how to repair them.
The core services, fundamental for the good
running of Windows Update are three:
- BITS, or Background
Intelligent Transference Service
- AUTOMATIC UPDATES
- CRYPTOGRAPHIC SERVICES
The internal names fore Windows are,
respectively, bits, wuauserv, cryptsvc. Let us review
them.
Automatic Updates This service is automatically related to
download and installation of updates from Windows Update.
This service has to be Started and set as Automatic.
To see this, go to Start > Run and type in services.msc. We have to look for this service and right click on
it and choose "Properties". There we will be able to see its
properties and to change them if needed.
This service can be installed as follows: Start
> Run and type in (percentages included)
%systemroot%\inf
Locate a file named au.inf, right click on it and choose "Install". XP CD may
be needed. When done we may have to register this dll's. To do this, Start >
Run and type in the following lines and hit Enter key after each one:
regsvr32 wuapi.dll regsvr32 wups.dll regsvr32 wuaueng.dll regsvr32 wuaueng1.dll regsvr32 wuauserv.dll regsvr32 wucltui.dll regsvr32 wuweb.dll
These dll files can be registered in an automatic way by downloading and clicking twice on this file.
Next, reboot Windows.
BITS
BITS is a transference service, but doing this
in the background. It suspends the transference if the user logoff or
interrupts the connection. When restarted it (session or connection), it starts
where it stopped. The transference is asynchronous and it uses the idle
bandwidth.
This service has to be as Manual and set as non started.
To see its state, do the same as Automatic Updates.
To reinstall it, Start > Run and type %systemroot%\inf. Locate the file qmgr.inf, right click on it and choose
"Install". When done, Start > Run and type in these lines and hit
Enter key after each end:
regsvr32 oleaut32.dll regsvr32 jscript.dll regsvr32 vbscript.dll regsvr32 msxml.dll regsvr32 softpub.dll regsvr32 wintrust.dll regsvr32 initpki.dll regsvr32 cryptdlg.dll regsvr32 qmgr.dll regsvr32 qmgrprxy.dll regsvr32 bitsprx2.dll regsvr32 bitsprx3.dll
These dll files can be registered in an automatic way by downloading adn clicking twice on this cmd file.
BITS service can be controlled and even
repaired using "bitsadmin.exe" tool, which is located on
"Windows XP Service Pack 2 Support Tools". These tools can be
downloaded from here:
http://www.microsoft.com/downloads/details.aspx?displaylang=en&FamilyID=49ae8576-9bb9-4126-9761-ba8011fabf38
They can be also located on XP CD. When
installed, to repair BITS service, we have to do the following: Start > Run
and type in cmd. On the new screen,
type in:
bitsadmin /util
/repairservice /force
Restart Windows and BITS gets repaired. This
command is very interesting and allows us to control BITS service. For
instance, we can use /list command
to get a list of all the service jobs (I mean, type in bitsadmin /list). If some of them is corrupted or cannot be
properly executed, we can reset it by tipping bitsadmin /reset (this will reset all the jobs). This is useful
when some job is suspended.
Cryptographic
services
It confirms the signatures of Windows archives,
adds and removes trusted root certificates and manages these certificates.
It has to be is Automatic and set as Started.
This service cannot be reinstalled as the two prior ones. But it can be
repaired by going to Start > Run and type in these lines and hit Enter key
after each one:
regsvr32 /u softpub.dll regsvr32 /u wintrust.dll regsvr32 /u initpki.dll regsvr32 /u dssenh.dll regsvr32 /u rsaenh.dll regsvr32 /u gpkcsp.dll regsvr32 /u sccbase.dll regsvr32 /u slbcsp.dll regsvr32 /u cryptdlg.dll
You may want to unregister these dlls in an automatic way by downloading and clicking twice on this file.
Restart Windows and do the same for:
regsvr32 softpub.dll regsvr32 wintrust.dll regsvr32 initpki.dll regsvr32 dssenh.dll regsvr32 rsaenh.dll regsvr32 gpkcsp.dll regsvr32 sccbase.dll regsvr32 slbcsp.dll regsvr32 cryptdlg.dll
These dll files can be registered in an automatic way by downloading and clicking twice on this file.
It also can be repaired by downloading and click twice on this reg file from Kelly Theriot [MS MVP] website.
Trackback(0)
 |