[SOLVED] Windows 7 SP 1 update fails and fails and fails

manouche

Member
Joined
Feb 6, 2016
Posts
16
This failure has been happening for some time now. Other updates seem to work fine. I had been considering updating this laptop to Win 10 and was told that I didn't need to update to SP 1 in order to upgrade to 10. However, I got another laptop with Windows 10 pre-installed. Now, I would like to at least get this one up to SP 1.

When I run the Windows Updates, when it tries to install SP 1, it fails with Error Code 490. I have tried many of the suggestions in other forums, installed the Windows Update Readiness Too, run 'sfc /scannow', 'chkdsk' and downloaded and tried to install SP 1 manually. Same result.

So, I am looking for some assistance.
 
Thank you for the reply. I have hopefully attached the CBS.zip file. The Sfcfix.txt file is below.

SFCFix version 3.0.0.0 by niemiro.
Start time: 2016-10-24 19:06:26.382
Microsoft Windows 7 - amd64
Not using a script file.




AutoAnalysis::
WARNING: Failed to backup registry key HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Component Based Servicing\PackageDetect\Microsoft-Windows-InternetExplorer-VistaPlus-Update~31bf3856ad364e35~amd64~~0.0.0.0.
FIXED: Orphaned package Package_for_KB2618444_RTM~31bf3856ad364e35~amd64~~9.4.1.0 (Microsoft-Windows-InternetExplorer-VistaPlus-Update~31bf3856ad364e35~amd64~~0.0.0.0) on package watchlist.



SUMMARY: Some corruptions could not be fixed automatically. Seek advice from helper or sysnative.com.
CBS & SFC total detected corruption count: 0
CBS & SFC total unimportant corruption count: 0
CBS & SFC total fixed corruption count: 0
SURT total detected corruption count: 2
SURT total unimportant corruption count: 0
SURT total fixed corruption count: 1
AutoAnalysis:: directive completed successfully.




Successfully processed all directives.



Failed to generate a complete zip file. Upload aborted.


SFCFix version 3.0.0.0 by niemiro has completed.
Currently storing 16 datablocks.
Finish time: 2016-10-24 19:51:15.512
----------------------EOF-----------------------
 

Attachments

Hello and Welcome!

Please try installing SP1 again, then when the installation fails zip and attach C:\Windows\Logs\CBS\CBS.log
If the zip is larger than 8MB, use a file sharing service such as OneDrive, DropBox, SendSpace, etc. and include the link in your reply.
 
Thank you for your reply. I have attempted to install SP 1 manually and have attached a zipped up CBS.log
 

Attachments

Code:
2016-11-02 07:03:39, Info                  CSI    00000008 CSI Store 4682096 (0x0000000000477170) initialized
2016-11-02 07:03:39, Info                  CBS    Session: 30553361_3914831415 initialized by client SP Coordinater Engine.
2016-11-02 07:03:39, Info                  CBS    Failed to get child object: Package_for_KB2618444_RTM~31bf3856ad364e35~amd64~~9.4.1. [HRESULT = 0x80070490 - ERROR_NOT_FOUND]
2016-11-02 07:03:39, Info                  CBS    Failed to enumerate packages. [HRESULT = 0x80070490 - ERROR_NOT_FOUND]
2016-11-02 07:03:39, Info                  CBS    Failed to collect packages from package store [HRESULT = 0x80070490 - ERROR_NOT_FOUND]
2016-11-02 07:03:39, Info                  CBS    Failed to enumerate installed package. [HRESULT = 0x80070490 - ERROR_NOT_FOUND]
2016-11-02 07:03:39, Error                 CBS    SPI: (CSPICbsClient::EnumPackages:63)Failed to enumerate CBS packages hr=0x80070490
2016-11-02 07:03:39, Error                 CBS    SPI: (CSystem::EnumerateCbsPackages:360)Failed to populate CBS package list hr=0x80070490
2016-11-02 07:03:39, Info                  CBS    Session: 30553361_3914831415 finalized. Reboot required: no [HRESULT = 0x00000000 - S_OK]
2016-11-02 07:03:39, Info                  CBS    SPI: Failed enumerating CBS packages

I'd like to take a look at some portions of the registry.

Please manually upload the components hive by following these instructions:

