Windows - Automatic Updates Service Not Here & Error 0x80070005 Wuaueng.dll

Environment
  • Microsoft Windows XP SP3
Introduction
Some computers are not in Windows Updates group as automatic updates service is not running

Find the service is actually not here

When try to reset wuaueng.dll, get an error - 0x80070005

Solutions
Tried many things to be still fail, however, this is solved by reinstalling the service pack, and then set wuauang.dll
C:\regsvr32 wuaueng.dll
After this, Automatic Updates service should be here

However, some computers also get an error - "Access is denied", when installing
This can be solved by following http://support.microsoft.com/kb/949377
  1. Install Subinacl.exe
  2. Run the batch
    cd /d "%ProgramFiles%\Windows Resource Kits\Tools"
    subinacl /subkeyreg HKEY_LOCAL_MACHINE /grant=administrators=f /grant=system=f
    subinacl /subkeyreg HKEY_CURRENT_USER /grant=administrators=f /grant=system=f
    subinacl /subkeyreg HKEY_CLASSES_ROOT /grant=administrators=f /grant=system=f
    subinacl /subdirectories %SystemDrive% /grant=administrators=f /grant=system=f
    subinacl /subdirectories %windir%\*.* /grant=administrators=f /grant=system=f
    secedit /configure /cfg %windir%\repair\secsetup.inf /db secsetup.sdb /verbose
  3. Reboot and then reinstall the service pack again