[SOLVED] Broken Windows update / SFC - HELP PLS!!!

Thanks. Please delete any current SFCFix files you have on your desktop.

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. Go to your desktop and right click on the background -> Select New -> Text Document -> Name this file SFCFixScript.txt.
  3. Open up SFCFixScript.txt and copy all of the following text inside the code box below and paste it into SFCFixScript.txt.
    Code:
    Bitshift::
  4. Click on File -> Save. Close out of SFCFixScript.txt.
  5. Save any open documents and close all open windows.
  6. On your Desktop, you should see two files: SFCFix.exe and SFCFixScript.txt.
  7. Drag the file SFCFixScript.txt onto the file SFCFix.exe and release it.
  8. SFCFix will now process the script.
  9. Upon completion, a file should be created on your Desktop: SFCFix.txt.
  10. 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.
 
the Bitshift:: script has been running for the last 6 hours..... not sure if it's frozen or something.
 
Seems like it crashed, yeah.

If you upload your COMPONENTS hive, I can analyse it my end.

SFCFix COMPONETS Collection


  1. Download SFCFix.exe using the following link and save the tool to your Desktop: [sfcfixdownload]Download SFCFix[/sfcfixdownload]
  2. Download SFCFixScript.txt and save this to your Desktop as well: https://dl.dropboxusercontent.com/u...eric/Collect/COMPONENTS/SFCFixScript.txt?dl=1
  3. On your Desktop, you should now see two files: SFCFix.exe and SFCFixScript.txt.
  4. Drag the file SFCFixScript.txt onto the file SFCFix.exe and release it.
  5. SFCFix will now begin to upload your COMPONENTS hive to our server.


Stephen
 
Right, here's the first round of fixes. This should deal with the C Mark corruptions in the SURT log. Still trying to get my head around some of the failures in the CBS log but I'm hoping fixing the SURT errors may help me.

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 attached file, SFCFixScript.txt, and save this to your Desktop. Ensure that this file is named SFCFixScript.txt - 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 SFCFixScript.txt.
  5. Drag the file SFCFixScript.txt onto the file SFCFix.exe and release it.
  6. SFCFix will now process the script.
  7. Upon completion, a log should be created on your Desktop: SFCFix.txt.
  8. Copy (Ctrl + C) and Paste (Ctrl + V) the contents of this into your next post for me to analyse please - put [CODE][/CODE] tags around the log to break up the text.


https://app.box.com/s/i7hpk8sqcfs9obz4ixpo2j54gpabsdai

Now please re-run the SURT for me again. If you no longer have a copy of SURT, please download it again from here: What is the System Update Readiness Tool? - Windows Help. Once SURT has completed installing, please zip up and attach the following log to your next post:

C:\Windows\Logs\CBS\CheckSUR.persist.log

Stephen
 
seems it could not load the COMPONENTS registry hive to update it

----------------------------------------------

SFCFix version 2.4.3.0 by niemiro.
Start time: 2015-05-14 16:32:15.543
Microsoft Windows 7 Service Pack 1 - amd64
Using .txt script file at C:\Users\User\Desktop\SFCFixScript.txt [0]


RegistryScript::
Failed to load registry hive C:\Windows\System32\config\COMPONENTS into key HKEY_LOCAL_MACHINE\COMPONENTS with error code 0x522.
Failed to import registry key HKEY_LOCAL_MACHINE\COMPONENTS\DerivedData\Components\amd64_515c95f6d1bef50391322cff64dac6e1_b03f5f7f11d50a3a_6.1.7601.17966_none_428ddef3a1618c79. A root key cannot be created under this hive.
Failed to import registry key HKEY_LOCAL_MACHINE\COMPONENTS\DerivedData\Components\amd64_wcf-system.servicemodel.washosting_b03f5f7f11d50a3a_6.1.7601.17966_none_0245ffb946f62cb9. A root key cannot be created under this hive.
Failed to import registry key HKEY_LOCAL_MACHINE\COMPONENTS\DerivedData\Components\amd64_wcf-smdiagnostics_b03f5f7f11d50a3a_6.1.7601.17966_none_f5f1c1b0c068c029. A root key cannot be created under this hive.
Failed to import registry key HKEY_LOCAL_MACHINE\COMPONENTS\DerivedData\Components\amd64_wcf-smsvchost_b03f5f7f11d50a3a_6.1.7601.22126_none_b0f9770f24c56a09. A root key cannot be created under this hive.
Failed to import registry key HKEY_LOCAL_MACHINE\COMPONENTS\DerivedData\Components\amd64_c5ecfc5a3614d8bba48122bb7326574b_b03f5f7f11d50a3a_6.1.7601.22126_none_5fb886e8f84fac12. A root key cannot be created under this hive.
Failed to import registry key HKEY_LOCAL_MACHINE\COMPONENTS\DerivedData\Components\amd64_febef02da762154ebc409a4f62917729_b03f5f7f11d50a3a_6.1.7601.22126_none_7ab5229a4096726c. A root key cannot be created under this hive.
Failed to import registry key HKEY_LOCAL_MACHINE\COMPONENTS\DerivedData\Components\amd64_wcf-system.identitymodel_b03f5f7f11d50a3a_6.1.7601.17966_none_b25c58b1e8a11e8d. A root key cannot be created under this hive.
Failed to import registry key HKEY_LOCAL_MACHINE\COMPONENTS\DerivedData\Components\amd64_wcf-system.servicemodel.washosting_b03f5f7f11d50a3a_6.1.7601.22126_none_eb745afb60a121b1. A root key cannot be created under this hive.
RegistryScript:: directive failed to complete successfully.


