[SOLVED] WINDOWS UPDATE ERROR 80070002 - IN PLACE UPGRADE DON'T WORK

robb782

Contributor
Joined
Aug 25, 2013
Posts
25
Hello everybody,
thank you for the great forum and help you give.
I'm using Windows 7 and Windows Update doesn't work anymore with error 800700002.
I've tried a lot of things but nothing worked, sfc /scannow command as admin got: "windows resource protection could not perform the requested operation.",
also an in place upgrade of Windows 7 didn't work, getting error about updating files and restarting installation.
Here are attached my log files.
Sorry for the bad english,
thank you very much for the help,

Roberto
View attachment CheckSUR.logView attachment CBS.logView attachment CheckSUR.persist.log
 
Hello, and welcome to Sysnative :)

WARNING: This fix has been created specifically for this user. If you are not this user, do not follow these instructions as you may cause serious harm to your computer.

Download a copy of SFCFixScript.zip attached to this post, and save it to your Desktop.
Then download a copy of SFCFix.exe from here: https://www.sysnative.com/forums/downloads/sfcfix/, and also save it to your Desktop.
Single click on SFCFixScript.zip and drag and drop it on top of SFCFix.exe. SFCFix will open and perform a fix for your CheckSUR.log corruption.
A logfile called SFCFix.txt will open (and be saved to your Desktop). Please copy and paste the report into your next reply.

Richard
 

Attachments

Hello Niemiro,
thank you very much for the help.
I followed your istructions and attached there is the log.
Thanks again,

Roberto
 

Attachments

Hello again :)

Can you please follow my instructions one more time please, exactly as before. You did it absolutely perfectly, however, it looks like the download of the zip file was corrupt. So, could you re-download the zip file from my above post, use the new zip file, and hopefully it will work properly this time :)

Richard
 
Hi Roberto,

Richard's script should have repaired all of your corruptions but we need to run SFC to finish the job:

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.

Tom
 
Hello Tom,
thank you but the sfc /scannow command returns this message: "windows resource protection could not perform the requested operation".
Also with sfc /verifyonly the message is the same.
What can we do now?
Thank you,

Roberto
 
Hi Roberto,

That's a shame! Can you attach your CBS log to your next post please? It should reveal the problem.

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

Tom
 
Hi Roberto,

This should fix your error:

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, SFCFix.txt, and save this to your Desktop. Ensure that this file is named SFCFix.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 SFCFix.txt.
  5. Drag the file SFCFix.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.

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.

Tom
 

Attachments

Hello Tom,
thanks again.
Sadly the sfc /scannow command returned again this message: "windows resource protection could not perform the requested operation".
Attached there are the log and a picture of my registry, you see a strange key with oriental text, when I try to delete it I get the message (in italian in the picture):
impossible to delete the key, error in registry.
Thank you,

Roberto

View attachment SFCFix.txtregistry.jpg

 
Hi Roberto,

Looks like I'm going to have to fix this at my end :) I'll need to manually repair the binary of your COMPONENTS hive:

Upload a file to Dropbox

Note: If you prefer, the same techniques can be applied to your Skydrive however these instructions may not necessarily work for Skydrive.

  1. If you haven't already created a Dropbox account, please do so Here
  2. Although this procedure can be done directly through the website, it is much easier to do so via the Windows client which can be downloaded from the Dropbox website:

    https://www.dropbox.com/install
  3. After you have downloaded and installed that, you should now see Dropbox in your Favourites box in Windows Explorer. This is the folder that will be synchronised with the Dropbox servers, anything that you wish to back up online can be put in here, but today we will be using it to transfer files.

    Favourites%20list.PNG


  4. To access your Dropbox folder, just click on the link in the top left hand corner of Windows Explorer (accessible from any location - Documents etc.). Alternatively, you can double click on the icon
    icon.jpg
    found in your system tray (next to the time). If you are still having issues locating this folder, unless otherwise specified, it can be found under this location: C:\Users\{Your username}\Dropbox
  5. Copy all of the following files to the Public folder in your Dropbox:
    • C:\Windows\system32\config\components (it has no file extension)

  6. Select all files by pressing Ctrl+A then right-click and select Send to > Compressed (zipped) folder
  7. This will create a .zip
    zip_icon.png
    file in your Public folder.
  8. Right-click on this file and select
    icon.jpg
    Copy Public Link then Paste (Ctrl+V) this link into your next post for me please

Tom
 
Hi Roberto,

Thanks for uploading your COMPONENTS hive, I've managed to fix all of the corruption manually so all that's left to do now is to replace your current hive with this one.

Download this file please: https://dl.dropboxusercontent.com/u/16537616/Fixes/COMPONENTS/robb782/components.zip

Extract the contents to your Desktop, there should be one file named components.

Then navigate to C:\Windows\system32\config

And rename the file components to components.bak.

Then copy and paste the components file on your Desktop to this folder. Reboot and try updating again.

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

Then download and install the System Update Readiness Tool:

Download System Update Readiness Tool for Windows 7 for x64-based Systems (KB947821) [August 2013] from Official Microsoft Download Centre

Post the log when complete:

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



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.

Tom
 
Hi Roberto,

