[SOLVED] Windows Update keeps asking to restart the computer to finish the installation

zobiax

Contributor
Joined
Nov 5, 2016
Posts
30
Hello,

I am facing a issue with my uncle's computer, Windows Update ask constantly to restart the computer to finish an installation. Even if we do as asked, the WIndows Update popup ask again to do the same operation.

I have tried to run the sfc/scannow but nothing was found.

Here is the result of the SFCFix :

SFCFix version 3.0.0.0 by niemiro.
Start time: 2016-11-05 21:16:57.592
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.






Failed to generate a complete zip file. Upload aborted.




SFCFix version 3.0.0.0 by niemiro has completed.
Currently storing 0 datablocks.
Finish time: 2016-11-05 21:38:40.551
----------------------EOF-----------------------

My CBS logfiles are too large to upload, I will add them in the next post with the SFCFixScript.


Thank you for your help.
 
OK, sorry for the delay. Please do the following.

1. Click your start button and type cmd in the search box.
2. Right-click on cmd that comes up in the search results and select Run as administrator. Answer Yes to the UAC prompt if it appears.
3. Copy/Paste the following into the command-prompt window and hit enter.
reg query HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\WindowsUpdate /s >1.txt && notepad 1.txt

4. Notepad will open showing the WU info. Can you copy and paste this into your next reply?
 
Here the WU info :



HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\WindowsUpdate
SusClientIdValidation REG_BINARY 060228011C2A2000200020002000200020004A0032003100310030003000350031004B00390038005A003900410006A0B3CC82C957500043005300470043003000310032004300310059004C003100530043006800610073007300690073002000530065007200690061006C0020004E0075006D00620065007200
SusClientId REG_SZ be288b6a-ad50-4102-86d2-ea9f5c70bbdf
LastRestorePointSetTime REG_SZ 2016-10-29 13:22:27


HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\WindowsUpdate\Auto Update
NextSqmReportTime REG_SZ 2016-11-25 19:41:43
FeaturedUpdatesNotificationSeqNum REG_DWORD 0x135a
FeaturedUpdatesNotificationSeqNumGenTime REG_SZ 2016-10-08 12:47:01
ElevateNonAdmins REG_DWORD 0x1
AUOptions REG_DWORD 0x4
ScheduledInstallDay REG_DWORD 0x0
ScheduledInstallTime REG_DWORD 0x3
IncludeRecommendedUpdates REG_DWORD 0x1
ActionCenterLastPossibleRestartNotification REG_SZ 2012-10-08 01:00:00
LastRestoreId REG_SZ {746A4784-BEAF-4440-8171-AE0CE1DB69F3}
EnableFeaturedSoftware REG_DWORD 0x1
NextDetectionTime REG_SZ 2016-11-24 19:41:41
NextFeaturedUpdatesNotificationTime REG_SZ 2016-10-29 15:06:20
ScheduledInstallDate REG_SZ 2016-11-25 02:00:00
OfflineDetectionPending REG_DWORD 0x1


HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\WindowsUpdate\Auto Update\RebootRequired
AULastForcedRebootType REG_DWORD 0x5
f6b2c2df-7f58-4362-8ab9-7e466214219a REG_DWORD 0x1
6a11a76c-4296-4ca8-86d4-19eedac18c1a REG_DWORD 0x1
059259cc-7612-4f75-bda7-7148a6210a34 REG_DWORD 0x1
c20fba00-3356-4d93-b163-eafc37fd502c REG_DWORD 0x1
d34fb024-0636-4936-832e-fe43471cb74d REG_DWORD 0x1
d782bf08-27fb-40f9-8318-5188c7b690a6 REG_DWORD 0x1
a8bddeb2-6c48-461c-8e55-449b7d53ce19 REG_DWORD 0x1
2dae9609-c192-46fe-a67e-d62eaffe0770 REG_DWORD 0x1
5f91d5c0-1f87-4d91-b30e-c82fadecc9de REG_DWORD 0x1
f561431d-f380-4995-bbb0-5b5187373094 REG_DWORD 0x1
f286218c-6ff1-48a5-9857-6183388af8bd REG_DWORD 0x1
14b2992c-b408-4d5e-a2ec-cab506cb1ae4 REG_DWORD 0x1
3a901ea6-2772-4da2-ac20-2b64fe4fdad7 REG_DWORD 0x1
8fd03e33-55ce-46b3-bec0-0aeba9745dbc REG_DWORD 0x1
e7edef62-17be-4bf3-b1b4-2e48965c7af1 REG_DWORD 0x1
56989b34-704b-4a90-8c28-b432c53e54bc REG_DWORD 0x1
e2e3b68a-d213-4bb4-ad18-c9c0d110c3db REG_DWORD 0x1
54d5f457-59c0-4b68-ad7a-6251e070f27f REG_DWORD 0x1
f909a219-67ac-48f0-9a22-23244adf55a7 REG_DWORD 0x1
e5a06862-6750-4fd6-b53b-12c7ba013e90 REG_DWORD 0x1
7e9e2f93-e626-4713-bc45-cf0710a630f5 REG_DWORD 0x1
1a6ffa76-7d9c-422d-80c1-ff838b0a3e59 REG_DWORD 0x1
d3c09acc-c2a9-4ec3-9186-5e12ff20625b REG_DWORD 0x1
6b3b2ca0-6f5c-4b18-84de-669d64b77343 REG_DWORD 0x1
d6c5efd3-d587-48be-be2a-f2da04017918 REG_DWORD 0x1
e502c0a7-9cd8-480a-abea-bf5da5d10914 REG_DWORD 0x1
8336e726-5331-401e-8d1a-ebb6819bf55d REG_DWORD 0x1
1059c8ac-4568-4146-b02c-370d486787b3 REG_DWORD 0x1
01be245d-6411-485b-ac08-acd4bf30c078 REG_DWORD 0x1
1498a1c3-0686-40ab-9e57-a39f4140afbb REG_DWORD 0x1
f78ca12b-2024-4a1d-82f7-5f4eaaf9c3b2 REG_DWORD 0x1
5a44ea4d-9446-49bc-ab5f-71c9a8fe21b4 REG_DWORD 0x1


HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\WindowsUpdate\Auto Update\UAS
UpdateCount REG_DWORD 0x0


HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\WindowsUpdate\OSUpgrade
Refresh REG_DWORD 0x1
OSUpgradeRunOnceCount REG_DWORD 0x2
ReservationsAllowed REG_DWORD 0x1


HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\WindowsUpdate\OSUpgrade\State
OSUpgradeState REG_DWORD 0x5
OSUpgradeStateTimeStamp REG_SZ 2016-07-24 21:13:16
OSUpgradePhase REG_DWORD 0x2


HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\WindowsUpdate\Reporting
BatchFlushAge REG_DWORD 0xfe
SamplingValue2 REG_DWORD 0x4b


HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\WindowsUpdate\Reporting\EventCache


HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\WindowsUpdate\Reporting\RebootWatch


HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\WindowsUpdate\Services
DefaultService REG_SZ 7971f918-a847-4430-9279-4a52d1efe18d


HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\WindowsUpdate\Services\7971f918-a847-4430-9279-4a52d1efe18d
AuthorizationCab REG_SZ authcab.cab


HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\WindowsUpdate\Services\Pending
ValidatedPreWsus3RegistrationRequests REG_DWORD 0x1


HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\WindowsUpdate\Setup
SelfUpdateStatus REG_DWORD 0x0
SelfupdateUnmanaged REG_DWORD 0x1
ServerId REG_SZ 9482f4b4-e343-43b6-b170-9a65bc822c77
SetupHandlerUpdateId REG_SZ 61ca813a-7585-442e-a66b-b0d15ce6bdc0
UpdateSessionId REG_DWORD 0xffffffff


HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\WindowsUpdate\Setup\Results


HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\WindowsUpdate\Setup\Results\SelfUpdate
RebootFailCount REG_DWORD 0x0
LastError REG_DWORD 0x0
LastSuccessTime REG_SZ 2014-08-04 19:28:22
 
I see the issue. Please do the following.

