Windows 7 update fails

slinger

Member
Joined
May 5, 2019
Posts
21
I have cleaned up most of my errors by running SURT, but am left with a weird issue still.
Running sfc /scannow fails with error windows resource protection could not perform the requested operation.
Ran SFCFix, it tells me SURT total detected corruption count 3, everything else is good.

There was definitely some corruption in the COMPONENTS registry hive. I have a key (error found by looking at CBS.log):
GLOBALROOT/Device/HarddiskVolumeShadowCopy2/Windows/System32/config/COMPONENTS\DerivedData\VersionedIndex\6.1.7601.24383 (win7sp1_ldr_escrow.190215-1954)\ComponentFamilies\msil_smsvchost_b03f5f7f11d50a3a_none_983c345ed3df25b5\v!6.1.7601.2\733"


The key name is actually showing in regedt32 as "v!6.1.7601.2\733", which includes an illegal backslash. I cannot access/rename/delete/edit permissions for the key because of the illegal backslash. Any attempt to do anything with that key just results in an error message (file not found).
I have tried running regdelnull and it found nothing.

Any suggestions on how I can remove this key?
 
Hello and welcome,

Provide the following file:

Retrieve Components Hive
1. Navigate to C:\Windows\System32\Config and locate the COMPONENTS file.
2. Please copy this file to your desktop.
Note: If you receive an error that this file is in-use, simply reboot your computer and try again. Note: If you find that you need to reboot and are unable to because this is a server then try Option#2 below.
3. Right-click on this file on your desktop and select Send To...Compressed (zipped) folder. This will create a file named COMPONENTS.ZIP on your desktop.
4. The file will likely be too large to upload here so please upload to SendSpace and just provide the link here.



Option#2 (only if you are unable to follow the previous instructions)

  • Please download the Freeware RegBak from here: Acelogix Software - Download products
    You will find it at the bottom of the page that the link brings you to.
  • Go ahead and install this program and accept all the defaults. After the last install screen the program should open.
  • Click the New Backup button. Accept the defaults and simply click Start.
  • When it says Finished successfully, click the Close button.
  • This will bring you back to the main screen of the program. You will see one entry in this list with the date that you did it. Right-click on this line-item and select Explore Backup...
  • This will bring you into the folder where the backup was made. You should see a Users folder and a Windows folder along with a couple other files. Double-click on the Windows folder to open it. Then open the System32 folder and then config folder. You should see around 6 files in here, one of which is named COMPONENTS.
  • Copy the COMPONENTS file to your Desktop. If the COMPONENTS file does not exist, please fetch it instead from C:\Windows\System32\config\COMPONENTS.
  • Now right-click on the COMPONENTS file that is on your desktop and select Send to > Compressed (zipped) folder.
  • Then please upload the zip file (COMPONENTS.zip) to your favourite file sharing website (it will be too big to upload here). Examples of services to upload to are Filedropper or One Drive or SendSpace and then just provide the link in your reply.
  • You can close any open windows you have as well as the RegBak program now.
 
About 25 registry corruptions need to be fixed.
I will try to fix your COMPONENTS hive and send it back.
In the meantime do not install any updates.
 
Step 1:
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. Download the file COMPONENTS.ZIP and save it to your desktop.
  2. Right-click on it and select Extract all.... Make sure the "Show extracted files when complete" is checked and click Extract.
  3. Now we have the COMPONENTS file that we will be using to replace your current one.
  4. Navigate to C:\Windows\System32\config
  5. Right-click on the current COMPONENTS file and select rename. Rename it to COMPONENTS.bad.
    Note: If you get an error that the file is in use, reboot your computer and then try again.
  6. Take the file from the Components folder on your desktop and paste it into C:\Windows\System32\config

Step 2:
Follow the instructions below to run a scan with the System Update Readiness Tool (SURT) and provide a log.
  1. Download SURT for your system. (Windows 7 SP1 x64)
  2. Once downloaded, execute the installer, and go through the installation (this process can take around 15-20 minutes).
  3. On completion, a log will be created in C:\Windows\Logs\CBS\CheckSUR.log.
  4. Attach this log in your next reply.