Upload Components Hive
  1. Navigate to C:\Windows\System32\config
  2. Right-click on the current COMPONENTS file and select copy
    Note: If you get an error that the file is in use, reboot your computer and then try again.
  3. Right-click on your Desktop and select paste
  4. Right-click on the COMPONENTS file on your Desktop and select Send To -> Compressed (zipped) Folder
  5. Upload the zip from your Desktop to a file sharing service such as DropBox, OneDrive, SendSpace, etc. and include the link with your reply.

Export Component Based Servicing

  1. Click on the Start button and in the search box, type regedit
  2. When you see regedit on the list, right-click on it and select Run as administrator
  3. When regedit opens, using the left pane, navigate to the following registry key and select it by clicking on it once.

    HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Component Based Servicing\
  4. Once selected, click File > Export....
  5. Change the Save as type: to Registry Hive Files (*.*)
  6. Name this file ComponentBasedServicing (with no file extension) and save it to your Desktop.
  7. Right Click on the ComponentBasedServicing file on your Desktop and choose Send To -> Compressed (Zipped) Folder.

Once done please upload ComponentBasedServicing.zip via DropBox OneDrive or SendSpace
 
I'll need the Component Based Servicing branch as a hive file, rather than reg.
Make sure to change the Save as type to 'Registry Hive Files (*.*)' :)

Export Component Based Servicing

  1. Click on the Start button and in the search box, type regedit
  2. When you see regedit on the list, right-click on it and select Run as administrator
  3. When regedit opens, using the left pane, navigate to the following registry key and select it by clicking on it once.

    HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Component Based Servicing\
  4. Once selected, click File > Export....
  5. Change the Save as type: to Registry Hive Files (*.*)
  6. Name this file ComponentBasedServicing (with no file extension) and save it to your Desktop.
  7. Right Click on the ComponentBasedServicing file on your Desktop and choose Send To -> Compressed (Zipped) Folder.

Once done please upload ComponentBasedServicing.zip via DropBox OneDrive or SendSpace
 
Ok, it does appear that there is an embedded null in Package_for_KB2618444_RTM~31bf3856ad364e35~amd64~~9.4.1.[null]

I'd like to do a practice repair on the software hive, then we can coordinate to do the real thing.

Export SOFTWARE Hive

Please download RegBak (by AceLogix Software) from the link below and save it to your Desktop.
  • Right-click on regbak.zip then select Extract all... and extract the files to your Desktop
    For 32-bit (x86) editions of Windows, double-click on regbak.exe
    For 64-bit (x64) editions of Windows, double-click on regbak64.exe

    If you are unsure whether you have x86 or x64 Windows, see here
  • Without changing any options, click Next. RegBak will now backup all of your registry hives.
  • Navigate to C:\Windows\RegBak\{Date}\ and copy the SOFTWARE file (it has no extension) to your Desktop
  • Right click on the SOFTWARE file on your Desktop and choose Send To -> Compressed (zipped) Folder.
  • Upload this zip file for me to analyse:
    Microsoft Onedrive
    Dropbox
    SendSpace (or any other file-sharing site of your preference)​

When you have uploaded the zip, send me a private message here: Send zcomputerwiz a PM with a link to the uploaded file.

DO NOT POST THE LINK IN THIS PUBLIC FORUM! The software hive contains sensitive information such as software license keys!
 
Thank you. The path to the software file was a couple levels deeper than you mentioned, so I hope it is the correct one. I sent you the link.
 
Ok, the test fix worked.

Please upload a current copy of the SOFTWARE hive. It is important that no changes be made before the edited hive is returned.

Export SOFTWARE Hive

Please download RegBak (by AceLogix Software) from the link below and save it to your Desktop.
  • Right-click on regbak.zip then select Extract all... and extract the files to your Desktop
    For 32-bit (x86) editions of Windows, double-click on regbak.exe
    For 64-bit (x64) editions of Windows, double-click on regbak64.exe

    If you are unsure whether you have x86 or x64 Windows, see here
  • Without changing any options, click Next. RegBak will now backup all of your registry hives.
  • Navigate to C:\Windows\RegBak\{Date}\ and copy the SOFTWARE file (it has no extension) to your Desktop
  • Right click on the SOFTWARE file on your Desktop and choose Send To -> Compressed (zipped) Folder.
  • Upload this zip file for me to analyse:
    Microsoft Onedrive
    Dropbox
    SendSpace (or any other file-sharing site of your preference)​

When you have uploaded the zip, send me a private message here: Send zcomputerwiz a PM with a link to the uploaded file.

