Troubles updating to SP2 & WU generally

zelot

New Member
Troubles updating to SP2 & WU 80070002

I am running Vista x64 Home Premium on an HP Pavilion Laptop. Every time I use windows update, it throws some sort of error no matter how many times I fix the errors with the many tutorials on this site. But what is most frustrating is trying to update to SP2. It will reboot, do its thing, get to 3 of 3 100% complete and stay there for hours. Then it will reboot and say failed to install, rolling back changes. I can upload the original CBS.log file if you would like, but it is 6.64MB. I have looked through the CBS.log and tried to skim through the bulk to get the errors:
Code:
2010-06-20 15:18:41, Error                 CBS    SPI: (SPIRegQueryDWORDValue:413)Failed to query registry value: ComponentsRemoved 

er=0x2
2010-06-20 15:18:47, Error                 CBS    SPI: (RegisterPackageForSqm:647)Failed to set StateValueName. er=0x2
2010-06-20 15:18:47, Info                  CBS    SPI: Failed to register package for SQM (hr=0x80070002).  Continuing without
2010-06-20 15:18:47, Error                 CBS    SPI: (RegisterPackageForSqm:647)Failed to set StateValueName. er=0x2
2010-06-20 15:18:47, Info                  CBS    SPI: Failed to register package for SQM (hr=0x80070002).  Continuing without
2010-06-20 15:18:48, Info                  CBS    SPI: Self trust verification failed for 

C:\7097110d38128ef70d\baed56e698d5131e91a5ac\spc.xml.  0x57
2010-06-20 15:18:48, Error                 CBS    SPI: (SPCVerifyTrust:1732)Failed to CryptCATAdminCalcHashFromFileHandle GLE=0x57
2010-06-20 15:18:48, Error                 CBS    SPI: (SPCVerifyTrust:1732)Failed to CryptCATAdminCalcHashFromFileHandle GLE=0x57
2010-06-20 15:18:48, Error                 CBS    SPI: (SPIRegQueryDWORDValue:413)Failed to query registry value: UploadDisableFlag 

er=0x2
2010-06-20 15:20:19, Error                 CBS    SPI: (SPIRegQueryDWORDValue:400)Failed to open the registry root: n/a, key: 

SOFTWARE\Microsoft\Windows\CurrentVersion\Setup\ServicePack\SP2. er=0x2
2010-06-20 15:20:19, Error                 CBS    SPI: (SPIRegQueryDWORDValue:400)Failed to open the registry root: n/a, key: 

SOFTWARE\Microsoft\Windows\CurrentVersion\Setup\ServicePack\SP2. er=0x2
2010-06-20 15:20:19, Error                 CBS    SPI: (SPIRegQueryDWORDValue:400)Failed to open the registry root: n/a, key: 

SOFTWARE\Microsoft\Windows\CurrentVersion\Setup\ServicePack\SP2. er=0x2
2010-06-20 15:20:19, Error                 CBS    SPI: (SPIRegQueryDWORDValue:400)Failed to open the registry root: n/a, key: 

SOFTWARE\Microsoft\Windows\CurrentVersion\Setup\ServicePack\SP2. er=0x2
2010-06-20 15:23:21, Error                 CBS    SPI: (CreateCbsSession:98)Failed to create session classID hr=0x80070002
2010-06-20 15:23:21, Error                 CBS    SPI: (CSPICbsClient::Initialize:552)Failed to create online CBS Session 

hr=0x80070002
2010-06-20 15:23:21, Error                 CBS    SPI: (CSPCInstallTask::ApplicabilityScan:659)Failed to initialize CBS client 

hr=0x80070002
2010-06-20 15:23:21, Error                 CBS    SPI: (CSPCInstallTask::ApplicabilityScan:700)Failed to do an applicability scan of 

linked SP for package Windows6.0-KB955430-x64.cab hr=0x80070002
2010-06-20 15:23:21, Error                 CBS    SPI: (CSPInstall::CompatibilityApplicabilityScan:1056)Failed in applicability check 

of task hr=0x80070002
2010-06-20 15:23:21, Error                 CBS    SPI: (PerformSPInstallation:764)Failed to install SP using UI hr=0x80070002
2010-06-20 15:23:21, Error                 CBS    SPI: (wmain:1059)Failed to perform SP installation hr=0x80070002
2010-06-20 15:25:24, Error                 CBS    SPI: (SPIRegQueryStringValue:511)Failed to query registry value: MiscString2 er=0x2
2010-06-20 15:25:24, Error                 CBS    SPI: (CSystem::GetMachineName:348)Failed to query machine name from RAC 

hr=0x80070002
2010-06-20 18:15:41, Error                 CBS    SPI: (SPIRegQueryDWORDValue:413)Failed to query registry value: ComponentsRemoved 

