Windows Server 2016 (Hyper-v host) DISM error 1734 the array bounds are invalid

Scar_UY

Well-known member
Joined
Oct 2, 2019
Posts
77
My Hyper-v Host hangs and becomes completely unresponsive when one of the guests is restarted.
Guest has 3 cards passthrough from the host (a Raid card, and 2 sas cards)
Everything else works just fine, when the system hangs there are no events recorded at all.
I run sfc /scannow on the host, no errors found, I ran DISM /Online /Cleanup-Image /RestoreHealth, and I got the message in the title (translated, OS is in spanish)

Microsoft forums suggest to reinstall from scratch when searching this error, Spiceworks suggest to do an in place upgrade to WS2019...
First would be my last resource, second one is completely out of the question.

DISM log show many

Code:
Try to initialize Panther logging 1 times, last error: 0x0

and

Code:
(...)
Error in operation: source for package or file not found, ResolveSource() unsuccessful. (CBS HRESULT=0x800f081f) - CCbsConUIHandler::Error
Package Manager: PID=8124 TID=8980 Failed finalizing changes. - CDISMPackageManager::Internal_Finalize(hr:0x800f081f)
(...)
Failed to restore the image health. - CPackageManagerCLIHandler::ProcessCmdLine_CleanupImage(hr:0x800f081f)
Package Manager: PID=8124 TID=8980 Failed while processing command cleanup-image. - CPackageManagerCLIHandler::ExecuteCmdLine(hr:0x800f081f)
(...)

CBS log shows many:

Code:
Repr:Not able to find matching update for package, Package_4715_for_KB5026363~31bf3856ad364e35~amd64~~10.0.1.8

and

Code:
CBS Catalog Missing            Package_4715_for_KB5026363~31bf3856ad364e35~amd64~~10.0.1.8

I tried enabling the Policy "Specify settings for optional component installation and component repair" but that didn't work, so I mounted the ISO and run DISM /Online /Cleanup-Image /RestoreHealth /Source:WIM:D:\Sources\install.wim:2 /LimitAccess, which gave:

Code:
Error: 0x800f081f
The source files could not be found

Also tried DISM /Online /Cleanup-Image /RestoreHealth /Source:\\someotherserver\c$\windows /LimitAccess, which gave the same error.

So I downloaded KB5026363 and installed it, got the error The update is not applicable to your computer and I ran out of ideas, except to come here to the experts.

Thank you in advance.
 
Hi,

Upload a copy of the CBS folder
  • Open Windows Explorer and browse to the C:\Windows\Logs folder.
  • Right-click on the CBS folder 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.
653a64385d891-618e949e09fef-CBS-Folder.png

  • Attach the file CBS.zip to your next reply. If the file is too large to attach, upload the CBS.zip file to www.wetransfer.com and post the link in your next reply.
 
Sorry I took so long to come back, I was temporarily assigned to another sector and just came back to this, that as expected nobody even noticed while I was gone...
Here is the CBS folder:

cbs

Thank you for your patience.
 
Hi,

Step 1. Download
6530fbb0f4101-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.
650c22f99662d-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

SFCFix finished without errors, SFCFix.txt attached.
DISM /online /cleanup-image /RestoreHealth finished without errors.
 

Attachments

Great, please attempt to update to see if the latest update will install without any issues too. If it fails attach a new copy of the CBS logs.
 
Well, I'm glad to report that the server not only installed the pending updates without any problem, but also doesn't hang when the problematic guest is shutdown or restarted, I even waited for about a week since the problem was more prone to appear if the server had been on for several days.

I should have kept my mouth quiet, After restarting the guest several times without issue, just now, restarted the guest and the host stopped responding...
 
Let's take a look at the Event Logs..

Upload the Event Viewer logs.
  • 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 commands one at a time into the command prompt and press enter after each.
    Code:
    wevtutil epl SYSTEM "%userprofile%\Desktop\System.evt"
    wevtutil epl APPLICATION "%userprofile%\Desktop\Application.evt"
    PowerShell Compress-Archive -Path "%userprofile%\Desktop\*.evt" -DestinationPath "%UserProfile%\Desktop\EventLogs.zip"
  • These commands will collect the System and Application logs and create EventsLogs.zip on your Desktop.
  • Attach this file in your next reply.
 

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

Back
Top