DO NOT POST THE LINK IN THIS PUBLIC FORUM! The software hive contains sensitive information such as software license keys!
 
Very good. Please try the SP1 installation again.
If it fails, zip and attach C:\Windows\Logs\CBS\CBS.log with your reply.
 
Code:
2016-11-16 21:50:45, Info                  CBS    Failed to open package file: \\?\C:\windows\Servicing\Packages\Package_for_KB2618444_RTM~31bf3856ad364e35~amd64~~9.4.1.1.mum [HRESULT = 0x80070002 - ERROR_FILE_NOT_FOUND]
2016-11-16 21:50:45, Info                  CBS    Failed to read in xml content [HRESULT = 0x80070002 - ERROR_FILE_NOT_FOUND]
2016-11-16 21:50:45, Error                 CBS    Failed to parse package manifest: \\?\C:\windows\Servicing\Packages\Package_for_KB2618444_RTM~31bf3856ad364e35~amd64~~9.4.1.1.mum [HRESULT = 0x80070002 - ERROR_FILE_NOT_FOUND]
2016-11-16 21:50:45, Info                  CBS    Failed to initialize internal package [HRESULT = 0x80070002 - ERROR_FILE_NOT_FOUND]
2016-11-16 21:50:45, Info                  CBS    Failed to create package. [HRESULT = 0x80070002 - ERROR_FILE_NOT_FOUND]
2016-11-16 21:50:45, Error                 CBS    Failed to internally open package. [HRESULT = 0x80070002 - ERROR_FILE_NOT_FOUND]
2016-11-16 21:50:45, Error                 CBS    SPI: (CSPICbsClient::EnumPackages:156)Failed to open package hr=0x80070002
2016-11-16 21:50:45, Error                 CBS    SPI: (CSystem::EnumerateCbsPackages:360)Failed to populate CBS package list hr=0x80070002
2016-11-16 21:50:45, Info                  CBS    Session: 30556310_2013112214 finalized. Reboot required: no [HRESULT = 0x00000000 - S_OK]
2016-11-16 21:50:45, Info                  CBS    SPI: Failed enumerating CBS packages
2016-11-16 21:50:45, Error                 CBS    SPI: (GetLatestVersionFromCBSStore:131)ATL exception hr=0x80070002
2016-11-16 21:50:45, Error                 CBS    SPI: (CSPCInstallTask::ApplicabilityScan:632)Failed to get latest version of Package_for_KB976902~31bf3856ad364e35~amd64~~6.1.1.17514 from the store hr=0x80070002
2016-11-16 21:50:45, Error                 CBS    SPI: (CSPInstall::CompatibilityApplicabilityScan:1303)Failed in applicability check of task hr=0x80070002
2016-11-16 21:50:45, Info                  CBS    SPI: Ending Compatibility\Applicability scan
2016-11-16 21:50:45, Error                 CBS    SPI: (PerformSPInstallation:833)Failed to install SP using UI hr=0x80070002
2016-11-16 21:50:45, Error                 CBS    SPI: (wmain:1105)Failed to perform SP installation hr=0x80070002
2016-11-16 21:50:45, Info                  CBS    SPI: Reporting Failed event
2016-11-16 21:52:06, Info                  CBS    SPI: SPInstall terminating, return code 0x2
2016-11-16 21:52:06, Error                 CBS    SPI: (SPIRegQueryStringValue:700)Failed to query registry value: MiscString2 er=0x2
2016-11-16 21:52:06, Error                 CBS    SPI: (CSystem::GetMachineName:395)Failed to query machine name from RAC hr=0x80070002
2016-11-16 21:52:07, Info                  CBS    SPI: Deleting directory: C:\35ca85522734ed3f4265cd9b6eae\c43e5193fe855a37dc0d156a90.  ret=2

Let's check for other problems with SURT.

System Update Readiness Tool (SURT)

Download and run the System Update Readiness Tool for your version of Windows here: System Update Readiness Tool

NOTE: If you aren't sure if your Windows installation is 32-bit or 64-bit, check here: How to determine whether a computer is running a 32-bit version or 64-bit version of the Windows operating system

This tool will take some time to complete - when it has finished, attach C:\Windows\Logs\CBS\CheckSUR.log with your reply.
 
Looks like I had a typo.

Let's fix it:

SFCFix Script

