Windows Server 2016 DSIM fails The array bounds are invalid

acerda

Member
Joined
Aug 22, 2023
Posts
6
Deployment Image Servicing and Management tool
Version: 10.0.14393.4169

Image Version: 10.0.14393.4169

[==========================100.0%==========================]
Error: 1734

The array bounds are invalid.

Attached the 3 logs, please advice.

Thanks!
 

Attachments

Hi and welcome to Sysnative,

Step 1. 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 SFCFix.zip and save it to your desktop.
  • Drag the SFCFix.zip file over the SFCFix.exe executable and release it.
6190d993a26f3-SFCFix-Zip-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.


Step 2. 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

Resultm log for this command is located in CBS.zip

C:\Users\epicormobile>DISM /online /cleanup-image /RestoreHealth

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.

C:\Users\epicormobile>



But I still have the next problem, log for this command is located in CBS Get-Features.zip

C:\Users\epicormobile>Dism /English /online /Get-Features /Format:List

Deployment Image Servicing and Management tool
Version: 10.0.14393.4169

Image Version: 10.0.14393.4169


Error: 0x800f0805

The specified package is not valid Windows package.

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

C:\Users\epicormobile>
 

Attachments

Hi,

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.
 
Do you have recent backups of this server, this because subkey (Packages) is completely empty which cause the "Get-Features" issue.
 
No, I don't have a backup. The machine is an Azure VM, I was looking for a solution before recreating it from zero since I have a few things installed I don't want to reinstall.
 
Do you have a similar server running? Then we could try to import the packages subkey from that machine!
 
Could you please provide a copy of the Component Based Servicing hive from that machine.

Retrieve CBS (Component Based Servicing) hive through the command line
  • Open the Start menu of Windows and type CMD.
  • When you see Command Prompt on the list, select the option Run as administrator.
  • Copy and paste the following commands one at a time into the command prompt and press enter after each.
Code:
REG Save "HKLM\SOFTWARE\Microsoft\Windows\CurrentVersion\Component Based Servicing" "%temp%\CBS.hiv"
PowerShell Compress-Archive -Path "%temp%\CBS.hiv" -DestinationPath "%userprofile%\Desktop\CBS-Hive.zip"
  • Once done, a file will appear on your desktop, called CBS-Hive.zip.
  • Attach this file as attachment to your next reply.
 
Sorry, but the packages subkey from this copy of the CBS hive differ to much to use ase replacement. So I would suggest to perform a repair installation using the Windows Server 2016 ISO, or reinstall this server from scratch.

Server 2016 in-place upgrade
  • Mount the Windows Server ISO and run Setup.exe. You can use the Microsoft Evaluation Centre to download the ISO files.
  • Use the option Download updates, drivers, and optional features (recommended) and click Next.
  • Depending on your Windows Server version and license, you may see a screen prompting you to enter the licensing key.
  • In the next screen, select the image of the installed Windows Server edition and click Next.
  • Then accept the EULA. To perform a in-place upgrade, you need to check keep personal files and apps. Then click Next.
  • After clicking Next, an upgrade process will start checking for updates, when this is ready click install to start the in-place upgrade.
 

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

Back
Top