Windows Updates does not work

I have a Widnwos XP pc has the update problem as below:

When attempting to run Windows Update the following message appears: ‘Error number: 0x8DDD0018.’ This message states that the Automatic Updates, BITS, and Event Log services must be started, but they are all started and WinUpdates still fails.

First I know, this pc has kind of virus or spyware. I clean them and make it looks OK. But still can not update.
Later I find the post and the solution.
run command from command window.

regsvr32.exe wuaueng.dll

After it, enable the service above and run windows update. Works.