Bug: WSUS tries update for not existing .NET

Bug: WSUS tries update for not existing .NET

Postby pstein » 30.03.2017, 12:17

As I found out WSUS tries to update a .NET framework which is currently NOT installed.

I have a Win 8.1 installation where .NET v3.5 IS NOT installed (only. others e.g. v4.5.2).

On this system I executed (after download of security-only packages) UpdateInstaller.exe
Everything worked as intended in this step.
I rebooted (multiple times).

Then - just for verfication - I called UpdateInstaller.exe again ... and it installs patch KB3188732 (=Security Update for .NET v3.5).
Afterwards UpdateInstaller told me to reboot.

Curiously I have NO .NET v3.5 installed (on this machine).

Similarly the same happens on another machine - this time with Win 7). Over there the last .NET version which is installed is v4.6.1
After execution of UpdateInstaller.exe and reboot and re-execution UI tries to install
KB3204805 = Security Update for .NET v4.6.2

I checked the meaning and purpose of these Updates and found out that they are for .NET frameworks.
Anyway for users these installations are confusing and misleading.

A .NET Update for vX should only by applied if the base .NET framework vX is really already installed and applicable.

WSUS should check this and silently refuse/ignore to install .NET patches for not existing .NET versions.

Thank you
Peter
pstein
 
Posts: 76
Joined: 13.02.2010, 15:34

Re: Bug: WSUS tries update for not existing .NET

Postby Dalai » 30.03.2017, 16:37

I'm pretty sure that it's correct that these updates get installed. Why? WSUS Offline asks the system's Windows Update Agent to determine missing updates, and acts accordingly. If the Agent says these updates are missing they get installed.

Please post the contents of C:\Windows\wsusofflineupdate.log.

Regards
Dalai
Dalai
 
Posts: 359
Joined: 12.07.2016, 21:00

Re: Bug: WSUS tries update for not existing .NET

Postby aker » 30.03.2017, 21:09

Currently I have no explaination for the .NET 3.5 update, please double check, if .NET 3.5 is not installed (OptionalFeatures.exe). Maybe some program installed it...

MS isn't that strict with the names of .NET 4.x updates. Even if you gave .NET 4.5.2, wsusou & WU will offer you an update for .NET 4.5/4.5.1...
But that's a "problem" made by MS, if it even is one...
Wer Rechtschreibfehler findet, darf sie behalten oder an den Meistbietenden versteigern. / Everybody finding a misspelling is allowed to sell it.
aker
aker
 
Posts: 2761
Joined: 02.03.2011, 15:32

Re: Bug: WSUS tries update for not existing .NET

Postby pstein » 01.04.2017, 11:45

Ok, here are some more details for the Win 8.1 example problem:

First of all have a look at the attached snapshots.

The first shows the content of the .NET directory and the second the result of the .NET installation analysis from the wide spread .NET detector tool from ASoft.
As you can see .NET v3.5 is neither installed in the WINDOWS directory nor recognized by the utility.
Furthermore UpdateInstaller.exe shows an empty checkbox offering the user to install v3.5 .NET.
If it would exists this checkbox is disabled. But it is selectable.

So there are numerous indicators that there is NO .NET v3.5 currently installed. Fullstop.

On the other side the wsusofflineupdate.log shows that WSUS thinks that .NET v3.5 is installed (see bottom of this post).
So it is a bug in WSUS.

Pls verify.


