[SOLVED] Windows update error 0x80073712 and DISM Error: 1734 The array bounds are invalid.

pontusbjorn

Well-known member
Joined
Feb 22, 2024
Posts
47
Hello,

I'm currently trying to run Windows update on Citrix PVS Golden/Base image, and i get these errors:
Windows update error 0x80073712 and
DISM Error: 1734 The array bounds are invalid.

I found the man Maxstar in these forums who seems to be fixing this error for everyone.

I've tried to "reverse engineer" what Maxstar done.

In the CBS log I found that there is some kind of loop for KB5034862, so I searched with Farbar Recovery Scan Tool for KB5034862 and I found a list for the patches in the registry, but now I need to make this SFCFix.txt file that removes the patches? I've tried to create a Powershell script but that didn't go far because I really don’t know what im looking for…

I really have no clue of what if what I'm doing is wrong, but because this is a Citrix server I can just reverse all changes I've done.

Can someone help me with this? Or at least point me in the right direction
 

Attachments

Edit: I know we tried to automate windows updates with Ivanti a couple of years of ago and according to my colleagues this has broken Windows update on several Citrix images, but we haven't found any fix...
 
Hi and welcome to Sysnative,

Follow these instructions to remove updates.
  • Open the Start menu of Windows and type the command CMD
  • When you see Command Prompt on the list, right-click on it and select Run as administrator.
  • When command prompt opens, copy and paste the following commands (one at a time) into it, then press enter.
Code:
wusa /uninstall /KB:5005573
wusa /uninstall /KB:5010359
  • Let me know if it says it was successful or you get the messages: The update KB5005573 and KB5010359 are not installed on this computer.
 
Hello Maxstar,

Thanks for the reply!
It just says that they are not installed, i also ran the components scanner and it was not happy...
 

Attachments

Hi,

Let's start with the remnants of updates, please do the following first.

Download the
577bf0efb8088-FRST.png
Farbar Recovery Scan Tool and save it to your Desktop:

Download the 64 bit version: - Farbar Recovery Scan Tool Link
  • Open the startmenu and type the command cmd.
  • After you find the Command Prompt, right click on it and select Run as Administrator.
  • Copy and paste the following into the Command Prompt and press enter.
Code:
reg load HKLM\COMPONENTS C:\WINDOWS\SYSTEM32\CONFIG\COMPONENTS
Right-click on the file FRST64.exe and choose Run as administrator.
  • Copy and paste the following (code) into the Search box and click the Search Registry button.
Code:
KB5005573;KB5010359
  • When the scan is complete, a message will display that SearchReg.txt is saved in the same folder FRST was started from.
  • Post the logfile SearchReg.txt as attachment in your next reply.
 
Hi,

Start the
577bf0efb8088-FRST.png
Farbar Recovery Scan Tool again.

Warning: This script was written specifically for this system. Do not run this script on another system.
  • Download the attachment fixlist.txt and save it to your desktop.
  • Right-click on FRST.exe and select "Run as administrator".
  • Press the Fix button.
  • If for some reason the tool needs a restart, please make sure you let the system restart normally.
  • When finished, a log called Fixlog.txt will appear in the same directory the tool is run from.
  • Post the logfile Fixlog.txt as attachment in your next reply.
 

Attachments

I'm currenty running the "Fixing" in FRST, but i just realized that in CBS.log it says:
(p) CBS Catalog Corrupt Package_3110_for_KB5005573~31bf3856ad364e35~amd64~~10.0.1.9
(p) CBS Catalog Corrupt Package_3547_for_KB5005573~31bf3856ad364e35~amd64~~10.0.1.9
(p) CBS Catalog Corrupt Package_501_for_KB5010359~31bf3856ad364e35~amd64~~10.0.1.5

So of course it makes sense to try to remove KB5005573 and KB5010359, feel kinda stupid now...
But how do you convert the SearchReg to fixlist syntax? Can you share how you do this? I've tried with powershell but im lacking the skills.
The reason i ask is because i have 7 more servers that won't update, so this would be great first step in the troubleshooting.
 
