[SOLVED] Windows 2016 DISM Errors

arremondo

Contributor
Joined
Oct 22, 2023
Posts
382
Hello all. I am new on this site so if I posted in the wrong area, please excuse me. I am working on a Server 2016 DC and what started all of this was when I tried to install Windows Fax Server. I kept getting the error:

"The request to add or remove features on the specified server failed. Installation of one or more roles, role services or features failed. The referenced assembly could not be found. Error: 0x80073701"

I ran sfc /scannow and it came back letting me know that it repaired some corrupt files. The next time I ran it, it was clean. When I run DISM I am getting:

Error: 1734
The array bounds are invalid.

I checked the CBS file and it says that it is missing packages for KB500719. Problem is that KB500719 is no longer available from Microsoft. I found another person on this forum with the exact same problem ( [SOLVED] - Windows 2016 DISM errors ).

The person helping him had him run the Farbar Recovery Scan Tool so I downloaded it and ran it and have the Searchreg.txt output file. I was hoping that I could get the same assistance as the other person did as I am stuck right now trying to install Windows Fax Server and at least part of it is from the above. The person helping had them upload the file and then they created a fix file for them. Any assistance would be appreciated.

Thank you.
 
Step #1 - Run SFC Scan

I ran this and got the result: "Windows Resource Protection did not find any integrity violtaions."

Step #2 - Run SURT/DISM

I can't run SURT because this is on a Server 2016 server. When I run DISM, I get "Error: 1734 The array bounds are invalid."

Step #3 - Run ComponentsScanner

No corruption detected

Step #4 - Export CBS Folder

Done. Attached CBS.zip file
 

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:5005573
  • Let me know if it says it was successful or you get the message: The update KB5005573 is not installed on this computer.
 
Please perform the same instructions for the following update:
Code:
wusa /uninstall /KB:5007192
 
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;KB5007192
  • 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.
 
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

This looks good, the remnants of both updates are removed successfully. So please run DISM first. If it fails attach a new copy of the CBS log.
Code:
DISM /online /cleanup-image /RestoreHealth
 
DISM has been running for an hour and 15 minutes but there is no CPU or IO being used. I copied the DISM log and saw the following errors in it:

2023-10-24 11:58:13, Warning DISM DISM OS Provider: PID=36368 TID=34920 Unable to set the DLL search path to the servicing stack folder. C:\Windows may not point to a valid Windows folder. - CDISMOSServiceManager::Final_OnConnect

2023-10-24 11:58:13, Warning DISM DISM Provider Store: PID=36368 TID=34920 Failed to Load the provider: C:\Users\ADMINI~1.ABC\AppData\Local\Temp\096BEA37-1907-4507-96FD-E93DA073A365\PEProvider.dll. - CDISMProviderStore::Internal_GetProvider(hr:0x8007007e)

2023-10-24 11:58:13, Warning DISM DISM Provider Store: PID=36368 TID=34920 Failed to Load the provider: C:\Users\ADMINI~1.ABC\AppData\Local\Temp\096BEA37-1907-4507-96FD-E93DA073A365\EmbeddedProvider.dll. - CDISMProviderStore::Internal_GetProvider(hr:0x8007007e)

They all occurred in the first second of starting DISM. The most concerning is the first one that is saying that Windows may not be a valid Windows folder. I am worried that it won't start if rebooted.
 
So, I just hit the Enter key and it said the restore operation completed successfully. I never had to hit the Enter key before (it was sitting at 100% for over 2 hours) but it appears to have worked.

Also ran an SFC /scannow and it didn't show any integrity violations.

I was also able to install Windows Fax Server which is what started this whole mess!

Thank you for all your help on this!
 
Hi,

You're welcome. Glad to hear you were able to install the Fax Server role...
I will mark this thread as solved then.
 

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

Back
Top