12.5 issue on server 2012

12.5 issue on server 2012

Postby rbronca » 31.05.2021, 06:42

Thank you for the new releases.
I have been testing and have found an issue on server 2012 rollup when applying.

Onscreen:
Code: Select all
Checking Servicing Stack version...
Installing April 2021 Servicing stack update for Windows Server 2012...
 4:50:16.73 - Installing update 1 of 1 (stage size: 320)...
Verifying integrity of ..\w62-x64\glb\windows8-rt-kb5001401-x64_aaae1b25977e722f
7c03169a1ef55290699e9fd6.cab...
hashdeep64.exe: Audit passed
Installing ..\w62-x64\glb\windows8-rt-kb5001401-x64_aaae1b25977e722f7c03169a1ef5
5290699e9fd6.cab...
Checking Internet Explorer version...
Checking Internet Explorer 11 prerequisites...
The syntax of the command is incorrect.


Log:
Code: Select all
Mon 05/31/2021  4:50:16.34 - Info: Installing April 2021 Servicing stack update for Windows Server 2012
Mon 05/31/2021  4:50:53.98 - Info: Installed ..\w62-x64\glb\windows8-rt-kb5001401-x64_aaae1b25977e722f7c03169a1ef55290699e9fd6.cab
Mon 05/31/2021  4:50:54.00 - Info: Installed 1 updates
Mon 05/31/2021  4:50:54.02 - Info: Updated Servicing Stack to 6.2.9200.23327


Looks like the command syntax is wrong within IE prereq's. It fails before anything is logged.

Line possibly in question within doupdate.cmd:
Code: Select all
%CSCRIPT_PATH% //Nologo //B //E:vbs ListInstalledUpdateIds.vbs


That doesn't look like a valid command line.

Robert
Last edited by Gerby on 31.05.2021, 12:42, edited 1 time in total.
Reason: Inserted [code] tags for improved readability
rbronca
 
Posts: 52
Joined: 19.08.2015, 08:14

Re: 12.5 issue on server 2012

Postby aker » 31.05.2021, 15:04

