Windows 7 Windows Update running for > 24 hours and not installing any updates. WindowsUpdate.diagcab...

  • Thread starter Thread starter Treyredyns
  • Start date Start date
T

Treyredyns

This is a Toshiba Satellite L655-55096 laptop; it was having atrociously horrible internet access speeds, but that problem appears to have been resolved (see details below). At this point the Windows Update is not working (it runs continuously without ending and it does not install any updates - even when set to automatically install them).



Here is the background & troubleshooting history:

a) Apparently Toshiba included Norton PC Checkup with its initial PC software. When I started troubleshooting, I found the link from the desktop was stranded because the .exe file was missing [this seemed very strange!!].

After reading online about the problems with earlier versions, I uninstalled it and installed the new version supported by Softonic. It ran, supposedly checking some "218 things" or so, but apparently did not repair anything and only pointed me to purchase other products.

So, I uninstalled it.



b) Regarding existing installed updates:

i) Installed updates are grouped as follows:

Adobe Reader 9.3.4 (1 total: on 10/14/2010)

Microsoft .NET Framework 4 Client Profile (11 total: 1 on 3/9/2012, 10 on 4/5/2012)

Microsoft Office Home and Student 2007 (17 total: 6 on 3/28/2012, 11 on 4/14/2012)

Microsoft Silverlight 4.1.10111.0 (1 on 3/12/2012)

Microsoft Windows (92 total: 1 on 3/17/2011, 12 on 4/5/2011, 1 on 4/13/2011, 12 on 4/17/2011, 6 on 5/19/2011, 1 on 3/9/2012, 38 on 3/12/2012, 6 on 3/15/2012, 2 on 4/14/2012, 12 on 7/18/2016, 1 on 9/17/2017=KB3033929)



ii) Observations:

- Other than a recent security update (KB3033929) downloaded by Adware (which I approved for installation on 9/19/2017), the latest updates were installed on 7/18/2016.

- Based on update files stored in the Downloads folder, it looks like these 7/18/2016 updates were caused by manually installation on 7/18/2016 of:

KB976932

IE11 (IE-Windows6.1-x64-en-us.exe is the file)

-Note that IE is currently:

Version: 11.0.9600.17843

Update Versions: 11.0.20 (KB3058515)



c) Regarding anti-virus and spyware protection:

i) Until I started troubleshooting, Trend Micro has been the only anti-virus software used as far as I know. The "C:\Program Files\Trend Micro" Folder was installed in Apr 2011.



ii) While troubleshooting the initial slow internet access problem, I installed Spybot (on 9/14/2017).

When initially installing Spybot in normal mode, I got an error message about SDWSCSvc.exe. So when I installed it again in safe mode, I ended up downloading the file from their webpage and copying it to the proper location (C:\program files (x86)\Spybot - Search & Destroy 2) after renaming the existing file.



iii) I then tried to install Adaware in safe mode, but it could not download Adaware's installation file properly - it kept timing out and restarting - then seemed to lose internet access completely - I had to exit safe mode to run Windows internet connection diagnostics; it seemed to work a little better after running troubleshooting on the PCs wireless adapter (then Adaware downloaded its installation file rapidly/smoothly). Then Adaware downloaded the Microsoft Windows security update mentioned above and I approved its installation. At that time, Adaware did not actually install.

After that the internet access seems to work OK (so far).

Later I installed Adaware in its "backup" mode since it detected that Trend Micro was already installed.



d) Recognizing that the Windows security update had apparently fixed the internet access problem, I tried checking for additional Windows updates. But, I got the following message:

“Windows Update cannot currently check for updates because the service is not running. You may need to restart your computer."

Obviously, restarting the computer didn’t appear to fix anything.



So, I started troubleshooting this new problem and researched the Windows Support community posts for help. I ended up trying multiple things as follows (recollected from my memory and notes as best I can remember):

i) I ran

sfc c: /scannow

from CMD screen but it did not find any problems.



ii) I followed the instructions from the following post:

https://answers.microsoft.com/en-us/windows/forum/all/windows-update-cannot-currently-check-for-updates/b250e431-cdfc-46ac-a044-eaaee17491cf

=====================================================================================

Click Start

Type: cmd

Right click on cmd in start menu and select 'Run as Administrator'

Type: net stop wuauserv

Hit Enter

Type: ren c:\windows\SoftwareDistribution softwaredistribution.old

Hit Enter

Type: net start wuauserv

Hit Enter

Type: exit

Hit Enter

Attempt to download updates

=====================================================================================



But this didn’t help. So, eventually I followed a modified version of the instructions above …