er=0x2
2010-06-20 18:15:50, Error                 CBS    SPI: (RegisterPackageForSqm:647)Failed to set StateValueName. er=0x2
2010-06-20 18:15:50, Info                  CBS    SPI: Failed to register package for SQM (hr=0x80070002).  Continuing without
2010-06-20 18:15:50, Error                 CBS    SPI: (RegisterPackageForSqm:647)Failed to set StateValueName. er=0x2
2010-06-20 18:15:50, Info                  CBS    SPI: Failed to register package for SQM (hr=0x80070002).  Continuing without
2010-06-20 18:15:51, Info                  CBS    SPI: Self trust verification failed for C:\0de5c5f44043666a0b500dfa3684

\8ed8c4d56a85e67b764018da10ae85\spc.xml.  0x57
2010-06-20 18:15:51, Info                  CBS    SPI: Self trust verification failed for C:\0de5c5f44043666a0b500dfa3684

\8ed8c4d56a85e67b764018da10ae85\SPWizUI.dll.  0x57
2010-06-20 18:15:51, Info                  CBS    SPI: Self trust verification failed for C:\0de5c5f44043666a0b500dfa3684

\8ed8c4d56a85e67b764018da10ae85\SpError.dll.  0x57
2010-06-20 18:15:51, Info                  CBS    SPI: Self trust verification failed for C:\Windows\System32\spinstall.exe.  0x57
2010-06-20 18:15:51, Error                 CBS    SPI: (SPCVerifyTrust:1732)Failed to CryptCATAdminCalcHashFromFileHandle GLE=0x57
2010-06-20 18:15:51, Info                  CBS    SPI: Self trust verification failed for C:\Windows\System32\SPC_SP2_Wave1.xml.  

0x57
2010-06-20 18:15:51, Error                 CBS    SPI: (SPCVerifyTrust:1732)Failed to CryptCATAdminCalcHashFromFileHandle GLE=0x57
2010-06-20 18:15:51, Info                  CBS    SPI: Installed SPInstall or XML not trusted.  Continuing with current version.
2010-06-20 18:15:51, Info                  CBS    SPI: Self trust verification failed for C:\Windows\System32

\EventProviders\spcmsg.dll.  0x57
2010-06-20 18:15:51, Error                 CBS    SPI: (SPIRegQueryDWORDValue:413)Failed to query registry value: UploadDisableFlag 

er=0x2
2010-06-20 18:16:02, Info                  CBS    SPI: Starting SP Compatibility\Applicability scan
2010-06-20 18:16:02, Error                 CBS    SPI: (SPIRegQueryDWORDValue:400)Failed to open the registry root: n/a, key: 

SOFTWARE\Microsoft\Windows\CurrentVersion\Setup\ServicePack\SP2. er=0x2
2010-06-20 18:16:02, Error                 CBS    SPI: (SPIRegQueryDWORDValue:400)Failed to open the registry root: n/a, key: 

SOFTWARE\Microsoft\Windows\CurrentVersion\Setup\ServicePack\SP2. er=0x2
2010-06-20 18:16:02, Error                 CBS    SPI: (SPIRegQueryDWORDValue:400)Failed to open the registry root: n/a, key: 

SOFTWARE\Microsoft\Windows\CurrentVersion\Setup\ServicePack\SP2. er=0x2
2010-06-20 18:16:02, Error                 CBS    SPI: (SPIRegQueryDWORDValue:400)Failed to open the registry root: n/a, key: 

SOFTWARE\Microsoft\Windows\CurrentVersion\Setup\ServicePack\SP2. er=0x2
2010-06-20 18:19:05, Error                 CBS    SPI: (CreateCbsSession:98)Failed to create session classID hr=0x80070002
2010-06-20 18:19:05, Error                 CBS    SPI: (CSPICbsClient::Initialize:552)Failed to create online CBS Session 

hr=0x80070002
2010-06-20 18:19:05, Error                 CBS    SPI: (CSPCInstallTask::ApplicabilityScan:659)Failed to initialize CBS client 

hr=0x80070002
2010-06-20 18:19:05, Info                  CBS    CBS session is NULL, nothing to finalize
2010-06-20 18:19:05, Error                 CBS    SPI: (CSPCInstallTask::ApplicabilityScan:700)Failed to do an applicability scan of 

linked SP for package Windows6.0-KB955430-x64.cab hr=0x80070002
2010-06-20 18:19:05, Error                 CBS    SPI: (CSPInstall::CompatibilityApplicabilityScan:1056)Failed in applicability check 