But how do you convert the SearchReg to fixlist syntax? Can you share how you do this?
We use a specific tool which is not publicly available, this because it is not without any risk to forcibly remove updates and/or remnants of them. So when you create a fixlist for a wrong update it could badly damage the registry. For example the Search-Reg.txt in your startpost is related to KB5034862 which is an Servicing Stack Update, and you don't want to remove this update. And it is also not the issue in this case.
 
The reason i "picked" KB5034862 is because i saw i was in some kind of loop and i really had no idea what is was looking for, i've been troubleshooting these servers for a while and i've come nowhere.
I understand your concern but in this case these are Citrix servers, so if i would break the registry i can just revert the changes to version of the image before i broke it + these servers are already broken due to the fact they haven't been patched in years.

If i were to find a "broken" KB on another machine, would i be able to just sent them to you and convert them for the fixlist?
 

Attachments

If i were to find a "broken" KB on another machine, would i be able to just sent them to you and convert them for the fixlist?
Please follow always the Windows Update Forum Posting Instructions and attach the requested files in a new thread.

For this server attach a copy of the COMPONENTS hive, then I can prepare the next fix.

Upload your COMPONENTS hive.
  • Navigate to C:\Windows\System32\Config and locate the COMPONENTS file.
  • Please copy this file to your desktop.
  • Note: If you receive an error that this file is in-use, simply reboot your computer and try again.
  • Right-click on this file on your desktop and select Send To > Compressed (zipped) folder. This will create a file named COMPONENTS.ZIP on your desktop.
  • If the file is too large to upload here, upload the file to www.wetransfer.com and post the link in your next reply.
 
Last edited:
Hi,

You have uploaded a Fixlog.zip file instead of the Components.zip file?
 
Run the following DISM command first and post the result. If it fails attach a new copy of the CBS log.
Code:
DISM /online /cleanup-image /RestoreHealth
 
DISM went fine, maybe i was to eager to run Windows update, but that failed with Error code: (0x80073712).
New CBS log attached.
 

Attachments

Export CBS (Component Based Servicing) hive
  • Click on the Start button and type regedit
  • When you see regedit on the list, right-click on it and select Run as administrator.
  • When regedit opens, using the left pane, navigate to the following registry key and select it by clicking on it once.
    Code:
    HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Component Based Servicing
  • Once selected, click File > Export....
  • Change the Save as type: to Registry Hive Files (*.*).

    622dbef75cd3a-Export-CBS-hive.png

  • Name this file ComponentBasedServicing (with no file extension) and save it to your Desktop.
  • Right-click on the saved file and choose Send > Compressed (zipped) Folder.
  • Attach the .ZIP file to your next post.
  • If the file is too large to upload here, upload the file to www.wetransfer.com and post the link in your next reply.
 
Step 1. Download the
577bf0efb8088-FRST.png
Farbar Recovery Scan Tool and save it to your Desktop:

Download the 64 bit version: - Farbar Recovery Scan Tool Link

Warning: This script was written specifically for this system. Do not run this script on another system.

  • Download the attachment fixlist.txt and save it to your desktop.
  • Right-click on FRST.exe and select "Run as administrator".
  • Press the Fix button.
  • If for some reason the tool needs a restart, please make sure you let the system restart normally.
  • When finished, a log called Fixlog.txt will appear in the same directory the tool is run from.
  • Post the logfile Fixlog.txt as attachment in your next reply.

Step 2. Reboot the server and download
61f7aba7309a1-ComponentsScanner_Icon.png
ComponentsScanner and save it to your desktop.
  • Right-click ComponentsScanner.exe and select "Run as administrator", click Yes on the UAC (User Account Control) prompt which appears.
  • Follow the on-screen instructions.
  • When this option appears: "Do you agree to upload your hive to Sysnative? Press "Y"..." press Y to upload the hive.
  • Once complete, a report will be saved to your desktop called ComponentsScanner.txt.
  • Post the logfile ComponentsScanner.txt as attachment into your next reply.
 

Attachments

Has Sysnative Forums helped you? Please consider donating to help us support the site!

Back
Top