WsusOffline CE 12.2 is broken on Server 2012 R2

WsusOffline CE 12.2 is broken on Server 2012 R2

Postby rbronca » 19.08.2020, 05:55

I hope this is the correct place to post these issues. Thankyou for keeping wsusoffline alive.

VM running vanilla 2012 R2 volume media.

Code: Select all
Starting WSUS Offline Update - Community Edition - v. 12.2 at 22:29:47.04...
Checking user's privileges...
Determining system's properties...
Determining Windows licensing info...
Found Microsoft Windows version: 6.3.9600. (w63 x64 enu)
Found Microsoft Windows Software Licensing Management Tool info...
Name: Windows(R), ServerStandard edition
Description: Windows(R) Operating System, VOLUME_KMSCLIENT channel
Partial Product Key: MDVJX
License Status: Notification
Notification Reason: 0xC004F056.
Checking medium content...
Catalog date: 11/08/2020
Medium build date: 17/08/2020
Medium supports Microsoft Windows (w63 x64 glb).
Disabling screensaver...
Checking Windows 8.1 / Server 2012 R2 Update Rollup April 2014 installation state...
17041 was unexpected at this time.


12.0 CE works correctly.
12.2 CE works correctly on 2012, 2016 and 2019.
Interestingly, a fully patched 2012 r2 server doesn't have this issue. Clearly the test isn't getting an answer it likes / can handle.
Hopefully this is an easy fix.

Thankyou in advance.

regards

Robert
Last edited by Dalai on 19.08.2020, 08:52, edited 1 time in total.
Reason: Enclosed log output in CODE tags for better readability
rbronca
 
Posts: 43
Joined: 19.08.2015, 08:14

Re: WsusOffline CE 12.2 is broken on Server 2012 R2

Postby aker » 19.08.2020, 10:30

Could you run .\client\cmd\DetermineSystemProperties.vbs and post the content of WOUSystemProperties.txt stored on your desktop here?
If it throws some error, please post it, too.

In my opinion, this should be related to a registry value, which is tested for existance, but not handled as it should. I‘ll take a look at it.
Wer Rechtschreibfehler findet, darf sie behalten oder an den Meistbietenden versteigern. / Everybody finding a misspelling is allowed to keep or sell it.
aker
aker
 
Posts: 3665
Joined: 02.03.2011, 15:32

Re: WsusOffline CE 12.2 is broken on Server 2012 R2

Postby aker » 19.08.2020, 13:03

I think, I found the issue. I don‘t need any further information anymore.

:arrow: https://gitlab.com/wsusoffline/wsusoffline/-/commit/4de8b993f82652659b6458346d240b3e224a93c1

To fix the issue, open .\client\cmd\DetermineSystemProperties.vbs and find the following line:
Code: Select all
  If RegExists(strRegKeyWindowsVersion, strRegValUBR) Then

Replace it with
Code: Select all
  If RegExists(wshShell, strRegKeyWindowsVersion & strRegValUBR) Then

This should fix the issue.

Thanks for your report. I look forward to your feedback after applying it.
Wer Rechtschreibfehler findet, darf sie behalten oder an den Meistbietenden versteigern. / Everybody finding a misspelling is allowed to keep or sell it.
aker
aker
 
Posts: 3665
Joined: 02.03.2011, 15:32

Re: WsusOffline CE 12.2 is broken on Server 2012 R2

Postby flummie » 19.08.2020, 17:38

Hatte das gleiche Problem. Danke für den Fix. Jetzt läuft´s!
flummie
 
Posts: 33
Joined: 29.06.2010, 11:05

Re: WsusOffline CE 12.2 is broken on Server 2012 R2

Postby rbronca » 20.08.2020, 02:28

I can confirm your fix worked :D

Some other items I found that need addressing:

StaticUpdateIds-w62-dotnet35-seconly.txt
kb4552963,May 2020 Security only update for the .NET Framework 3.5 SP1 for Windows Server 2012
should be
kb4552966,May 2020 Security only update for the .NET Framework 3.5 SP1 for Windows Server 2012

StaticUpdateIds-w100-17763-dotnet4-528049.txt
kb4569776,August 2020 Cumulative Update for .NET Framework 4.8 for Windows 10 version 1809 and Windows Server 2019
should be
kb4569750,August 2020 Cumulative Update for .NET Framework 4.8 for Windows 10 version 1809 and Windows Server 2019

Thank you for your efforts.
rbronca
 
Posts: 43
Joined: 19.08.2015, 08:14

Re: WsusOffline CE 12.2 is broken on Server 2012 R2

Postby aker » 20.08.2020, 05:11

Are you sure with the changes?

If I search for the KB-numbers in the catalog they resolve to this:

kb4552963 = 2020-05 Security Only Update for .NET Framework 3.5 for Windows Server 2012 for x64 (KB4552963)
kb4552966 = 2020-05 Security Only Update for .NET Framework 3.5 for Windows 8.1 and Server 2012 R2 for x64 (KB4552966)
So the file „StaticUpdateIds-w62-dotnet35-seconly.txt“ is correct

kb4569776 = 2020-08 Cumulative Update for .NET Framework 3.5 and 4.7.2 for Windows 10 Version 1809 for x64 (KB4569776)
kb4569750 = 2020-08 Cumulative Update for .NET Framework 3.5 and 4.8 for Windows 10 Version 1809 for x64 (KB4569750)
So the file „StaticUpdateIds-w100-17763-dotnet4-528049.txt“ (which is for .NET 3.5 and 4.8) should be correct, too.
Wer Rechtschreibfehler findet, darf sie behalten oder an den Meistbietenden versteigern. / Everybody finding a misspelling is allowed to keep or sell it.
aker
aker
 
Posts: 3665
Joined: 02.03.2011, 15:32

Re: WsusOffline CE 12.2 is broken on Server 2012 R2

Postby rbronca » 20.08.2020, 06:03

Ouch, I screwed up the first one. I'm sorry.

In StaticUpdateIds-w100-17763-dotnet4-528049.txt you have the 4.72 patch (kb4569776) included rather than the 4.8 patch (kb4569750).
StaticUpdateIds-w100-17763-dotnet.txt has the correct kb4569776 patch.

Our lives would be so much better if they consolidated the mess that is .net patching.

Thank you for double checking.

regards
Robert
rbronca
 
Posts: 43
Joined: 19.08.2015, 08:14

Re: WsusOffline CE 12.2 is broken on Server 2012 R2

Postby aker » 21.08.2020, 00:29

Wer Rechtschreibfehler findet, darf sie behalten oder an den Meistbietenden versteigern. / Everybody finding a misspelling is allowed to keep or sell it.
aker
aker
 
Posts: 3665
Joined: 02.03.2011, 15:32


Return to Installation / Updating

Who is online

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