of task hr=0x80070002
2010-06-20 18:19:05, Info                  CBS    SPI: Ending Compatibility\Applicability scan
2010-06-20 18:19:05, Error                 CBS    SPI: (PerformSPInstallation:764)Failed to install SP using UI hr=0x80070002
2010-06-20 18:19:05, Error                 CBS    SPI: (wmain:1059)Failed to perform SP installation hr=0x80070002
2010-06-20 18:19:05, Info                  CBS    SPI: Reporting Failed event
2010-06-20 18:28:39, Info                  CBS    SPI: SPInstall terminating, return code 0x2
2010-06-20 18:28:39, Error                 CBS    SPI: (SPIRegQueryStringValue:511)Failed to query registry value: MiscString2 er=0x2
2010-06-20 18:28:39, Error                 CBS    SPI: (CSystem::GetMachineName:348)Failed to query machine name from RAC 

hr=0x80070002
2010-06-20 18:28:41, Info                  CBS    SPI: Deleting directory: C:\0de5c5f44043666a0b500dfa3684

\8ed8c4d56a85e67b764018da10ae85.  ret=2
2010-06-20 19:42:08, Info                  CBS    SPI: Starting SPInstall version 6.0.6002.18005
2010-06-20 19:42:08, Error                 CBS    SPI: (SPIRegQueryDWORDValue:413)Failed to query registry value: ComponentsRemoved 

er=0x2
2010-06-20 19:42:16, Error                 CBS    SPI: (RegisterPackageForSqm:647)Failed to set StateValueName. er=0x2
2010-06-20 19:42:16, Info                  CBS    SPI: Failed to register package for SQM (hr=0x80070002).  Continuing without
2010-06-20 19:42:16, Error                 CBS    SPI: (RegisterPackageForSqm:647)Failed to set StateValueName. er=0x2
2010-06-20 19:42:16, Info                  CBS    SPI: Failed to register package for SQM (hr=0x80070002).  Continuing without
2010-06-20 19:42:16, Info                  CBS    SPI: Self trust verification failed for C:\418a3e4249cc1f505569\50aac4ef3ffa434541

\spc.xml.  0x57
2010-06-20 19:42:17, Info                  CBS    SPI: Self trust verification failed for C:\418a3e4249cc1f505569\50aac4ef3ffa434541

\SPWizUI.dll.  0x57
2010-06-20 19:42:17, Info                  CBS    SPI: Self trust verification failed for C:\418a3e4249cc1f505569\50aac4ef3ffa434541

\SpError.dll.  0x57
2010-06-20 19:42:17, Info                  CBS    SPI: Self trust verification failed for C:\Windows\System32\spinstall.exe.  0x57
2010-06-20 19:42:17, Error                 CBS    SPI: (SPCVerifyTrust:1732)Failed to CryptCATAdminCalcHashFromFileHandle GLE=0x57
2010-06-20 19:42:17, Info                  CBS    SPI: Self trust verification failed for C:\Windows\System32\SPC_SP2_Wave1.xml.  

0x57
2010-06-20 19:42:17, Error                 CBS    SPI: (SPCVerifyTrust:1732)Failed to CryptCATAdminCalcHashFromFileHandle GLE=0x57
2010-06-20 19:42:17, Info                  CBS    SPI: Installed SPInstall or XML not trusted.  Continuing with current version.
2010-06-20 19:42:17, Info                  CBS    SPI: Self trust verification failed for C:\Windows\System32

\EventProviders\spcmsg.dll.  0x57
2010-06-20 19:42:17, Error                 CBS    SPI: (SPIRegQueryDWORDValue:413)Failed to query registry value: UploadDisableFlag 

er=0x2
2010-06-20 19:42:24, Info                  CBS    SPI: Starting SP Compatibility\Applicability scan
2010-06-20 19:42:24, Error                 CBS    SPI: (SPIRegQueryDWORDValue:400)Failed to open the registry root: n/a, key: 

SOFTWARE\Microsoft\Windows\CurrentVersion\Setup\ServicePack\SP2. er=0x2
2010-06-20 19:42:24, Error                 CBS    SPI: (SPIRegQueryDWORDValue:400)Failed to open the registry root: n/a, key: 

SOFTWARE\Microsoft\Windows\CurrentVersion\Setup\ServicePack\SP2. er=0x2
2010-06-20 19:42:24, Error                 CBS    SPI: (SPIRegQueryDWORDValue:400)Failed to open the registry root: n/a, key: 

SOFTWARE\Microsoft\Windows\CurrentVersion\Setup\ServicePack\SP2. er=0x2
2010-06-20 19:42:24, Error                 CBS    SPI: (SPIRegQueryDWORDValue:400)Failed to open the registry root: n/a, key: 

SOFTWARE\Microsoft\Windows\CurrentVersion\Setup\ServicePack\SP2. er=0x2
2010-06-20 19:46:24, Error                 CBS    SPI: (CreateCbsSession:98)Failed to create session classID hr=0x80070002
2010-06-20 19:46:24, Error                 CBS    SPI: (CSPICbsClient::Initialize:552)Failed to create online CBS Session 

