[SOLVED] Windows Update stopped working (Manual updates not working either)

AndreB

Member
Joined
Jun 15, 2013
Posts
11
Location
Hersham Beach, South Africa
I did a clean install of Windows 7 64bit in March 2013, after which Windows Update brought my installation up to date. Recently, I wanted to use the Help of an old 32bit application and was informed that I need to install WinHlp32.exe. It is when this installation did not install that I started investigating and realised that Windows Update also stopped somewhere in April 2013. No warnings are given in Action Centre, but if I click on Windows Update I see that updates were not installed and when I click Install, they fail immediately with Code 80070002. I have done the following to date, with no luck: 1) Downloaded the System Update Readiness tool, but it does not install, so I cannot run it. 2) Run the System File Checker tool without success. 3) Reset the content of the Catroot2 folder. 4) Checked contents of COMPONENTS in registry and they are correct. 5) Stopped the wuauserv service and renamed the SoftwareDistribution folder and restarted wuauserv. Still no luck. 6) Cleared the BITS queue. 7) Ran Chkdsk on the Windows partition and found no errors. In between each of these steps I tried to re-install updates without success. The only thing I have not yet done is to do a Repair Install of Win7. Then I found your Forum and decided to ask for help.
regards...AndreB
 
Hi AndreB,

Sorry for the delay. It's a very busy time of the year for us at the moment as both niemiro and I have exams so everything is taking a while to get through. I'm off on holiday in 14 hours' time, so I'll have to keep this short as I really need to pack!

Command Prompt

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

    fsutil resource setautoreset true %systemdrive%\

    attrib -r -s -h %SystemRoot%\System32\Config\TxR\*
    del %SystemRoot%\System32\Config\TxR\*

    attrib -r -s -h %SystemRoot%\System32\SMI\Store\Machine\*
    del %SystemRoot%\System32\SMI\Store\Machine\*.tm*
    del %SystemRoot%\System32\SMI\Store\Machine\*.blf
    del %SystemRoot%\System32\SMI\Store\Machine\*.regtrans-ms

Then run this FixIt in aggressive mode: You receive a "0x80070002" or "0x80070003" error code after you download an update from Windows Update, from Microsoft Update, or from Windows Server Update Services

Try updating, then zip up your CBS log and attach it to your post please: C:\Windows\Logs\CBS\CBS.log

Tom
 
Thanks for making a special effort Tom982. I have done as you suggested but unfortunately the Install step failed immediately again. Attached the new CBS log.....Regards...AndreB
 

Attachments

Hi Andre,

Can you post your Windows Update log as well please? I've reviewed your CBS log and there are no issues there.

C:\Windows\WindowsUpdate.log

Tom
 
Hi Andre,

That's a shame, quite a few issues similar to yours were related to McAfee so I thought we were onto something!

I can see the 0x80070002 present in your WindowsUpdate.log but it doesn't mention what's returning this error so it's not useful at all.

Is there anything in the CheckSUR log?

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

If not, I'm afraid it's repair install time:

https://www.sysnative.com/forums/wi...-install-windows-windows-7-windows-vista.html

Tom
 
Hmm, this in your DISM log is interesting:

Code:
2013-03-03 07:52:07, Info                  CSI    00000001 Shim considered [l:256{128}]"\??\C:\Windows\Servicing\amd64_microsoft-windows-servicingstack_31bf3856ad364e35_6.1.7601.17592_none_672ce6c3de2cb17f\pkgmgr.exe" : got STATUS_OBJECT_PATH_NOT_FOUND

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 files 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/AndreB/SFCFix.zip

This will be my last fix. If it fails, go ahead with the repair install. I've got to wake up in about 6 hours :(

Tom
 
Right Tom, here is the file...
Code:
[/COLOR]SFCFix version 1.5.6.1 by niemiro.Start time: 2013-06-22 18:51:11.874
Using .zip script file at C:\Users\AndreB\Desktop\SFCFix.zip








PowerCopy::
Successfully took permissions for file or folder C:\Windows\Servicing
Successfully took permissions for file or folder C:\Windows\winsxs\amd64_microsoft-windows-servicingstack_31bf3856ad364e35_6.1.7601.17592_none_672ce6c3de2cb17f\pkgmgr.exe


Successfully created directory tree \\?\C:\Windows\Servicing\amd64_microsoft-windows-servicingstack_31bf3856ad364e35_6.1.7601.17592_none_672ce6c3de2cb17f.


Successfully copied file \\?\C:\Users\AndreB\AppData\Local\niemiro\Archive\pkgmgr.exe to \\?\C:\Windows\Servicing\amd64_microsoft-windows-servicingstack_31bf3856ad364e35_6.1.7601.17592_none_672ce6c3de2cb17f\pkgmgr.exe.
Successfully copied file \\?\C:\Users\AndreB\AppData\Local\niemiro\Archive\pkgmgr.exe to \\?\C:\Windows\winsxs\amd64_microsoft-windows-servicingstack_31bf3856ad364e35_6.1.7601.17592_none_672ce6c3de2cb17f\pkgmgr.exe.


Successfully restored ownership for C:\Windows\Servicing
Successfully restored permissions on C:\Windows\Servicing
Successfully restored ownership for C:\Windows\winsxs\amd64_microsoft-windows-servicingstack_31bf3856ad364e35_6.1.7601.17592_none_672ce6c3de2cb17f\pkgmgr.exe
Successfully restored permissions on C:\Windows\winsxs\amd64_microsoft-windows-servicingstack_31bf3856ad364e35_6.1.7601.17592_none_672ce6c3de2cb17f\pkgmgr.exe
PowerCopy:: directive completed successfully.








Successfully processed all directives.
SFCFix version 1.5.6.1 by niemiro has completed.
Currently storing 2 datablocks.

Finish time: 2013-06-22 18:51:13.749[COLOR=#161616]
Hope I have done it correctly...Tx...Andre
 
I have tried to Install again but got the same error. I am going to re-boot just in case and try again. If still a problem then I may have to repair. Not looking forward to it. Thanks again for your help. Much appreciated. Enjoy the break...Andre
 
Alas, no luck. Same result. Really frustrating. The failure is immediate, which gives me the impression that it is a flag or some registry entry that is corrupt or something. It does not even try installing!
Anyway, enough for tonight. I will look at this tomorrow when I am fresh.
One again thanks for spending the time when you are about to go on holiday....Andre
 
I managed to solve my problem EVENTUALLY, without doing a repair install!!
Just a quick update as to what I did. After all the above changes and still no luck, I decided to run the System File Checker (SFC.exe) again and when checking the resulting log, I realized something was wrong with my Windows Update Agent (wuauclt.exe) because SFC complained about a mismatching hash. So I went to my wuauclt.exe in System32 folder and found that when I hover over it, it does not display the Microsoft credentials and version number. I then ran HashMyFiles.exe (available here HashMyFiles: Calculate MD5/SHA1/CRC32 hash of files) on wuauclt.exe and found that the SHA1 and SHA256 hashes do not match the valid ones published by Microsoft. I immediately suspected malware, so next I ran all the Malware checks I could but nothing was found. In the end, I renamed the "suspicious" wuauclt.exe in System32 and copied a valid copy with correct version number (corresponding to the related wuaueng.dll and wups2.dll) to System32 folder and my problem was solved. I was lucky to get a copy of wuauclt.exe from my neighbor with same operating system level as me but another option is to extract a valid copy from the latest Win7 iso copy (see Extract Files from Windows 7 Installation DVD - Windows 7 Help Forums )
Thanks again to Tom for all the help.
This thread can now be closed as solved.
 

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

Back
Top