"Automatic update is turned off" message from XP Windows Security Center

After a successful malware removal on a client’s XP workstation, Windows Security center had a message “automatic updates is turned off”.  When I opened Automatic Updates from Control Panel, it showed it was on but never downloaded updates and using Internet Explorer to access update.microsoft.com returned an error code (didn’t write it down).
Answer was to re-register the windows update libraries.  Open Start > Run > cmd > OK to get into a command prompt. Type the following and wait for “DllRegisterServer in wuapil.dll succedded” message after each line.  After that, Windows Automatic Updates worked fine as did using the IE web site  update.micrsoft.com.  Tested with XP SP3, should work with Vista SP2 and Win7 SP1.
regsvr32 wuapi.dll
regsvr32 wuaueng.dll
regsvr32 atl.dll
regsvr32 wucltui.dll
regsvr32 wups.dll

dllregisterwuapi