-stopped Windows Update service

-renamed the folder

-stopped Trend Micro & Spybot

-restarted Windows Update service



Then with Trend Micro & Spybot still stopped, I ran Windows Update and it identified that it needed to be updated; so, I gave it permission and it downloaded a newer version and restarted. Now it checks for updates; but, takes a loooong time; I even let it run overnight and through the next day, but it did not actually perform any installations and did not end).

[Later, after rebooting, of course Trend Micro and Spybot are running again.]



Note for other readers… access to the different services (to configure, stop & start them) is also available by:

https://answers.microsoft.com/en-us/windows/forum/all/windows-update-cannot-currently-check-for-updates/3e0b0a1c-4de0-4dd5-9cc2-c6e672f0bed4

=====================================================================================

Click Start -> Control Panel -> Administrative Tools -> Services... select services, reset them & make sure they are set for enable or automatic.

Method 1: I would suggest you to check all the services: windows update services, Cryptographic Services and Background Intelligent Transfer

Service (BITS). Verify the Windows update service is started. If it is not started, start the service and check.

Follow these steps:

a) Click Start, type “services” on the start search box and press enter.

b) Scroll down and check for the above mentioned services.

c) Double click on the service and start it if it is not started.

=====================================================================================



e) Since Windows Update appeared to be running but apparently not actually working, I started researching in the Windows community posts as to why it was running without end and not actually installing any updates. I learned about:

i) WindowsUpdate.diagcab

After downloading this, I have record of an error stating:

The module “mshtml.dll” was loaded but the entry-point DllRegisterServer was not found.

Make sure that “mshtml.dll” is a valid DLL or OCX file and then try again.

(I don’t remember what I did to get past that error)

Then, when running WindowsUpdate.diagcab I initially got the following unfixed errors:

- Service registration is missing or corrupt

- Windows Update error 0x80070003

It also showed two cases of fixing:

- Problems installing recent updates



ii) I downloaded and ran MicrosoftProgram_Install_and_Uninstall.meta.diagcab. Apparently, this did not help.



iii) I downloaded accesschk.exe, and as instructed in the post, I tried to copy string:

accesschk.exe -s -n "nt service\trustedinstaller" -k "hklm\software\Microsoft\Windows\CurrentVersion\Component Based Servicing" >accesschk.txt

into the CMD window… but apparently a copied string cannot be pasted into a CMD window.



I guess I didn’t want to type the whole string, so I created a batch file with the string included.

I ran the batch file from inside the command window, but got the response:

An incorrect parameter was

entered for the command.



So from windows folder, both double clicking or right clicking to “Run as administrator” on the batch file ran the program, but resulted in a window /w response:

Reports effective permissions for securable objects has stopped working.

and also Accesschk.txt file (with corresponding save date/time) was empty.



Note: I initially had problems with the batch file… then when I added a “pause” command at the end of the batch file, I was able to see that the accesschk.txt file needed to be placed in the Windows/System32 folder.



f) After trying different things, I ran the WindowsUpdate.Diagcab to see if there were still errors. At some point, I got a different error that was not fixed:

-Windows Update error 0x80070005(2017-09-19-T-12_36_55A)

It also showed a case of fixing:

- Service registration is missing or corrupt

And two cases of fixing:

- Problems installing recent updates



So, following the suggestions from a post, I downloaded SubInACL and created a .cmd file to run:

=====================================================================================

Set OSBIT=32

IF exist "%ProgramFiles(x86)%" set OSBIT=64

set RUNNINGDIR=%ProgramFiles%

IF %OSBIT% == 64 set RUNNINGDIR=%ProgramFiles(x86)%

subinacl /subkeyreg "HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Component Based Servicing" /grant="nt service\trustedinstaller"=f

=====================================================================================

That didn’t seem to help and I created a batch file to run the same thing to capture the results:

=====================================================================================

subinacl /subkeyreg "HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Component Based Servicing" /grant="nt service\trustedinstaller"=f >Fix_Error.txt

pause

=====================================================================================

Note: Again, using the pause helped me see that the .exe file needed to be located in the Windows/System32 folder.



g) Present error:

i) So, after all this, running WindowsUpdate.Diagcab today showed:

-Windows Update error 0x80070005(2017-09-23-T-06_03_09P)

It also showed a case of fixing:

- Service registration is missing or corrupt

And two cases of fixing:

- Problems installing recent updates

ii) Also, running the accesschk batch file, from e)iii) above, still got the same results today (“ Reports effective permissions for securable objects has stopped working.

“).

Continue reading...
 
Back
Top