Installer hangs at Listing ids of missing updates...

Re: Installer hangs at Listing ids of missing updates...

Postby WSUSUpdateAdmin » 15.01.2012, 22:23

Hi.

First of all: The latest performance improvements only affect the download part, not the installation part.

During installation, at
Code: Select all
Listing ids of missing updates (please be patient, this will take a while)...

, WOU simply executes
Code: Select all
objUpdateSearcher.Search("Type='Software' and IsInstalled=0")

(see ListMissingUpdateIds.vbs), which calls the "Windows Update Agent" (WUA).

So your "question":
darpa999 wrote:Great delays are experienced when the UpdateInstaller is executed and hangs for at least 1 hour which unacceptable.
Will there be any fixes for this issue in the upcoming versions?

must be answered with "no" from my side.

Ask Microsoft - it's their code.
You may run the MBSA in offline mode to prove that - I bet it'll run the same time.

RTW
WSUSUpdateAdmin
Administrator
 
Posts: 2245
Joined: 07.07.2009, 14:38

Re: Installer hangs at Listing ids of missing updates...

Postby Schlumi » 11.10.2015, 12:59

Some anecdotical info on this issue, nothing conclusive unfortunately. A problem with Windows Update on a fresh Installation of Windows 7 Pro 64 Bit SP 1 led me here. The Computer would hang for more than an hour searching for updates with one core on a Core 2 Duo fully taken by svchost.exe -k netsvcs and the other core idling. Dumping a couple of that process' threads in procexp.exe, I found they were spending their time spinlocking in wuaueng.dll (Windows Update Engine, I guess). Here's one of the thread dump samples:

Code: Select all
ntoskrnl.exe!KeWaitForMultipleObjects+0xc0a
ntoskrnl.exe!KeAcquireSpinLockAtDpcLevel+0x732
ntoskrnl.exe!KeWaitForSingleObject+0x19f
ntoskrnl.exe!_misaligned_access+0xba4
ntoskrnl.exe!_misaligned_access+0x1821
ntoskrnl.exe!_misaligned_access+0x1a97
hal.dll!HalReturnToFirmware+0x1189
hal.dll!KeQueryPerformanceCounter+0x74
ntoskrnl.exe!FsRtlAllocateExtraCreateParameterFromLookasideList+0x11b
ntoskrnl.exe!KeSynchronizeExecution+0x3a23
ntdll.dll!NtQueryPerformanceCounter+0xa
ntdll.dll!RtlQueryPerformanceFrequency+0x16
wuaueng.dll!DllInstall+0x1666e
wuaueng.dll!DllInstall+0x16407
wuaueng.dll!DllInstall+0x83e9
wuaueng.dll!DllInstall+0x6b27
wuaueng.dll!DllInstall+0x6b61
wuaueng.dll!DllInstall+0x68bb
wuaueng.dll!DllInstall+0x11582
wuaueng.dll!DllInstall+0x11ffe
wuaueng.dll!DllInstall+0x2a896
wuaueng.dll!DllInstall+0x274e2
wuaueng.dll!DllInstall+0x25c54
wuaueng.dll!DllInstall+0x6229
wuaueng.dll!DllInstall+0x591f
kernel32.dll!BaseThreadInitThunk+0xd
ntdll.dll!RtlUserThreadStart+0x21

There was nothing helpful in C:\Windows\WindowsUpdate.log or C:\Windows\Logs\CBS\CBS.log or eventvwr. I'm not a Windows admin and so I may have overlooked stuff.

I started searching the web for information on how Windows Update works but didn't find anything really enlightening.

An hour ago I gave the WSUS offline USB stick I had just created a try. There was a moment of disappointment when it stalled at the line:

12:45:36,76 - Listing ids of missing updates (please be patient, this will take a while)...

I decided to give it a fair chance of at least an hour. And yeah, after 25 minutes:

13:11:19,27 - Done.

And now update upon update is rolling, 136 in total. Great tool! Logging is so much better than with Windows Update. "Please be patient, this will take a while", sometimes that's all it needs. Plus, you have a forum that has already proven more helpful then the various Microsoft forums I've tried, and of course the source code. Thank you!
Schlumi
 
Posts: 3
Joined: 11.10.2015, 11:55

Re: Installer hangs at Listing ids of missing updates...

Postby WSUSUpdateAdmin » 11.10.2015, 23:02

:)
WSUSUpdateAdmin
Administrator
 