Alternatively, if these instructions are unclear for you, you can follow the tutorial below.

System Update Readiness Tool (SURT)
 
Step 1:
Warning: This script was written specifically for this user, for use on that particular machine. Do not run this script on another machine.
  1. Download the Farbar Recovery Scan Tool and save it to your Desktop:
    64-bit: Downloading Farbar Recovery Scan Tool
  2. Download the attachment fixlist.txt and save it to your desktop.
  3. Right-click on FRST.exe and select "Run as administrator".
  4. Press the Fix button.
  5. The tool will now process fixlist.txt.
  6. If for some reason the tool needs a restart, please make sure you let the system restart normally. After that let the tool complete its run.
  7. When finished, a log called Fixlog.txt will appear in the same directory the tool is run from.
  8. Post the logfile Fixlog.txt as attachment in your next reply.

Step 2:
Start the System Update Readiness Tool (SURT) again.
On completion, attach the logfile C:\Windows\Logs\CBS\CheckSUR.log in your next reply.
 

Attachments

Provide a fresh copy on the COMPONENTS hive as you did in message #3.
I will fix the remaining corruption. In the meantime do not install any updates.
 
Step 1:
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. Download the file COMPONENTS.ZIP and save it to your desktop.
  2. Right-click on it and select Extract all.... Make sure the "Show extracted files when complete" is checked and click Extract.
  3. Now we have the COMPONENTS file that we will be using to replace your current one.
  4. Navigate to C:\Windows\System32\config
  5. Right-click on the current COMPONENTS file and select rename. Rename it to COMPONENTS.bad.
    Note: If you get an error that the file is in use, reboot your computer and then try again.
  6. Take the file from the Components folder on your desktop and paste it into C:\Windows\System32\config

Step 2:
Start the System Update Readiness Tool (SURT) again.
On completion, attach the logfile C:\Windows\Logs\CBS\CheckSUR.log in your next reply.
 
Awesome, CheckSUR.log looks clean.
Just curious, what tool did you use to clean the registry key that contained the invalid character?
 

Attachments

Just curious, what tool did you use to clean the registry key that contained the invalid character?
Regedit.

Run
myjIXnC.png
SFCFix again.
On completion a log file (SFCFix.txt) will be opened. Copy and Paste its content into your next reply.
 
OK, looks good. Content of SFCFix log:

SFCFix version 3.0.1.0 by niemiro.
Start time: 2019-05-12 16:19:21.075
Microsoft Windows 7 Service Pack 1 - amd64
Not using a script file.


AutoAnalysis::
SUMMARY: No corruptions were detected.
AutoAnalysis:: directive completed successfully.


Successfully processed all directives.
SFCFix version 3.0.1.0 by niemiro has completed.
Currently storing 0 datablocks.
Finish time: 2019-05-12 17:53:42.393
----------------------EOF-----------------------
 
Are there any other issues ?
Just asking because the problem with the registry key in your first post is still there but the tools SFCFix and SURT no longer reports it.
 
Windows update still fails. CBS log shows a bunch of STATUS_OBJECT_NAME_NOT_FOUND related to that invalid key.
Also sfc /scannow does not run, "windows resource protection could not perform the requested operation"
 

Attachments

Provide a fresh copy of the COMPONENTS hive as you did in message #3.
I will fix the remaining corruption. In the meantime do not install any updates.
 
Step 1:
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. Download the file COMPONENTS.ZIP and save it to your desktop.
  2. Right-click on it and select Extract all.... Make sure the "Show extracted files when complete" is checked and click Extract.
  3. Now we have the COMPONENTS file that we will be using to replace your current one.
  4. Navigate to C:\Windows\System32\config
  5. Right-click on the current COMPONENTS file and select rename. Rename it to COMPONENTS.bad.
    Note: If you get an error that the file is in use, reboot your computer and then try again.
  6. Take the file from the Components folder on your desktop and paste it into C:\Windows\System32\config

Step 2:
Start the System Update Readiness Tool (SURT) again.
On completion, attach the logfile C:\Windows\Logs\CBS\CheckSUR.log in your next reply.
 

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

Back
Top