Hanging / Extremely long delay between starting

Hanging / Extremely long delay between starting

Postby Amonix » 21.10.2016, 16:25

Hello and Good Morning to everyone,

I am running into a problem and I am hoping to get a hand. I know this help may come at a price so if I can get this to work I have donated 30.00 to the project as well. I think it is only fair given the time I have spent alone on working to try and make this work. Here is the information regarding what we are doing. We have several Win7x64 / Office 2010 machines (~80-90) that are on a network that is not connected to the internet at all. We can't connect these workstations to the internet for security purposes. I have just started using WSUS offline as a utility to make updating our systems simple. Our network consists of 2008R2/2012R2 servers, virtual and hyper-v and our Win7x64 boxes. Some very restrictive GPO's that are mandated.

Due to our machine count I believe a better use of this tool is in a Powershell script that runs the Doupdate command. My powershell script is rather simple. The script pulls a list of the computers from AD and from there it takes the same list and runs it through a connection test (ping) and if a reply goes on to performing the update function which consists of invoke-command to use psexec with -s -i to Doupdate.cmd using /verify /updatecpp this way the system will update all patches even for the ones it says can't be done via remote session. Below is the log previous to my making the post and seeing that the process didn't "hang" per se but took forever to run.

Code: Select all
Thu 10/20/2016 18:51:36.59 - Info: Starting WSUS Offline Update (v. 10.8)
Thu 10/20/2016 18:51:36.59 - Info: Used path "C:\winupdates\updates\cmd\" on 47750-000 (user: Win7X64-PC$)
Thu 10/20/2016 18:51:36.59 - Info: Option /verify detected
Thu 10/20/2016 18:51:36.61 - Info: Option /updatecpp detected
Thu 10/20/2016 18:51:39.23 - Info: Found Microsoft Windows version 6.1.7601.19018 (w61 x64 enu sp1)
Thu 10/20/2016 18:51:39.23 - Info: Found Microsoft Windows Software Licensing Management Tool info...
Thu 10/20/2016 18:51:39.23 - Info: Name: Windows(R) 7, Professional edition
Thu 10/20/2016 18:51:39.23 - Info: Description: Windows Operating System - Windows(R) 7, OEM_SLP channel
Thu 10/20/2016 18:51:39.23 - Info: Partial Product Key: XXXXX
Thu 10/20/2016 18:51:39.23 - Info: License Status: Licensed
Thu 10/20/2016 18:51:39.25 - Info: Found total physical memory: 16 GB
Thu 10/20/2016 18:51:39.25 - Info: Found Windows Update Agent version 7.6.7601.19016
Thu 10/20/2016 18:51:39.25 - Info: Found Windows Installer version 5.0.7601.18896
Thu 10/20/2016 18:51:39.25 - Info: Found Windows Script Host version 5.8.9600.18057
Thu 10/20/2016 18:51:39.25 - Info: Found Internet Explorer version 9.11.9600.18059
Thu 10/20/2016 18:51:39.25 - Info: Found Microsoft Silverlight version 5.1.40416.0
Thu 10/20/2016 18:51:39.25 - Info: Found Remote Desktop Client version 6.3.9600.16415
Thu 10/20/2016 18:51:39.25 - Info: Found Microsoft .NET Framework 3.5 version 3.5.30729.5420
Thu 10/20/2016 18:51:39.25 - Info: Found Windows PowerShell version 2.0
Thu 10/20/2016 18:51:39.25 - Info: Found Microsoft .NET Framework 4 version 4.5.51209
Thu 10/20/2016 18:51:39.25 - Info: Found Windows Management Framework version 3.0.0.0
Thu 10/20/2016 18:51:39.25 - Info: Found Microsoft Security Essentials version 0.0.0.0
Thu 10/20/2016 18:51:39.25 - Info: Found Microsoft Security Essentials definitions version 0.0.0.0
Thu 10/20/2016 18:51:39.26 - Info: Found Network Inspection System definitions version 0.0.0.0
Thu 10/20/2016 18:51:39.26 - Info: Found Windows Defender definitions version 1.193.2151.0
Thu 10/20/2016 18:51:39.26 - Info: Found Microsoft Office 2010 Word version 14.0.7160.5000 (o2k10 x86 enu sp2)
Thu 10/20/2016 18:51:39.26 - Info: Medium build date: 10/20/2016
Thu 10/20/2016 18:51:39.26 - Info: Medium supports Microsoft Windows (w61 x64 glb)
Thu 10/20/2016 18:51:39.26 - Info: Medium supports Microsoft Office (ofc enu)
Thu 10/20/2016 18:51:39.40 - Info: Disabled screensaver
Thu 10/20/2016 18:51:39.65 - Info: Stopping service 'Windows Update' (wuauserv)
Thu 10/20/2016 18:51:39.68 - Info: Waiting for service 'wuauserv' to reach state 'STOPPED' (timeout: 180s)
Thu 10/20/2016 18:51:39.68 - Info: Service 'wuauserv' reached state 'STOPPED'
Thu 10/20/2016 18:51:39.67 - Info: Stopped service 'Windows Update' (wuauserv)
Thu 10/20/2016 18:52:15.21 - Info: Starting service 'Windows Update' (wuauserv)
Thu 10/20/2016 18:52:15.22 - Info: Waiting for service 'wuauserv' to reach state 'RUNNING' (timeout: 60s)
Thu 10/20/2016 18:52:15.22 - Info: Service 'wuauserv' reached state 'RUNNING'
Thu 10/20/2016 18:52:15.21 - Info: Started service 'Windows Update' (wuauserv)=