Step#1 - 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. If you still have this on your desktop from downloading previously, you don't need to re-download.
  2. Download the file below, SFCScript.txt, 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 SFCScript.txt.
  5. Drag the file SFCScript.txt 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
 

Attachments

Here the content of SFCScript.txt :

SFCFix version 3.0.0.0 by niemiro.
Start time: 2016-11-24 22:11:53.332
Microsoft Windows 7 Service Pack 1 - amd64
Using .txt script file at C:\Users\guy papa\Desktop\SFCScript.txt [0]








RegistryScript::
Successfully took ownership and permissions for registry key HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\WindowsUpdate\Auto Update\RebootRequired.


WARNING: Failed to create backup for registry key HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\WindowsUpdate\Auto Update\RebootRequired.


Failed to delete registry key HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\WindowsUpdate\Auto Update\RebootRequired.


Successfully restored ownership and permissions for registry key HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\WindowsUpdate\Auto Update\RebootRequired.
RegistryScript:: directive failed to complete successfully.








Failed to process all directives successfully.
SFCFix version 3.0.0.0 by niemiro has completed.
Currently storing 1 datablocks.
Finish time: 2016-11-24 22:11:54.112
Script hash: F6oigF77rj76WaWMHuloLGZX4wZ1ALVhcqbKdU4FD0c=
----------------------EOF-----------------------
 
Hmm, didn't work. Please do the following.

Step#1 - Disable Windows Update
1. Click your Start button and type cmd.exe into the search box.
2. Right-click on cmd that comes up in the search results and select Run as administrator. Click Continue if prompted with the User Account Control dialog.
3. Copy/Paste the following into the command-prompt window and hit enter. Note: You will have to right-click your mouse in the command-prompt window and select paste. You can't use the keyboard shortcuts.
sc stop wuauserv && sc config wuauserv start= disabled

4. You should see something similar to the following. The important parts are in Red. If you see this, you did it correctly.