Failed to process all directives successfully.
SFCFix version 2.4.3.0 by niemiro has completed.
Currently storing 5 datablocks.
Finish time: 2015-05-14 16:32:15.590
Script hash: lUNDsf+JYGGilcVAOsjMX17OH+SUlOkGFsLCdiEnYcI=
----------------------EOF-----------------------
 
Hmmm.... I currently have your COMPONENTS hive loaded in my test environment so it does load! Can you do the following?


  1. Click on the
    Win7Orb_zps4dae3b32.jpg
    button. Inside the search box type in CMD
  2. Right click on CMD => Choose Run as Administrator
  3. Inside the Command Prompt windows copy and paste the following commands
    dir %systemroot%\System32\config >1&&notepad 1
  4. Please post the contents of the notepad file back into this thread
 
Volume in drive C has no label.
Volume Serial Number is 2039-44A6
Directory of C:\Windows\System32\config
05/12/2015 07:47 PM <DIR> .
05/12/2015 07:47 PM <DIR> ..
08/08/2011 01:03 PM 28,672 BCD-Template
05/13/2015 02:14 PM 44,564,480 COMPONENTS
05/14/2015 11:08 AM 262,144 DEFAULT
07/13/2009 09:34 PM <DIR> Journal
05/09/2015 03:09 PM <DIR> mybackup
05/14/2015 10:48 AM <DIR> RegBack
05/13/2015 08:44 AM 262,144 SAM
05/13/2015 08:55 AM 24,576 SECURITY
05/14/2015 04:38 PM 112,984,064 SOFTWARE
05/14/2015 04:33 PM 15,466,496 SYSTEM
08/09/2011 12:36 AM <DIR> systemprofile
05/11/2015 04:34 PM <DIR> TxR
7 File(s) 173,592,576 bytes
7 Dir(s) 413,000,040,448 bytes free
 
Ok, I'll look into why SFCFix failed.

For now, I've fixed the hive my end so will get you to replace it manually.

Replace COMPONENTS Hive

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. Please download the below file, components.zip and save this to your Desktop.
  2. Right-click on the file and select Extract All...
  3. Tick the box labelled Show extracted files when complete then click Extract
  4. A window will open showing a file: components (it has no file extension)
  5. Then navigate to C:\Windows\system32\config and rename the file components to components.bak
  6. Copy (Ctrl+C) and Paste (Ctrl+V) the components file on your Desktop into this folder.
  7. Run the System Update Readiness Tool (SURT) again and when it finishes installing, attach the log to your next post please:

    C:\Windows\Logs\CBS\CheckSUR.persist.log

COMPONENTS.zip: https://app.box.com/s/3whjje5cjhhhllnwc8oinpeebetp63x5

Note: If, at any point, you are displayed an error saying the file is in use, or access denied, reboot and try again.
 
Hi,

I've gone through the hive again and made some repairs. Lets see what SURT thinks of it now.

Replace COMPONENTS Hive

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. Please download the below file, components.zip and save this to your Desktop.
  2. Right-click on the file and select Extract All...
  3. Tick the box labelled Show extracted files when complete then click Extract
  4. A window will open showing a file: components (it has no file extension)
  5. Then navigate to C:\Windows\system32\config and rename the file components to components.bak2.
  6. Copy (Ctrl+C) and Paste (Ctrl+V) the components file on your Desktop into this folder.
  7. Run the System Update Readiness Tool (SURT) again and when it finishes installing, attach the log to your next post please:

    C:\Windows\Logs\CBS\CheckSUR.persist.log


https://app.box.com/s/5gj0j395wbm7phnc3lbv575qhtksxjag