In the log we can see now that the process ran until 10/21/2016 9:02:42. That is almost 15 hours in time for a Win 7 box to run. I had left it running as I forgot to close the process last night and when I went to grab the log info again noticed that it had finished installing several updates (78). Why in the world would it take this long? Anyway I can maybe speed up the process? Or is this maybe an issue with the script? Thoughts?

If it would be helpful I wouldn't mind sharing the script I am using once I have it cleaned up a little more.
Amonix
 

Re: Hanging / Extremely long delay between starting

Postby aker » 22.10.2016, 19:49

Most likely the usual problem with WU. It's caused by MS by having multiple superseding revisions. The whole update system will be fully broken, if it continues the way it currently does. Please try installing the following updates (depending on your patch state, not all of them apply):
- KB2552343
- KB3033929
- KB3177467
- KB3078601
- KB3109094
- KB3124275 (for IE 8-10)
- KB3138612
- KB3145739
- KB3164033
- KB3172605
- KB3178034
- KB3185319 (for IE 11)
- KB3185911

Then retry. This should decrease the search time.
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: Hanging / Extremely long delay between starting

Postby Amonix » 22.10.2016, 20:39

Can we use the update tool to do those updates? Does it speed up after we get updates a little more current?

Thank you for the help!
Amonix
 

Re: Hanging / Extremely long delay between starting

Postby aker » 23.10.2016, 21:41

Normally wsusou already includes the most important ones. They fix the problem on let's say 95% of the affected computers. My list sometimes is a little bit slower than the one wsusou uses. But it fixes the problem on some systems, which aren't fixed by wsusou itself.
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: Hanging / Extremely long delay between starting

Postby Amonix » 24.10.2016, 17:54

Awesome. Thank you! It makes sense. I will try it out here on a few systems and see what we get. I did leave majority of them running from Friday - Sunday. Once that initial scan completes it is a lot faster. Thank you again!
Amonix
 

Re: Hanging / Extremely long delay between starting

Postby adminsly » 02.11.2016, 18:48

still take for ever to search ..... i try it with another computer and it find the download file by WSU but this computer it does NOT find the files already download in WSU offline folder

i apply all the kb mention in this post.

windows 7 64b
adminsly
 


Return to Installation / Updating

Who is online

Users browsing this forum: Google [Bot] and 14 guests

cron