hr=0x80070002
2010-06-20 19:46:24, Error                 CBS    SPI: (CSPCInstallTask::ApplicabilityScan:659)Failed to initialize CBS client 

hr=0x80070002
2010-06-20 19:46:24, Info                  CBS    CBS session is NULL, nothing to finalize
2010-06-20 19:46:24, Error                 CBS    SPI: (CSPCInstallTask::ApplicabilityScan:700)Failed to do an applicability scan of 

linked SP for package Windows6.0-KB955430-x64.cab hr=0x80070002
2010-06-20 19:46:24, Error                 CBS    SPI: (CSPInstall::CompatibilityApplicabilityScan:1056)Failed in applicability check 

of task hr=0x80070002
2010-06-20 19:46:24, Info                  CBS    SPI: Ending Compatibility\Applicability scan
2010-06-20 19:46:24, Error                 CBS    SPI: (PerformSPInstallation:764)Failed to install SP using UI hr=0x80070002
2010-06-20 19:46:24, Error                 CBS    SPI: (wmain:1059)Failed to perform SP installation hr=0x80070002
2010-06-20 19:46:24, Info                  CBS    SPI: Reporting Failed event
2010-06-20 19:55:04, Info                  CBS    SPI: SPInstall terminating, return code 0x2
2010-06-20 19:55:04, Error                 CBS    SPI: (SPIRegQueryStringValue:511)Failed to query registry value: MiscString2 er=0x2
2010-06-20 19:55:04, Error                 CBS    SPI: (CSystem::GetMachineName:348)Failed to query machine name from RAC 

hr=0x80070002
2010-06-20 19:55:07, Info                  CBS    SPI: Deleting directory: C:\418a3e4249cc1f505569\50aac4ef3ffa434541.  ret=2
 
Last edited:

My Computer

System One

  • Manufacturer/Model
    HP Pavilion dv9700 Notebook PC
    Memory
    4.00GB

My Computer

System One

  • Manufacturer/Model
    Dell XPS420
    Memory
    6 gig
    Graphics Card(s)
    ATI Radeon HD3650 256 MB
    Sound Card
    Intergrated 7.1 Channel Audio
    Monitor(s) Displays
    Dell SP2009W 20 inch Flat Panel w Webcam
    Hard Drives
    640 gb
    Cooling
    Fan
    Keyboard
    Dell USB
    Mouse
    Dell USB 4 button optical
    Other Info
    DSL provided by ATT
Windows update has Error Code 80070002 before and after rebooting with that. I have also deleted everything in C:\Windows\SoftwareDistribution\Download and C:\Windows\SoftwareDistribution\DataStore, as windows help suggested. I have also run CheckSUR and after running the logs show no errors found or fixed. I have tried running sfc /scannow but it gives this error:
Windows Resource Protection could not start the repair service.
Starting to get annoyed, but thanks for the response.
 

My Computer

System One

  • Manufacturer/Model
    HP Pavilion dv9700 Notebook PC
    Memory
    4.00GB
I have tried running sfc /scannow but it gives this error:
Windows Resource Protection could not start the repair service.
Starting to get annoyed, but thanks for the response.

That means you have disabled or corrupted Windows Modules Installer service.

Run Start>>Search>>services.msc and make sure Windows Modules Installer service is set MANUAL,if not then correct it.If you don't have this service read SCENARIO III from this link http://www.vistax64.com/tutorials/258701-windows-update-error-80070424-a.html
 

My Computer

I didn't have a windows modules installer service running, and that was preventing me from searching for updates. I am now downloading and installing 51 updates. I will report back when finished. I expect some new error once it restarts :(
 

My Computer

System One

  • Manufacturer/Model
    HP Pavilion dv9700 Notebook PC
    Memory
    4.00GB
It may be too late, but dont do it all at once. Download two or three at a time, make sure they are ok, then get the next few.
 

My Computer

System One

  • Manufacturer/Model
    Dell XPS420
    Memory
    6 gig
    Graphics Card(s)
    ATI Radeon HD3650 256 MB
    Sound Card
    Intergrated 7.1 Channel Audio
    Monitor(s) Displays
    Dell SP2009W 20 inch Flat Panel w Webcam
    Hard Drives
    640 gb
    Cooling
    Fan
    Keyboard
    Dell USB
    Mouse
    Dell USB 4 button optical
    Other Info
    DSL provided by ATT
sorry I forgot to post back here, but everything works just fine now. updated to sp2, automatic updates work, and I just love it when things work the way they should :)
 

My Computer

System One

  • Manufacturer/Model
    HP Pavilion dv9700 Notebook PC
    Memory
    4.00GB
Back
Top