Note: If, at any point, you are displayed an error saying the file is in use, or access denied, reboot and try again.

Stephen
 
Awesome, we've fixed the C mark errors! Next - fix the payload files!

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.
  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.


https://app.box.com/s/0j13sx5dd661ur73gecflqqy5zkqfemw

SFC Scan


  1. Click on the Start
    Start%20Orb.jpg
    button and in the search box, type Command Prompt
  2. When you see Command Prompt on the list, right-click on it and select Run as administrator
  3. When command prompt opens, copy and paste the following commands into it, press enter after each

    sfc /scannow

    Wait for this to finish before you continue

    copy %windir%\logs\cbs\cbs.log %userprofile%\Desktop\cbs.txt
  4. This will create a file, cbs.txt on your Desktop. Please attach this to your next post.
 
SFCFix version 2.4.3.0 by niemiro.
Start time: 2015-05-16 11:19:14.308
Microsoft Windows 7 Service Pack 1 - amd64
Using .zip script file at C:\Users\User\Desktop\SFCFix.zip [0]


PowerCopy::
Failed to set ownership to Everyone for file or folder C:\Windows\winsxs\amd64_wcf-system.servicemodel.washosting_b03f5f7f11d50a3a_6.1.7601.22126_none_eb745afb60a121b1
Successfully took permissions for file or folder C:\Windows\winsxs\amd64_wcf-system.servicemodel.washosting_b03f5f7f11d50a3a_6.1.7601.22126_none_eb745afb60a121b1
Failed to set ownership to Everyone for file or folder C:\Windows\winsxs\amd64_wcf-system.servicemodel.washosting_b03f5f7f11d50a3a_6.1.7601.17966_none_0245ffb946f62cb9
Successfully took permissions for file or folder C:\Windows\winsxs\amd64_wcf-system.servicemodel.washosting_b03f5f7f11d50a3a_6.1.7601.17966_none_0245ffb946f62cb9
Failed to set ownership to Everyone for file or folder C:\Windows\winsxs\amd64_wcf-system.identitymodel_b03f5f7f11d50a3a_6.1.7601.17966_none_b25c58b1e8a11e8d
Successfully took permissions for file or folder C:\Windows\winsxs\amd64_wcf-system.identitymodel_b03f5f7f11d50a3a_6.1.7601.17966_none_b25c58b1e8a11e8d
Failed to set ownership to Everyone for file or folder C:\Windows\winsxs\amd64_wcf-smsvchost_b03f5f7f11d50a3a_6.1.7601.22126_none_b0f9770f24c56a09
Successfully took permissions for file or folder C:\Windows\winsxs\amd64_wcf-smsvchost_b03f5f7f11d50a3a_6.1.7601.22126_none_b0f9770f24c56a09
Failed to set ownership to Everyone for file or folder C:\Windows\winsxs\amd64_wcf-smdiagnostics_b03f5f7f11d50a3a_6.1.7601.17966_none_f5f1c1b0c068c029
Successfully took permissions for file or folder C:\Windows\winsxs\amd64_wcf-smdiagnostics_b03f5f7f11d50a3a_6.1.7601.17966_none_f5f1c1b0c068c029
Successfully copied file C:\Users\User\AppData\Local\niemiro\Archive\amd64_wcf-system.servicemodel.washosting_b03f5f7f11d50a3a_6.1.7601.22126_none_eb745afb60a121b1\system.servicemodel.washosting.dll to C:\Windows\winsxs\amd64_wcf-system.servicemodel.washosting_b03f5f7f11d50a3a_6.1.7601.22126_none_eb745afb60a121b1\system.servicemodel.washosting.dll.
Successfully copied file C:\Users\User\AppData\Local\niemiro\Archive\amd64_wcf-system.servicemodel.washosting_b03f5f7f11d50a3a_6.1.7601.17966_none_0245ffb946f62cb9\system.servicemodel.washosting.dll to C:\Windows\winsxs\amd64_wcf-system.servicemodel.washosting_b03f5f7f11d50a3a_6.1.7601.17966_none_0245ffb946f62cb9\system.servicemodel.washosting.dll.
Successfully copied file C:\Users\User\AppData\Local\niemiro\Archive\amd64_wcf-system.identitymodel_b03f5f7f11d50a3a_6.1.7601.17966_none_b25c58b1e8a11e8d\system.identitymodel.dll to C:\Windows\winsxs\amd64_wcf-system.identitymodel_b03f5f7f11d50a3a_6.1.7601.17966_none_b25c58b1e8a11e8d\system.identitymodel.dll.
Successfully copied file C:\Users\User\AppData\Local\niemiro\Archive\amd64_wcf-smsvchost_b03f5f7f11d50a3a_6.1.7601.22126_none_b0f9770f24c56a09\smsvchost.exe to C:\Windows\winsxs\amd64_wcf-smsvchost_b03f5f7f11d50a3a_6.1.7601.22126_none_b0f9770f24c56a09\smsvchost.exe.
Successfully copied file C:\Users\User\AppData\Local\niemiro\Archive\amd64_wcf-smdiagnostics_b03f5f7f11d50a3a_6.1.7601.17966_none_f5f1c1b0c068c029\smdiagnostics.dll to C:\Windows\winsxs\amd64_wcf-smdiagnostics_b03f5f7f11d50a3a_6.1.7601.17966_none_f5f1c1b0c068c029\smdiagnostics.dll.
Failed to restore ownership for C:\Windows\winsxs\amd64_wcf-system.servicemodel.washosting_b03f5f7f11d50a3a_6.1.7601.22126_none_eb745afb60a121b1 in WriteOwner function. Error code 0x51B
Failed to restore owner for file or folder C:\Windows\winsxs\amd64_wcf-system.servicemodel.washosting_b03f5f7f11d50a3a_6.1.7601.22126_none_eb745afb60a121b1 in RestoreFromDataBlock.
Failed to restore ownership for C:\Windows\winsxs\amd64_wcf-system.servicemodel.washosting_b03f5f7f11d50a3a_6.1.7601.17966_none_0245ffb946f62cb9 in WriteOwner function. Error code 0x51B
Failed to restore owner for file or folder C:\Windows\winsxs\amd64_wcf-system.servicemodel.washosting_b03f5f7f11d50a3a_6.1.7601.17966_none_0245ffb946f62cb9 in RestoreFromDataBlock.
Failed to restore ownership for C:\Windows\winsxs\amd64_wcf-system.identitymodel_b03f5f7f11d50a3a_6.1.7601.17966_none_b25c58b1e8a11e8d in WriteOwner function. Error code 0x51B
Failed to restore owner for file or folder C:\Windows\winsxs\amd64_wcf-system.identitymodel_b03f5f7f11d50a3a_6.1.7601.17966_none_b25c58b1e8a11e8d in RestoreFromDataBlock.
Failed to restore ownership for C:\Windows\winsxs\amd64_wcf-smsvchost_b03f5f7f11d50a3a_6.1.7601.22126_none_b0f9770f24c56a09 in WriteOwner function. Error code 0x51B
Failed to restore owner for file or folder C:\Windows\winsxs\amd64_wcf-smsvchost_b03f5f7f11d50a3a_6.1.7601.22126_none_b0f9770f24c56a09 in RestoreFromDataBlock.
Failed to restore ownership for C:\Windows\winsxs\amd64_wcf-smdiagnostics_b03f5f7f11d50a3a_6.1.7601.17966_none_f5f1c1b0c068c029 in WriteOwner function. Error code 0x51B
Failed to restore owner for file or folder C:\Windows\winsxs\amd64_wcf-smdiagnostics_b03f5f7f11d50a3a_6.1.7601.17966_none_f5f1c1b0c068c029 in RestoreFromDataBlock.
PowerCopy:: directive failed to complete successfully.