Warning: this fix is specific to the user in this thread. No one else should follow these instructions as it may cause more harm than good. If you are after assistance, please start a thread of your own.

  1. Download SFCFix.exe (by niemiro) and save this to your Desktop.
  2. Download the file below, SFCFix.zip, and save this to your Desktop. Ensure that this file is named SFCFix.zip - do not rename it.
  3. Save any open documents and close all open windows.
  4. On your Desktop, you should see two files: SFCFix.exe and SFCFix.zip.
  5. Drag the file SFCFix.zip onto the file SFCFix.exe and release it.
  6. SFCFix will now process the script.
  7. Upon completion, a file should be created on your Desktop: SFCFix.txt.
  8. Copy (Ctrl+C) and Paste (Ctrl+V) the contents of this file into your next post for me to analyse please - put [CODE][/CODE] tags around the log to break up the text.

View attachment SFCFix.zip

Once SFCFix has completed, run SURT again and when it finishes attach C:\Windows\Logs\CBS\CheckSUR.log with your reply.
 
Code:
SFCFix version 3.0.0.0 by niemiro.
Start time: 2016-12-03 10:02:34.584
Microsoft Windows 7  - amd64
Using .zip script file at C:\Users\Bricoleur\Desktop\SFCFix.zip [0]



RegistryScript::
Successfully took ownership and permissions for registry key HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Component Based Servicing\Packages\Package_for_KB2618444_RTM~31bf3856ad364e35~amd64~~9.4.1.1\Owners.
Successfully took ownership and permissions for registry key HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Component Based Servicing\Packages\Package_for_KB2618444_RTM~31bf3856ad364e35~amd64~~9.4.1.1.
Successfully took ownership and permissions for registry key HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Component Based Servicing\Packages.
Successfully took ownership and permissions for registry key HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Component Based Servicing\Packages\Package_for_KB2618444_RTM~31bf3856ad364e35~amd64~~9.4.1.0.

WARNING: Failed to create backup for registry key HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Component Based Servicing\Packages\Package_for_KB2618444_RTM~31bf3856ad364e35~amd64~~9.4.1.1\Owners.

Successfully deleted registry key HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Component Based Servicing\Packages\Package_for_KB2618444_RTM~31bf3856ad364e35~amd64~~9.4.1.1\Owners.
WARNING: Failed to create backup for registry key HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Component Based Servicing\Packages\Package_for_KB2618444_RTM~31bf3856ad364e35~amd64~~9.4.1.1.

Successfully deleted registry key HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Component Based Servicing\Packages\Package_for_KB2618444_RTM~31bf3856ad364e35~amd64~~9.4.1.1.
Successfully imported registry key HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Component Based Servicing\Packages\Package_for_KB2618444_RTM~31bf3856ad364e35~amd64~~9.4.1.0.
Successfully imported registry key HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Component Based Servicing\Packages\Package_for_KB2618444_RTM~31bf3856ad364e35~amd64~~9.4.1.0\Owners.

Failed to open registry key HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Component Based Servicing\Packages\Package_for_KB2618444_RTM~31bf3856ad364e35~amd64~~9.4.1.1\Owners with error code ERROR_FILE_NOT_FOUND.
Failed to open registry key HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Component Based Servicing\Packages\Package_for_KB2618444_RTM~31bf3856ad364e35~amd64~~9.4.1.1 with error code ERROR_FILE_NOT_FOUND.
Successfully restored ownership and permissions for registry key HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Component Based Servicing\Packages\Package_for_KB2618444_RTM~31bf3856ad364e35~amd64~~9.4.1.0.
Successfully restored ownership and permissions for registry key HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Component Based Servicing\Packages.
Successfully restored ownership and permissions for registry key HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Component Based Servicing\Packages\Package_for_KB2618444_RTM~31bf3856ad364e35~amd64~~9.4.1.0\Owners.
Successfully restored ownership and permissions for registry key HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Component Based Servicing\Packages\Package_for_KB2618444_RTM~31bf3856ad364e35~amd64~~9.4.1.0.
RegistryScript:: directive failed to complete successfully.




Failed to process all directives successfully.
SFCFix version 3.0.0.0 by niemiro has completed.
Currently storing 21 datablocks.
Finish time: 2016-12-03 10:02:35.404
Script hash: PaFv/4i/ascUnXQS5ZZvZ1EcSO/en9p5ZBuBp0pr+JQ=
----------------------EOF-----------------------
 

Attachments

Back
Top