[SOLVED] Server 2016: DISM Error 1734 Array bounds are invalid

ITFlyer

Member
Joined
Jan 31, 2023
Posts
10
I'm having the identical issue as described in this thread. I cannot successfully install Windows updates or run a dism /restorehealth, including trying to source files from a WIM file.

Microsoft Windows [Version 10.0.14393]
(c) 2016 Microsoft Corporation. All rights reserved.

C:\>sfc /scannow

Beginning system scan. This process will take some time.

Beginning verification phase of system scan.
Verification 100% complete.

Windows Resource Protection found corrupt files and successfully repaired
them. Details are included in the CBS.Log windir\Logs\CBS\CBS.log. For
example C:\Windows\Logs\CBS\CBS.log. Note that logging is currently not
supported in offline servicing scenarios.

C:\>sfc /scannow

Beginning system scan. This process will take some time.

Beginning verification phase of system scan.
Verification 100% complete.

Windows Resource Protection did not find any integrity violations.

C:\>dism /online /cleanup-image /scanhealth

Deployment Image Servicing and Management tool
Version: 10.0.14393.4169

Image Version: 10.0.14393.4169

[==========================100.0%==========================] The component store is repairable.
The operation completed successfully.

C:\>dism /online /cleanup-image /restorehealth

Deployment Image Servicing and Management tool
Version: 10.0.14393.4169

Image Version: 10.0.14393.4169

[===========================93.6%====================== ]
Error: 1734

The array bounds are invalid.

The DISM log file can be found at C:\Windows\Logs\DISM\dism.log
 

Attachments

Hi and welcome to Sysnative,

Follow these instructions to remove an update.
  • 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 command into it, then press enter.
Code:
wusa /uninstall /KB:4516061
  • Let me know if it says it was successful or you get the message: The update KB4516061 is not installed on this computer.
 
It is not installed: "The update KB4516061 is not installed on this computer."

Thank you!
 
Last edited by a moderator:
Hi,

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:
KB4516061
  • 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.

Afterwards, reboot the system and run the following DISM command and post the result. If it fails attach a new copy of the CBS log.
Code:
DISM /online /cleanup-image /RestoreHealth
 

Attachments

This was successful!

Deployment Image Servicing and Management tool
Version: 10.0.14393.4169

Image Version: 10.0.14393.4169

[==========================100.0%==========================] The restore operation completed successfully.
The operation completed successfully.

I'll reboot and try an update.
 

Attachments

Last edited by a moderator:
OK, after this process, the update process failed like it always does. It gets 68% through the last phase of updates (after server reboots) then fails with:

We couldn't complete the updates
Undoing changes
 
Last edited by a moderator:
Hi,

Please upload a new copy of the CBS logs en the following logfile.

  • Open Windows Explorer and browse to the C:\Windows\INF folder.
  • Right-click on the file setupapi.dev.log and choose Send to > Compressed (zipped) folder.
  • Now the message will appear, "Windows cannot create the Compressed (zipped) Folder here. Do you want it to be placed on the desktop instead?"
  • Click on the Yes button here.
618e949e09fef-CBS-Folder.png

  • Attach the file setupapi.dev.zip in your next reply.
 
Rich (BB code):
2023-02-17 00:08:25, Info                  CSI    0000019b Loading user account SID S-1-5-21-3509931067-985828573-3564591401-1004
2023-02-17 00:08:25, Error                 CSI    0000019c@2023/2/17:05:08:25.158 (F) onecore\base\wcp\rtllib\inc\auto_hive.h(180): Error c0000033 [Error,Facility=(system),Code=51 (0x0033)] originated in function Windows::Rtl::AutoHive::Load expression: (null)
[gle=0x80004005]

Please provide an export of the ProfileList.
  • Click the Start button and in the search box, type Command Prompt
  • When you see Command Prompt on the list, right-click on it and select Run as administrator.
  • Copy and paste the following command line and press Enter.
Code:
reg query "HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows NT\CurrentVersion\ProfileList" /s > "%userprofile%\desktop\ProfileList.txt"
  • When finished, a logfile called ProfileList.txt is saved on your desktop.
  • Post the logfile as attachment in your next reply.
 
Attached. This server was originally part of a workgroup, and later joined a domain, if that is of any useful information.
 

Attachments

Last edited by a moderator:
Could you please confirm if the tool Forensit Profile Wizard program is used for the transfer to join another domain?
 
Thanks, please run SFCFix with the following instructions.

Download
56f31e53c97da-SFCFix.PNG
SFCFix and save it to your desktop.
Warning: This fix was written specifically for this system. Do not run this fix on another system.
  • Save any work you have open, and close all programs.
  • Download the attachment SFCFixScript.txt and save it to your desktop.
  • Drag the SFCFixScript.txt file over the SFCFix.exe executable and release it.
62151e1bebac4-SFCFix-Txt-Eng.gif

  • SFCFix will launch, let it complete.
  • Once done, a file will appear on your desktop, called SFCFix.txt.
  • Post the logfile (SFCFix.txt) as attachment in your next reply.

Afterwards, reboot the server and attempt to update. If it fails attach a new copy of the CBS log(s).
 

Attachments

Last edited:
Victory!! Updates succeeded! Thank you so much! Is there any documentation that teaches the process you just used, so that I might be able to help others do this as well?
 

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

Back
Top