You're most welcome! I'm glad to hear Windows Update is up and running again but we're not quite finished.

Code:
=================================
Checking System Update Readiness.
Binary Version 6.1.7601.21645
Package Version 20.0
2013-09-02 23:41

Checking Windows Servicing Packages

Checking Package Manifests and Catalogs

Checking Package Watchlist

Checking Component Watchlist

Checking Packages

Checking Component Store
(f)	CSI Corrupt Identity	0xC0000161	(not UTF8)	45fc4c69d20..f8ae1d309af_b03f5f7f11d50a3a_6.1.7601.21768_94c445ab0401Ç796	Bad identity
(f)	CSI Missing Deployment Key	0x00000000	45fc4c69d20..f8ae1d309af_b03f5f7f11d50a3a_6.1.7601.21768_94c405ab0401c796	HKLM\Components\CanonicalData\Deployments	
(f)	CSI Payload File Missing	0x00000000	CPFilters.dll	x86_microsoft-windows-cpfilters_31bf3856ad364e35_6.1.7600.16385_none_374147ac3f81e4fb	
(f)	CSI Payload File Missing	0x00000000	wscisvif.dll	amd64_microsoft-windows-securitycenter-core_31bf3856ad364e35_6.1.7600.16385_none_76354f59cbc9dce8	

Summary:
Seconds executed: 236
 Found 4 errors
  CSI Missing Deployment Key Total count: 1
  CSI Corrupt Identity Total count: 1
  CSI Payload File Missing Total count: 2

Two of these errors are caused by registry corruption that has been detected since my last fix. Can you re-upload your components hive to Dropbox please, then send me the link?

C:\Windows\system32\config\components

One of the remaining errors will be fixed with this. I need to download a Windows 7 ISO image to get the other, will post back later.

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.

https://dl.dropboxusercontent.com/u/16537616/Fixes/SFCFix/Scripts/robb782/SFCFix.zip

Tom
 
Hello Tom,
here the log:

Code:
SFCFix version 1.5.7.0 by niemiro.Start time: 2013-09-03 17:06:37.256
Using .zip script file at G:\Users\Roberto\Desktop\SFCFix.zip








PowerCopy::
Line blocked (invalid double quotation marks or line structure): G:\Users\Roberto\AppData\Local\niemiro\Archive\CPFilters.dll    G:\Windows\winsxs\x86_microsoft-windows-cpfilters_31bf3856ad364e35_6.1.7600.16385_none_374147ac3f81e4fb\CPFilters.dll.
PowerCopy:: directive completed successfully.








Successfully processed all directives.
SFCFix version 1.5.7.0 by niemiro has completed.
Currently storing 8 datablocks.
Finish time: 2013-09-03 17:06:37.417

----------------------EOF-----------------------


And here the components file:
https://www.dropbox.com/s/9p4ywgoqkzn02ls/components.zip

Thank you!

Roberto


 
Last edited by a moderator:
Hi Roberto,

Hopefully this will be the penultimate fix:

Download this file please: https://dl.dropboxusercontent.com/u/16537616/Fixes/COMPONENTS/robb782/components.zip

Extract the contents to your Desktop, there should be one file named components.

Then navigate to C:\Windows\system32\config

And rename the file components to components.bak.

Then copy and paste the components file on your Desktop to this folder. Reboot and try updating again.

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

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.

https://dl.dropboxusercontent.com/u/16537616/Fixes/SFCFix/Scripts/robb782/SFCFix.zip

Then download and install the System Update Readiness Tool:

Download System Update Readiness Tool for Windows 7 for x64-based Systems (KB947821) [August 2013] from Official Microsoft Download Centre

Post the log when complete:

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

Tom
 
Hi Roberto,

I missed one of the corruptions but as the SURT managed to fix it from the other data that I had repaired, so all is well!

Code:
=================================
Checking System Update Readiness.
Binary Version 6.1.7601.21645
Package Version 20.0
2013-09-04 07:53

Checking Windows Servicing Packages

Checking Package Manifests and Catalogs

Checking Package Watchlist

Checking Component Watchlist

Checking Packages

Checking Component Store
(f)	CSI Corrupt Identity	0xC0000161	(not UTF8)	45fc4c69d20..f8ae1d309af_b03f5f7f11d50a3a_6.1.7601.21768_94c405ab0401c796	Bad identity
(fix)	CSI Corrupt Identity	CSI Registry Item Repaired	45fc4c69d20..f8ae1d309af_b03f5f7f11d50a3a_6.1.7601.21768_94c405ab0401c796
(f)	CSI Payload File Missing	0x00000000	wscisvif.dll	amd64_microsoft-windows-securitycenter-core_31bf3856ad364e35_6.1.7600.16385_none_76354f59cbc9dce8	

Summary:
Seconds executed: 234
 Found 2 errors
 Fixed 1 errors
  CSI Corrupt Identity Total count: 1
  Fixed: CSI Corrupt Identity.  Total count: 1
  CSI Payload File Missing Total count: 1

One last file to replace, then you're good to go!

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.

https://dl.dropboxusercontent.com/u/16537616/Fixes/SFCFix/Scripts/robb782/SFCFix.zip

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.

Tom
 

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

Back
Top