Code:
SERVICE_NAME: wuauserv
        TYPE               : 20  WIN32_SHARE_PROCESS
        STATE              : 3  [COLOR=#ff0000]STOP_PENDING[/COLOR]
                                (NOT_STOPPABLE, NOT_PAUSABLE, IGNORES_SHUTDOWN)
        WIN32_EXIT_CODE    : 0  (0x0)
        SERVICE_EXIT_CODE  : 0  (0x0)
        CHECKPOINT         : 0x1
        WAIT_HINT          : 0x7530
[SC] ChangeServiceConfig [COLOR=#ff0000]SUCCESS
Step#2 - Disable Windows Update
[/COLOR]1. Reboot your computer.
2. Repeat the steps in post#7
 
Here is the content of SFCFix.txt after the 2 steps above

SFCFix version 3.0.0.0 by niemiro.
Start time: 2016-11-25 22:03:10.700
Microsoft Windows 7 Service Pack 1 - amd64
Using .txt script file at C:\Users\guy papa\Desktop\SFCScript.txt [1]








RegistryScript::
Successfully took ownership and permissions for registry key HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\WindowsUpdate\Auto Update\RebootRequired.


WARNING: Failed to create backup for registry key HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\WindowsUpdate\Auto Update\RebootRequired.


Failed to delete registry key HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\WindowsUpdate\Auto Update\RebootRequired.


Successfully restored ownership and permissions for registry key HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\WindowsUpdate\Auto Update\RebootRequired.
RegistryScript:: directive failed to complete successfully.








Failed to process all directives successfully.
SFCFix version 3.0.0.0 by niemiro has completed.
Currently storing 1 datablocks.
Finish time: 2016-11-25 22:03:11.293
Script hash: F6oigF77rj76WaWMHuloLGZX4wZ1ALVhcqbKdU4FD0c=
----------------------EOF-----------------------
 
Here the content of SFCFix.txt in Safe Mode With Networking :

SFCFix version 3.0.0.0 by niemiro.
Start time: 2016-11-26 19:46:44.972
Microsoft Windows 7 Service Pack 1 - amd64
Using .txt script file at C:\Users\guy papa\Desktop\SFCScript.txt [2]








RegistryScript::
Successfully took ownership and permissions for registry key HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\WindowsUpdate\Auto Update\RebootRequired.


WARNING: Failed to create backup for registry key HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\WindowsUpdate\Auto Update\RebootRequired.


Failed to delete registry key HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\WindowsUpdate\Auto Update\RebootRequired.


Successfully restored ownership and permissions for registry key HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\WindowsUpdate\Auto Update\RebootRequired.
RegistryScript:: directive failed to complete successfully.








Failed to process all directives successfully.
SFCFix version 3.0.0.0 by niemiro has completed.
Currently storing 1 datablocks.
Finish time: 2016-11-26 19:46:45.144
Script hash: F6oigF77rj76WaWMHuloLGZX4wZ1ALVhcqbKdU4FD0c=
----------------------EOF-----------------------
 
Please do the following.

Step#1 - Retrieve Software Hive
Note: The Software hive has confidential and sensitive information in it so please send me a PM with a link to the hive so it's not in the public form.

  • Open RegBack by clicking on your Start button and clicking on Registry Backup and Restore. Answer Yes on the User Account Control dialog if prompted.
  • Click the New Backup button.
  • Click the link that says "Click here to view details of the hives in the backup".
  • Uncheck the "Current User (recommended)" checkbox at the top of the form. Keep "System (recommended)" checked.
  • At the bottom of the form, uncheck all options except "C:\Windows\System32\config\SOFTWARE" and click OK.
  • Click the Start button to begin the backup.
  • When it says Finished successfully, click the Close button.
  • This will bring you back to the main screen of the program. You will see two entries in this list. Right-click on the one from today 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 one file which is named SOFTWARE.
  • Copy this file to your Desktop and overwrite any one that is currently there.
  • Now right click on this file on your desktop and select Send to > Compressed (zipped) folder.
  • Then please upload the zip file(s) to your favourite file sharing website (it will be too big to upload here). Examples of services to upload to are Dropbox or One Drive or SendSpace and then just PM me your link.
  • You can close any open windows you have as well as the RegBack program now.
 
Sorry the OS is in french, I don't know where is "Registry Backup and Restore" ​to perform the operation
 
Try this instead.


Manually Delete Registry Key

1. Click your Start button and type regedit in the search box.
2. Right-click on regedit.exe that comes up in the search results and select Run as administrator. Answer Yes to the UAC prompt.
3. The registry editor will open which is a window divided vertically into two panes. Make sure you scroll all the way to the top of the screen and click any black downward pointing arrows so that they turn white and all the keys are collapsed. It should look similar to the following.
Capture.JPG

4. Now click the arrow next to HKEY_LOCAL_MACHINE and it will expand all the subkeys beneath it.
5. Scroll down and find the subkey named SOFTWARE and expand that. Continue expanding the following ones Microsoft\Windows\CurrentVersion\WindowsUpdate\Auto Update
6. Beneath Component Based Servicing you should see a key named RebootRequired
7. Right-click on the key named RebootRequired and select Permissions...
8. On the Permissions dialog click the Advanced button.
9. Click the Owner tab on the Advanced Security Settings dialog.
10. Click the Other users or groups... button
11. Type Everyone in the text box and click OK.
12. Check the box "Replace owner on subcontainers and objects".
13. Click the Permissions tab again and uncheck "Include inheritable permissions from this object's parent".
14. If prompted with a Windows Security warning with Add and Remove buttons, click Add.
15. Click OK to close the Advanced Security Settings dialog.
16. Make sure the Everyone group is selected in the Permissions dialog and ensure that the checkbox for Full Control under the Allow column is checked. Click OK.
17. Now, right click on the RebootRequired key and select Delete. Answer Yes to the confirm dialog.
 
I manually delete the key "RebootRequired" in the registry.
Do I need to perform an another task before trying Windows Update ?
 
The windows update service seems stop even after the reboot.

Will the line "sc start wuauserv && sc config wuauserv start= enabled" help me to fix the issue ?
 
I run this line "sc config wuauserv start= delayed-auto && sc start wuauserv" to be able to search a Windows update
I am waiting for result now
 

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

Back
Top