Code: Select all
29.03.2017  6:48:26,60 - Info: Starting WSUS Offline Update (v. 10.9.2)
29.03.2017  6:48:26,60 - Info: Used path "C:\tmp\WSUS v10.9.2_Win8.1\client\cmd\" on WINDOWS8_X64 (user: Admin)
29.03.2017  6:48:26,62 - Info: Option /updatecpp detected
29.03.2017  6:48:26,63 - Info: Option /verify detected
29.03.2017  6:48:26,65 - Info: Option /seconly detected
29.03.2017  6:48:29,60 - Info: Found Microsoft Windows version 6.3.9600.18589 (w63 x64 enu sp0)
29.03.2017  6:48:29,60 - Info: Found Microsoft Windows Software Licensing Management Tool info...
29.03.2017  6:48:29,60 - Info: Name: Windows(R), Professional edition
29.03.2017  6:48:29,60 - Info: Description: Windows(R) Operating System, RETAIL channel
29.03.2017  6:48:29,60 - Info: Partial Product Key: 7T667
29.03.2017  6:48:29,60 - Info: License Status: Licensed
29.03.2017  6:48:29,63 - Info: Found total physical memory: 4 GB
29.03.2017  6:48:29,63 - Info: Found Windows Update Agent version 7.9.9600.18340
29.03.2017  6:48:29,63 - Info: Found Windows Installer version 5.0.9600.18533
29.03.2017  6:48:29,65 - Info: Found Windows Script Host version 5.8.9600.18618
29.03.2017  6:48:29,65 - Info: Found Internet Explorer version 9.11.9600.18618
29.03.2017  6:48:29,65 - Info: Found Microsoft Silverlight version 0.0.0.0
29.03.2017  6:48:29,65 - Info: Found Remote Desktop Client version 6.3.9600.16384
29.03.2017  6:48:29,65 - Info: Found Microsoft .NET Framework 3.5 version 0.0.0.0
29.03.2017  6:48:29,65 - Info: Found Windows PowerShell version 2.0
29.03.2017  6:48:29,66 - Info: Found Microsoft .NET Framework 4 version 4.5.51650
29.03.2017  6:48:29,66 - Info: Found Windows Management Framework version 4.0.0.0
29.03.2017  6:48:29,66 - Info: Found Windows Defender definitions version 1.223.2738.0
29.03.2017  6:48:29,66 - Info: Medium build date: 29.03.2017
29.03.2017  6:48:29,68 - Info: Medium supports Microsoft Windows (w63 x64 glb)
29.03.2017  6:48:29,90 - Info: Disabled screensaver
29.03.2017  6:48:30,18 - Info: Created temporary power scheme
29.03.2017  6:48:30,46 - Info: Adjusted power management settings
29.03.2017  6:48:30,51 - Warning: Windows Defender definition file (..\msse\x64-glb\mpam-fex64.exe) not found
29.03.2017  6:48:38,74 - Info: Starting service 'Windows Update' (wuauserv)
29.03.2017  6:48:38,76 - Info: Waiting for service 'wuauserv' to reach state 'RUNNING' (timeout: 60s)
29.03.2017  6:48:38,76 - Info: Service 'wuauserv' reached state 'RUNNING'
29.03.2017  6:48:38,74 - Info: Started service 'Windows Update' (wuauserv)
29.03.2017 06:51:30,00 - Info: Hid update kb3205401
29.03.2017  6:51:31,02 - Info: Listed ids of missing updates
29.03.2017  6:51:32,51 - Info: Listed ids of installed updates
29.03.2017  6:51:32,91 - Warning: Update kb3135994 (id: a367f5a4-635e-43f0-b8dc-789417427454) not found
29.03.2017  6:51:32,91 - Info: Skipped update kb890830 (Malicious Software Removal Tool) due to matching black list entry
29.03.2017  6:51:33,18 - Info: Listed update files
29.03.2017  6:51:33,21 - Info: Stopping service 'Windows Update' (wuauserv)
29.03.2017  6:51:33,23 - Info: Waiting for service 'wuauserv' to reach state 'STOPPED' (timeout: 180s)
29.03.2017  6:51:33,24 - Info: Service 'wuauserv' reached state 'STOPPED'
29.03.2017  6:51:33,23 - Info: Stopped service 'Windows Update' (wuauserv)
29.03.2017  6:51:44,45 - Info: Installed ..\w63-x64\glb\windows8.1-kb3188732-x64_33afaf5b117e52e421277cd26a7aeb4f34316269.cab
29.03.2017  6:51:44,48 - Info: Installed 1 updates
29.03.2017  6:51:44,49 - Info: Restored screensaver setting
29.03.2017  6:51:44,51 - Info: Activated previous power scheme
29.03.2017  6:51:44,55 - Info: Deleted temporary power scheme
29.03.2017  6:51:44,48 - Info: Installation successful
29.03.2017  6:51:44,60 - Info: Ending WSUS Offline Update
Attachments
Asoft .NET version Detector.png
(80.16 KiB) Not downloaded yet
Framework directories.png
(76.6 KiB) Not downloaded yet
Last edited by Dalai on 01.04.2017, 14:55, edited 1 time in total.
Reason: Inserted CODE tags for better readability
pstein
 
Posts: 76
Joined: 13.02.2010, 15:34

Re: Bug: WSUS tries update for not existing .NET

Postby Dalai » 01.04.2017, 15:01

pstein wrote:On the other side the wsusofflineupdate.log shows that WSUS thinks that .NET v3.5 is installed (see bottom of this post).

I don't see this. The log says
Code: Select all
29.03.2017  6:48:29,65 - Info: Found Microsoft .NET Framework 3.5 version 0.0.0.0
so it doesn't see it as installed.

So it is a bug in WSUS.

No, it's a little error in WSUS Offline Update (WSUS is not WSUS Offline Update), but not in the code itself. KB3188732 is an update defined statically in wsusoffline\client\static\StaticUpdateIds-w63-seconly.txt. So it always gets installed - successfully even on your system I might add. I guess it's statically defined for a reason, though I don't know why.

Regards
Dalai
Dalai
 
Posts: 359
Joined: 12.07.2016, 21:00

Re: Bug: WSUS tries update for not existing .NET

Postby aker » 01.04.2017, 23:03

Maybe we should add a seconly_dotnet-file, too...
Wer Rechtschreibfehler findet, darf sie behalten oder an den Meistbietenden versteigern. / Everybody finding a misspelling is allowed to sell it.
aker
aker
 
Posts: 2761
Joined: 02.03.2011, 15:32


Return to Installation / Updating

Who is online

Users browsing this forum: No registered users and 10 guests