That line is valid.
I'll take a look at it, but I think, I didn't change anything in the IE11 code for w62/w2k12 (maybe I'm wrong, need some free time...).
But you're right, the bug must be somewhere inside
Code: Select all
%CSCRIPT_PATH% //Nologo //B //E:vbs ListInstalledUpdateIds.vbs
if exist "%TEMP%\InstalledUpdateIds.txt" (
  %SystemRoot%\System32\findstr.exe /L /I /V /G:"%TEMP%\InstalledUpdateIds.txt" ..\static\StaticUpdateIds-ie11-w62.txt >"%TEMP%\MissingUpdateIds.txt"
  del "%TEMP%\InstalledUpdateIds.txt"
) else (
  copy /Y ..\static\StaticUpdateIds-ie11-w62.txt "%TEMP%\MissingUpdateIds.txt" >nul
)
call ListUpdatesToInstall.cmd /excludestatics /ignoreblacklist
if errorlevel 1 goto ListError


I assume it's somewhere in ListUpdatesToInstall.cmd or ListUpdateFile.cmd...
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: 12.5 issue on server 2012

Postby aker » 31.05.2021, 15:21

I think I've got it...

Open .\client\cmd\DoUpdate.cmd in an editor and change line 589 from
Code: Select all
  if "!ERR_LEVEL%!=="3010" (

to
Code: Select all
  if "!ERR_LEVEL!"=="3010" (


Does this fix your problem?
I'll recheck everything and push a hotfix.
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: 12.5 issue on server 2012

Postby aker » 31.05.2021, 23:32

12.5.1 / 11.9.9esr fixes the probnlem.
It was a Copy-Paste mistake...
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: 12.5 issue on server 2012

Postby boco » 01.06.2021, 02:50

Well, yeah, sh*t happens. Especially when computers are involved...
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: 2391
Joined: 24.11.2009, 17:00
Location: Germany

Re: 12.5 issue on server 2012

Postby rbronca » 01.06.2021, 05:51

Thank you Aker for the quick reply and fix.
I was asleep when you initially replied.

Insert hours of further testing here...

There must be a second issue in there, as I still get an error with 12.5.1 on one server.
It is intermittent though.

I have another 4x 2012 wsusoffline test VM's with various .Net frameworks and all patched fine.
It is only my 2012 rollup VM playing up. I get the same error irrespective of the seconly or rollup iso being used.

First time though there is no issue:
Code: Select all
Tue 06/01/2021  0:45:36.96 - Info: Starting WSUS Offline Update - Community Edition - v. 12.5.1
Tue 06/01/2021  0:45:37.00 - Info: Used path "Z:\cmd\" on W2K12_QUALITY (user: localadmin)
Tue 06/01/2021  0:45:37.03 - Info: Option /updatecpp detected
Tue 06/01/2021  0:45:37.09 - Info: Option /updatercerts detected
Tue 06/01/2021  0:45:37.14 - Info: Option /seconly detected
Tue 06/01/2021  0:45:37.20 - Info: Option /verify detected
Tue 06/01/2021  0:45:42.63 - Info: Found Microsoft Windows version 6.2.9200.22776 (w62 x64 enu)
Tue 06/01/2021  0:45:42.64 - Info: Found Microsoft Windows Software Licensing Management Tool info...
Tue 06/01/2021  0:45:42.71 - Info: Name: Windows(R), ServerStandard edition
Tue 06/01/2021  0:45:42.72 - Info: Description: Windows(R) Operating System, VOLUME_KMSCLIENT channel
Tue 06/01/2021  0:45:42.75 - Info: Partial Product Key: 92BT4
Tue 06/01/2021  0:45:42.77 - Info: License Status: Notification
Tue 06/01/2021  0:45:42.79 - Info: Notification Reason: 0xC004F056.
Tue 06/01/2021  0:45:42.82 - Info: Found total physical memory: 8 GB
Tue 06/01/2021  0:45:42.83 - Info: Found Servicing Stack version 6.2.9200.21913
Tue 06/01/2021  0:45:42.85 - Info: Found Windows Update Agent version 7.8.9200.22695
Tue 06/01/2021  0:45:42.88 - Info: Found Windows Installer version 5.0.9200.22769
Tue 06/01/2021  0:45:42.89 - Info: Found Windows Script Host version 5.8.9200.22773
Tue 06/01/2021  0:45:42.93 - Info: Found Internet Explorer version 9.10.9200.22773
Tue 06/01/2021  0:45:42.94 - Info: Found Microsoft .NET Framework 3.5 version 3.5.30729.4926
Tue 06/01/2021  0:45:42.96 - Info: Found Windows PowerShell version 2.0
Tue 06/01/2021  0:45:42.99 - Info: Found Microsoft .NET Framework 4 version 4.8.03761 (release: 528049)
Tue 06/01/2021  0:45:43.00 - Info: Found Windows Management Framework version 5.1.14409.1005
Tue 06/01/2021  0:45:43.03 - Info: Found Windows Defender definitions version 0.0.0.0
Tue 06/01/2021  0:45:43.07 - Info: Catalog date: 12/05/2021
Tue 06/01/2021  0:45:43.10 - Info: Medium build date: 01/06/2021
Tue 06/01/2021  0:45:43.13 - Info: Medium supports Microsoft Windows (w62 x64 glb)
Tue 06/01/2021  0:45:43.21 - Info: Disabled screensaver
Tue 06/01/2021  0:45:43.74 - Info: Created temporary power scheme
Tue 06/01/2021  0:45:44.30 - Info: Adjusted power management settings
Tue 06/01/2021  0:45:44.81 - Info: Installed ..\win\glb\MicRooCerAut2011_2011_03_22.crt
Tue 06/01/2021  0:45:44.91 - Info: Installed ..\win\glb\Microsoft ECC Product Root Certificate Authority 2018.crt
Tue 06/01/2021  0:45:44.99 - Info: Installed ..\win\glb\Microsoft ECC Root Certificate Authority 2017.crt
Tue 06/01/2021  0:45:45.05 - Info: Installed ..\win\glb\Microsoft ECC TS Root Certificate Authority 2018.crt
Tue 06/01/2021  0:45:45.11 - Info: Installed ..\win\glb\Microsoft EV ECC Root Certificate Authority 2017.crt
Tue 06/01/2021  0:45:45.17 - Info: Installed ..\win\glb\Microsoft EV RSA Root Certificate Authority 2017.crt
Tue 06/01/2021  0:45:45.23 - Info: Installed ..\win\glb\Microsoft RSA Root Certificate Authority 2017.crt
Tue 06/01/2021  0:45:45.30 - Info: Installed ..\win\glb\Microsoft Time Stamp Root Certificate Authority 2014.crt
Tue 06/01/2021  0:45:45.36 - Info: Installed ..\win\glb\MicRooCerAut_2010-06-23.crl
Tue 06/01/2021  0:45:45.42 - Info: Installed ..\win\glb\Microsoft ECC Product Root Certificate Authority 2018.crl
Tue 06/01/2021  0:45:45.48 - Info: Installed ..\win\glb\Microsoft ECC Root Certificate Authority 2017.crl
Tue 06/01/2021  0:45:45.58 - Info: Installed ..\win\glb\Microsoft ECC TS Root Certificate Authority 2018.crl
Tue 06/01/2021  0:45:45.64 - Info: Installed ..\win\glb\Microsoft EV ECC Root Certificate Authority 2017.crl
Tue 06/01/2021  0:45:45.70 - Info: Installed ..\win\glb\Microsoft EV RSA Root Certificate Authority 2017.crl
Tue 06/01/2021  0:45:45.75 - Info: Installed ..\win\glb\Microsoft RSA Root Certificate Authority 2017.crl
Tue 06/01/2021  0:45:45.81 - Info: Installed ..\win\glb\Microsoft Time Stamp Root Certificate Authority 2014.crl
Tue 06/01/2021  0:45:45.89 - Info: Installing April 2021 Servicing stack update for Windows Server 2012
Tue 06/01/2021  0:46:38.64 - Info: Installed ..\w62-x64\glb\windows8-rt-kb5001401-x64_aaae1b25977e722f7c03169a1ef55290699e9fd6.cab
Tue 06/01/2021  0:46:38.67 - Info: Installed 1 updates
Tue 06/01/2021  0:46:38.70 - Info: Updated Servicing Stack to 6.2.9200.23327
Tue 06/01/2021  0:49:13.38 - Info: Installed ..\w62-x64\glb\windows8-rt-kb4507434-x64_9cd1a6f403df957f793e7fc7f9abcead089341a4.cab
Tue 06/01/2021  0:49:13.41 - Info: Installed 1 updates
Tue 06/01/2021  0:49:13.50 - Info: Restored screensaver setting
Tue 06/01/2021  0:49:13.67 - Info: Activated previous power scheme
Tue 06/01/2021  0:49:13.70 - Info: Deleted temporary power scheme
Tue 06/01/2021  0:49:13.76 - Info: Installation successful
Tue 06/01/2021  0:49:13.78 - Info: Ending WSUS Offline Update - Community Edition


--------------------------------------------------------------------------------

After the reboot:
Code: Select all
Tue 06/01/2021  0:52:59.33 - Info: Starting WSUS Offline Update - Community Edition - v. 12.5.1
Tue 06/01/2021  0:52:59.34 - Info: Used path "Z:\cmd\" on W2K12_QUALITY (user: localadmin)
Tue 06/01/2021  0:52:59.34 - Info: Option /updatecpp detected
Tue 06/01/2021  0:52:59.37 - Info: Option /updatercerts detected
Tue 06/01/2021  0:52:59.39 - Info: Option /seconly detected
Tue 06/01/2021  0:52:59.42 - Info: Option /verify detected
Tue 06/01/2021  0:52:59.44 - Info: Option /autoreboot detected
Tue 06/01/2021  0:53:00.91 - Info: Found Microsoft Windows version 6.2.9200.22776 (w62 x64 enu)
Tue 06/01/2021  0:53:00.91 - Info: Found Microsoft Windows Software Licensing Management Tool info...
Tue 06/01/2021  0:53:00.93 - Info: Name: Windows(R), ServerStandard edition
Tue 06/01/2021  0:53:00.94 - Info: Description: Windows(R) Operating System, VOLUME_KMSCLIENT channel
Tue 06/01/2021  0:53:01.04 - Info: Partial Product Key: 92BT4
Tue 06/01/2021  0:53:01.05 - Info: License Status: Notification
Tue 06/01/2021  0:53:01.05 - Info: Notification Reason: 0xC004F056.
Tue 06/01/2021  0:53:01.07 - Info: Found total physical memory: 8 GB
Tue 06/01/2021  0:53:01.08 - Info: Found Servicing Stack version 6.2.9200.23327
Tue 06/01/2021  0:53:01.08 - Info: Found Windows Update Agent version 7.8.9200.22695
Tue 06/01/2021  0:53:01.10 - Info: Found Windows Installer version 5.0.9200.22769
Tue 06/01/2021  0:53:01.10 - Info: Found Windows Script Host version 5.8.9200.22799
Tue 06/01/2021  0:53:01.11 - Info: Found Internet Explorer version 9.10.9200.22799
Tue 06/01/2021  0:53:01.11 - Info: Found Microsoft .NET Framework 3.5 version 3.5.30729.4926
Tue 06/01/2021  0:53:01.13 - Info: Found Windows PowerShell version 2.0
Tue 06/01/2021  0:53:01.13 - Info: Found Microsoft .NET Framework 4 version 4.8.03761 (release: 528049)
Tue 06/01/2021  0:53:01.15 - Info: Found Windows Management Framework version 5.1.14409.1005
Tue 06/01/2021  0:53:01.15 - Info: Found Windows Defender definitions version 0.0.0.0
Tue 06/01/2021  0:53:01.18 - Info: Catalog date: 12/05/2021
Tue 06/01/2021  0:53:01.18 - Info: Medium build date: 01/06/2021
Tue 06/01/2021  0:53:01.19 - Info: Medium supports Microsoft Windows (w62 x64 glb)
Tue 06/01/2021  0:53:01.27 - Info: Disabled screensaver
Tue 06/01/2021  0:53:02.50 - Info: Created temporary power scheme
Tue 06/01/2021  0:53:02.78 - Info: Adjusted power management settings
Tue 06/01/2021  0:53:03.24 - Info: Installed ..\win\glb\MicRooCerAut2011_2011_03_22.crt
Tue 06/01/2021  0:53:03.31 - Info: Installed ..\win\glb\Microsoft ECC Product Root Certificate Authority 2018.crt
Tue 06/01/2021  0:53:03.36 - Info: Installed ..\win\glb\Microsoft ECC Root Certificate Authority 2017.crt
Tue 06/01/2021  0:53:03.41 - Info: Installed ..\win\glb\Microsoft ECC TS Root Certificate Authority 2018.crt
Tue 06/01/2021  0:53:03.44 - Info: Installed ..\win\glb\Microsoft EV ECC Root Certificate Authority 2017.crt
Tue 06/01/2021  0:53:03.47 - Info: Installed ..\win\glb\Microsoft EV RSA Root Certificate Authority 2017.crt
Tue 06/01/2021  0:53:03.50 - Info: Installed ..\win\glb\Microsoft RSA Root Certificate Authority 2017.crt
Tue 06/01/2021  0:53:03.53 - Info: Installed ..\win\glb\Microsoft Time Stamp Root Certificate Authority 2014.crt
Tue 06/01/2021  0:53:03.58 - Info: Installed ..\win\glb\MicRooCerAut_2010-06-23.crl
Tue 06/01/2021  0:53:03.61 - Info: Installed ..\win\glb\Microsoft ECC Product Root Certificate Authority 2018.crl
Tue 06/01/2021  0:53:03.63 - Info: Installed ..\win\glb\Microsoft ECC Root Certificate Authority 2017.crl
Tue 06/01/2021  0:53:03.66 - Info: Installed ..\win\glb\Microsoft ECC TS Root Certificate Authority 2018.crl
Tue 06/01/2021  0:53:03.69 - Info: Installed ..\win\glb\Microsoft EV ECC Root Certificate Authority 2017.crl
Tue 06/01/2021  0:53:03.72 - Info: Installed ..\win\glb\Microsoft EV RSA Root Certificate Authority 2017.crl
Tue 06/01/2021  0:53:03.75 - Info: Installed ..\win\glb\Microsoft RSA Root Certificate Authority 2017.crl
Tue 06/01/2021  0:53:03.78 - Info: Installed ..\win\glb\Microsoft Time Stamp Root Certificate Authority 2014.crl

End of log.

From onscreen first loop:
Code: Select all
...
Checking Servicing Stack version...
Installing April 2021 Servicing stack update for Windows Server 2012...
 0:45:46.30 - Installing update 1 of 1 (stage size: 320)...
Verifying integrity of ..\w62-x64\glb\windows8-rt-kb5001401-x64_aaae1b25977e722f
7c03169a1ef55290699e9fd6.cab...
hashdeep64.exe: Audit passed
Installing ..\w62-x64\glb\windows8-rt-kb5001401-x64_aaae1b25977e722f7c03169a1ef5
5290699e9fd6.cab...
Checking Internet Explorer version...
Checking Internet Explorer 11 prerequisites...
Installing Internet Explorer 11 prerequisites...
 0:46:47.81 - Installing update 1 of 1 (stage size: 320)...
Verifying integrity of ..\w62-x64\glb\windows8-rt-kb4507434-x64_9cd1a6f403df957f
793e7fc7f9abcead089341a4.cab...
hashdeep64.exe: Audit passed
Installing ..\w62-x64\glb\windows8-rt-kb4507434-x64_9cd1a6f403df957f793e7fc7f9ab
cead089341a4.cab...
...

Then reboot...

Second loop after reboot:
Code: Select all
...
Checking Servicing Stack version...
Checking Internet Explorer version...
Checking Internet Explorer 11 prerequisites...
Installing Internet Explorer 11...
The syntax of the command is incorrect.


Could there be a simple parameter / value missing quotes somewhere?

If you can provide the underlying commands behind this, I can manually run them to see if I can see anything untoward.
I'm more than happy to perform additional testing as required.

I have ruled out the usual corruption issues with the error still being present after the dism and sfc commands being run and reboots.

This issue has not been seen previously with 12.4 / 11.4 and earlier.

Outside of this 2012 issue, the other 25 test VM's for 2008 through to 2019 validated successfully with 12.5.1 / 11.5.1.
This hasn't happened in a long time without lots of manual tweaking.

Insert a big thank you to all involved in getting this release done here. It is a a real improvement. :D
rbronca
 
Posts: 52
Joined: 19.08.2015, 08:14

Re: 12.5 issue on server 2012

Postby hbuhrmester » 01.06.2021, 08:19

One simple trick might be to comment out the first line

Code: Select all
@echo off


from the file DoUpdate.cmd and other possibly involved files:

Code: Select all
CleanupRecall.cmd
DoUpdate.cmd
InstallListedUpdates.cmd
InstallOfficeUpdate.cmd
InstallOSUpdate.cmd
ListUpdateFile.cmd
ListUpdatesToInstall.cmd
PrepareRecall.cmd
PrepareShowLogFile.cmd
RecallStub.cmd
SafeRmDir.cmd
SetTargetEnvVars.cmd
TouchMSITree.cmd


Then all commands are echoed to the terminal, before they are run. This would more closely show the step, which caused the error message (if it is in one of the cmd.exe files).


Also note, that aker made one final commit later and replaced the downloads for version 12.5.1 and 11.9.9:

https://gitlab.com/wsusoffline/wsusoffline/-/commit/3984c005e895d211dd66c3846e893677e88a888e

https://gitlab.com/wsusoffline/wsusoffline/-/releases/12.5.1_CommunityEdition

https://gitlab.com/wsusoffline/wsusoffline/-/commit/610580c1910196ce6fa65dbf49d9018266971869

https://gitlab.com/wsusoffline/wsusoffline/-/releases/11.9.9esr_CommunityEdition
hbuhrmester
 
Posts: 525
Joined: 11.10.2013, 20:59

Re: 12.5 issue on server 2012

Postby aker » 01.06.2021, 15:12

I wasn't able to reproduce this behaviour after releasing 12.5.1 the second time.
I tested it a few times inside a VM; I only have an Eval version of w2k12, but that should behave as a normal one.

To confirm, you are running the latest version, check if .\static\SelfUpdateVersion-this.txt contains
12.5.1,rerelease


If you're running the second release of 12.5.1 please do this and send the results:

Open .\client\cmd\DoUpdate.cmd in an editor and search for
Code: Select all
:SkipIEw62Pre

Add the line
Code: Select all
@echo on

after it.
Then search for
Code: Select all
goto IEInstalled

:IEw63

and add
Code: Select all
@echo off
pause

before it.

Also open .\client\cmd\InstallOSUpdate.cmd and replace
Code: Select all
@echo off

with
Code: Select all
rem @echo off
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: 12.5 issue on server 2012

Postby rbronca » 01.06.2021, 23:02

I'm now working on these tests. Will report back when I'm done.
Robert
rbronca
 
Posts: 52
Joined: 19.08.2015, 08:14

Re: 12.5 issue on server 2012

Postby aker » 02.06.2021, 05:51

I just completed a run up to the first reboot of the dynamic updates over night.
It ran without any errors until now…
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

Next

Return to Installation / Updating

Who is online

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

cron