Windows 7 update failure

dennis-v-d

Member
Joined
Apr 9, 2014
Posts
10
I got trouble using windows update. It keeps telling me to restart the computer when I try to look for updates. I tried several troubleshooting from windows itself when I run into your SFCFix.exe tool. This is what it generated:

SFCFix version 2.2.1.0 by niemiro.
Start time: 2014-04-09 17:15:31.091
Not using a script file.


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


Successfully processed all directives.
SFCFix version 2.2.1.0 by niemiro has completed.
Currently storing 0 datablocks.
Finish time: 2014-04-09 17:15:52.287
----------------------EOF-----------------------


I hope one of you can help me further!
 
Hi,

Can you please zip up and upload the following file please:

C:\Windows\WindowsUpdate.log

Thanks,
Stephen
 
Hello Dennis,

Let's give this a try:

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, especially if the computer is not experiencing these exact issues. If you are after assistance, please start a thread of your own.

Please start an Elevated Command Prompt: How to start an Elevated Command Prompt in Windows 7 and Vista and copy and paste in the following:

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


Type Y and press enter if you are asked "Are you sure?" to any line. Ignore any failure messages, they are perfectly normal and nothing to worry about.

Stephen
 
Have you rebooted since running those commands? I meant to say that in my last post.
 
Yes I rebooted twice since running those commands, without success as it still cannot find updates and keeps asking me to restart the computer
 
OK. This is quite an elusive problem, and there are multiple reasons that this issue can occur.

First port of call is checking the SURT log, and yours comes back clear:
Code:
=================================
Checking System Update Readiness.
Binary Version 6.1.7601.22471
Package Version 23.0
2014-04-02 21:30

Checking Windows Servicing Packages

Checking Package Manifests and Catalogs

Checking Package Watchlist

Checking Component Watchlist

Checking Packages

Checking Component Store

Summary:
Seconds executed: 334
 No errors detected


=================================
Checking System Update Readiness.
Binary Version 6.1.7601.22471
Package Version 23.0
2014-04-09 19:21

Checking Windows Servicing Packages

Checking Package Manifests and Catalogs

Checking Package Watchlist

Checking Component Watchlist

Checking Packages

Checking Component Store

Summary:
Seconds executed: 279
 No errors detected

Could you please do the following for me:


  1. Click Start, type services.msc into the Search box and press Enter
  2. Scroll down until you see Windows Module Installer
    2014-04-10 14_56_32-Services.png
  3. Click Start in the left hand column to start the service.
  4. If the service starts without any errors, double click it, and change the Startup Type to Automatic. If it doesn't start, let me know and don't change its startup type
    2014-04-10 14_57_34-Windows Modules Installer Properties (Local Computer).png
  5. Try Windows Update again

Regards,
Stephen
 
Hi,

As a first step, can you please navigate to C:\Windows\winsxs\Pending.xml and zip it up and attach it to your next post. Don't delete this file though, despite some advice on the internet saying you can. Deleting this file can cause updates to half install, which can make the system in an even worse state than we started in!

Thanks,
Stephen
 
Hi,

From the looks of it, there is a registry key that is 'stuck' and therefore telling the computer it needs to reboot. This flag needs to be reset. I can do this, but I need to get some information from you in order to know which key to reset.

The instructions involve you browsing and perhaps modifying the registry, which is the core of Windows. Whilst the steps I am asking you to do are perfectly safe, if you are confused at any point, let me know.

First, open regedit.exe by typing regedit into the Search box of the start menu and pressing Enter. Press "Yes" on the UAC box that pops up.

Click the arrow to the left of HKEY_LOCAL_MACHINE and look for the COMPONENTS hive:
click for full-size image


If you do not see it, then you need to manually load it. Click on HKEY_LOCAL_MACHINE to select it, and then click File --> Load Hive. Browse to the folder C:\Windows\System32\config and select the file called COMPONENTS. It will have no file extension:
click for full-size image


Enter COMPONENTS when asked what to name the hive. It should now appear under HKEY_LOCAL_MACHINE.
click for full-size image


Click once on COMPONENTS, and then take a screenshot of your screen and attach it to your next post. Taking a screen capture (printing your screen) - Microsoft Windows Help

Regards,
Stephen
 
Perfect, thank you.

Some more information is required before I can make a fix. First, please restart your computer once more.

Then open up regedit again as before.

Please navigate to HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Component Based Servicing\ and let me know whether the following subkey (folder) exists: RebootPending.
click for full-size image


Now navigate to HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\WindowsUpdate\Auto Update\ and let me know whether the following subkey (folder) exists: RebootRequired

Regards,
Stephen
 
Hi Stephan,

The folder RebootPending exists. It contains one (standard) key without value. The RebootRequired key/folder is not present.

Dennis
 
Thank you. I need to consult another expert before I continue here. I will let you know what steps to take when I've heard back from him.

Thanks for your patience and co-operation.

Regards,
Stephen
 
Hello again,

I have heard back from another expert and we have discussed your problem. Let's start with this:

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. Open an Elevated Command Prompt by following the instructions here: https://www.sysnative.com/forums/wi...-prompt-window-windows-windows-vista-7-a.html
  2. When command prompt opens, copy and paste the following commands into it, press enter after each

    DISM.exe /Image:C:\ /Cleanup-Image /RevertPendingActions.

Reboot the machine and try Windows Update again


Regards,
Stephen
 

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

Back
Top