DISM error array bounds are invalid

affannimattia

New member
Apr 14, 2025
2
Hi everyone and thank you for sharing your knowledge.
I'm trying to resolve some strange issues on a Windows Server 2016 virtual machine.

When creating a folder, 4 new folders are being created without reason.

I ran these commands:
sfc /scannow that returnet everything was ok
and DISM /Online /Cleanup-Image /RestoreHealth which gave me "array bounds are invalid".

Here's my CBS logs if anyone can help :).
I thought KB4038782 was the problem, but it does not seem to be installed.

Thank you!
 

Attachments

Hi @affannimattia,

Welcome to Sysnative Forums!

If you haven't already, please review the posting instructions here, and attach the requested log files. Without log files, our helpers will not be able to assist, and this will slow down fixing your machine.

If logs have been already been provided, our team of volunteers will analyse the provided log files to build a fix for your system. Please be aware that this may take several days from your initial post, due to the high volume of threads that we receive.


- Sysnative Windows Update Team
 
Hello and welcome,

Step 1:
When creating a folder, 4 new folders are being created without reason.
Which folder are your creating and which ones are created too ?


Step 2:
FRST Registry Search
  1. Click the Start button and in the search box, type CMD
  2. When you see cmd.exe on the list, right-click on it and select Run as administrator.
  3. When command prompt opens, copy and paste the following command into it, press enter afterwards.
    Code:
    REG LOAD HKLM\COMPONENTS C:\Windows\System32\config\COMPONENTS

    Note: This loads your components hive which is what we want. Please keep the command prompt window open while you perform the remaining steps. You can minimize it if you wish but keep it open.
  4. Download the Farbar Recovery Scan Tool and save it to your Desktop:
    64-bit: Downloading Farbar Recovery Scan Tool
    Note: Your antivirus program may report FRST incorrectly as an infection. If so, disable the real-time protection when downloading and running FRST.
  5. Right-click on the file FRST64.exe and choose Run as administrator.
  6. Copy and paste KB4038782 into the Search box and click the Search Registry button.
  7. When the scan is complete, a message will display that 'SearchReg.txt' is saved in the same folder FRST was started from. Notepad will open this file also. Close Notepad and attach the file 'SearchReg.txt' to your next reply.
  8. You may close any remaining open windows now.
 
Hi Peter, thank you for helping me.
Which folder are your creating and which ones are created too ?
When I create a new folder with right click, 4 new Folders are created:
New Folder
New Folder(2)
New Folder(3)
New Folder(4)

If I create a new folder from cmd this does not happen. It seems to happen in specific folders, maybe due to permission errors or something. I'm investigating with procmon.

I attached the requested file.
Thank you!
 

Attachments

Step 1:
Warning: This script was written specifically for this user, for use on that particular machine. Do not run this script on another machine.
  1. Download the attachment fixlist.txt and save it to your desktop.
  2. Right-click on FRST64.exe and select "Run as administrator".
  3. Press the Fix button.
  4. The tool will now process fixlist.txt.
  5. If for some reason the tool needs a restart, please make sure you let the system restart normally. After that let the tool complete its run.
  6. When finished, a log called Fixlog.txt will appear in the same directory the tool is run from.
  7. Attach the logfile Fixlog.txt to your next reply.

Step 2:
Restart the machine.
Run the command sfc /scannow in an elevated commandprompt and report the result.
If it fails, copy the file C:\Windows\Logs\CBS\cbs.log to your desktop.
Zip the copied file and attach the zipped cbs.log to your next reply.
 

Attachments

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

Back
Top