Failed to process all directives successfully.
SFCFix version 2.4.3.0 by niemiro has completed.
Currently storing 10 datablocks.
Finish time: 2015-05-16 11:19:15.088
Script hash: 8Swg1+i7cCjocRZO/qZq7TTAgtYAxh0PH1IDGCLC3I4=
----------------------EOF-----------------------

View attachment CBS.log
 
Awesome. Fingers crossed, this should be the last time we need to do this (famous last words!). I would do this via SFCFix but there is something dodgy with the permissions on your system that is making it go wrong so I'm using the old fashioned methods.

Replace COMPONENTS Hive

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. Please download the below file, components.zip and save this to your Desktop.
  2. Right-click on the file and select Extract All...
  3. Tick the box labelled Show extracted files when complete then click Extract
  4. A window will open showing a file: components (it has no file extension)
  5. Then navigate to C:\Windows\system32\config and rename the file components to components.bak.
  6. Copy (Ctrl+C) and Paste (Ctrl+V) the components file on your Desktop into this folder.
  7. Run the System Update Readiness Tool (SURT) again and when it finishes installing, attach the log to your next post please:

    C:\Windows\Logs\CBS\CheckSUR.persist.log


https://app.box.com/s/kospqxh4bsstzd8dtrep73fop5iceg46

Note: If, at any point, you are displayed an error saying the file is in use, or access denied, reboot and try again.
 

Has Sysnative Forums helped you? Please consider donating to help us support the site!

Back
Top