Posts: 2245
Joined: 07.07.2009, 14:38

Re: Installer hangs at Listing ids of missing updates...

Postby NetRanger » 13.10.2015, 07:41

It's becoming annyoying! I had spent 1h waiting till this message go further, but nothing. I have been forced to use updates from WSUS. A system is just installed, so no any software is installed. What's can cause such behavior (except AV)? Win x32 Enterprise, 2 GB RAM.
NetRanger
 
Posts: 19
Joined: 24.09.2015, 13:39

Re: Installer hangs at Listing ids of missing updates...

Postby WSUSUpdateAdmin » 13.10.2015, 14:07

Hi.

Of course you use the most recent version, don't you?
Today's regression test on a Win7 x86 pro SP1 system with only 1 GB RAM gave:

Code: Select all
Starting WSUS Offline Update (v. 10.1+ (r701)) at 14:44:21,54...
Checking user's privileges...
Determining system's properties...
Determining Windows licensing info...
Found Microsoft Windows version: 6.1.7601.18247 (w61 x86 deu sp1)
Found Microsoft Windows Software Licensing Management Tool info...
Name: Windows(R) 7, Professional edition
[...]
Checking Windows Update scan prerequisite update...
Installing Windows Update scan prerequisite update...
Installing update 1 of 1...
Verifying integrity of ..\w61\glb\windows6.1-kb3078601-x86_5e9696e921e39de5f67f1
9e32c1d3bd5c8c3f45b.cab...
hashdeep.exe: Audit passed
Installing ..\w61\glb\windows6.1-kb3078601-x86_5e9696e921e39de5f67f19e32c1d3bd5c
8c3f45b.cab...
Checking state of service 'Windows Update'...
Verifying integrity of Windows Update catalog file...
hashdeep.exe: Audit passed
14:48:08,94 - Listing ids of missing updates (please be patient, this will take
a while)...
15:02:02,39 - Done.
Stopping service 'Windows Update' (wuauserv) - previous state will be recovered
later...
Listing ids of installed updates...
Listing update files...
Info: Skipping update kb890830 (Malicious Software Removal Tool) due to matching
 black list entry.
Installing updates...
Installing update 1 of 133...

:?:
14 minutes is not too bad, I think.

RTW
WSUSUpdateAdmin
Administrator
 
Posts: 2245
Joined: 07.07.2009, 14:38

Re: Installer hangs at Listing ids of missing updates...

Postby NetRanger » 15.10.2015, 06:05

Hi. I'm using WOU version 10.1.
NetRanger
 
Posts: 19
Joined: 24.09.2015, 13:39

Re: Installer hangs at Listing ids of missing updates...

Postby aker » 15.10.2015, 08:40

Any AV software installed?
Wer Rechtschreibfehler findet, darf sie behalten oder an den Meistbietenden versteigern. / Everybody finding a misspelling is allowed to keep or sell it.
aker

WSUS Offline Update „Community Edition“
https://gitlab.com/wsusoffline/wsusoffline/-/releases
aker
 
Posts: 3999
Joined: 02.03.2011, 15:32

Re: Installer hangs at Listing ids of missing updates...

Postby NetRanger » 15.10.2015, 11:28

No... But I'm getting message (in the console), that's update KB3078601 not found. Can it's be a reason of fail update?
NetRanger
 
Posts: 19
Joined: 24.09.2015, 13:39

Re: Installer hangs at Listing ids of missing updates...

Postby boco » 15.10.2015, 11:48

That is the update WSUSOU installs as prerequisite as it lowers waiting times a lot. So, as that update is not installed for you (because it is missing on the media - correct OS and architecture chosen?) you are still subject to the old, exorbitantly long waiting times. Depending on hardware, I've heard of 7 or 8 hours, or even overnight...

You should find out why that update is not on the media/ in the repository.
Microsoft update catalog: http://catalog.update.microsoft.com/v7/site/
Windows Install media download: https://support.microsoft.com/en-us/help/15088/windows-create-installation-media
boco
 
Posts: 2396
Joined: 24.11.2009, 17:00
Location: Germany

Re: Installer hangs at Listing ids of missing updates...

Postby NetRanger » 16.10.2015, 05:53

I'm just launch UpdateInstaller, so OS type/architecture is automatically selected.
NetRanger
 
Posts: 19
Joined: 24.09.2015, 13:39

PreviousNext

Return to Installation / Updating

Who is online

Users browsing this forum: No registered users and 9 guests