[SOLVED] Windows update issue and DISM errors

rclarke

Well-known member
Joined
Jul 25, 2022
Posts
68
After great success previously, I'm back to ask for some help resolving a Windows update install failure.

Server 2016 will not install KB5021235 2022-12 Cumulative Update.
I have run an sfc/ scannow which found errors &
'DISM /online /cleanup-image /restorehealth' also threw an error.
Code:
C:\Windows\system32>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 but was unable to fix some
of 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:\Windows\system32>DISM /online /cleanup-image /restorehealth

Deployment Image Servicing and Management tool
Version: 10.0.14393.4169

Image Version: 10.0.14393.4169

[==========================100.0%==========================]
Error: 0x800f081f

The source files could not be found.
Use the "Source" option to specify the location of the files that are required to restore the feature. For more information on specifying a source location, see http://go.microsoft.com/fwlink/?LinkId=243077.

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

I have attached the CBS & DISM logs.
I previously have tried to install the update by downloading the msu file and extracting the cab file. Then ran DISM to install it. But the server froze up over christmas & I have had to hard reset it today as it stopped responding.

DISM log states it cannot find the soruce files. Do I have to specify an offline source for a good image?
 

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

Hi, I appreciate you taking the time to look into this for me.

I have run through the steps you advised.
The SFCFix.txt is attached for you to review.
I re-ran the DISM command 'DISM /online /cleanup-image /RestoreHealth' which completed succesfully.

I attempted to retry the windows update, but this failed.
I have had to upload the CBS log to dropbox due to it's size. Please find it here:
CBS.log

Thanks in advance for the continued support.
 

Attachments

Hi,

  • 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:
fsutil hardlink list %systemroot%\Servicing\Packages\Package_822_for_KB5021235~31bf3856ad364e35~amd64~~10.0.1.8.cat > "%userprofile%\desktop\fslist.txt"
  • When finished, a logfile called fslist.txt is saved on your desktop.
  • Post the logfile as attachment in your next reply.
 
Hi,
Thanks for the next stage. Here is the requested file.

I look forward to your next reply.
Regards
 

Attachments

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

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.

After the reboot, please attempt to update and let me know the result. If it fails attach a new copy of the CBS logs.
 

Attachments

I have run the FBRST tool and the resulting text file is attached.
The server has prompted for a restart. I have scheduled this to run out of hours tonight.

I will re-attempt the update tomorrow and update the thread

Many Thanks
 

Attachments

Hi, The server has automatically tried to install the updates over night. Some of the services were not responding again this morning. Which ash resulted in a couple fo hours trying to resolve user login issues.
I have uploaded the CBS and a CBS Persitant log here for your review.
CbsPersist_20230110112848.log
CBS.log

Many Thanks
 
Hi,

These logs are clean, so I assume KB5021235 is installed succesfully?
 
Hi,

Could you please run the following command again in an elevated command prompt and attach "fslist2.txt" to your next post.
Code:
fsutil hardlink list %systemroot%\Servicing\Packages\Package_822_for_KB5021235~31bf3856ad364e35~amd64~~10.0.1.8.cat > "%userprofile%\desktop\fslist2.txt"
 
Hi,

Let's try to install KB5021235 using DISM to see if it will bypass the 0x80070476 - ERROR_TOO_MANY_LINKS issue.

Follow these instructions to install an update with DISM.
  • 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 command into it, and press enter. (Leave the CMD window open!)
Code:
MD C:\WUTemp
  • Now, download the following update (KB5021235) to: C:\WUTemp - Or copy this file from the download directory to C:\WUTemp. (Important!)
    Downloadlink: KB5021235
  • Copy and paste the following commands one at a time into the command prompt and press enter after each.
Code:
CD C:\WUTemp
EXPAND.exe windows10.0-kb5021235-x64_5d51c0893c43763fff710d3c6bc46feb6446d9f1.msu -f:* C:\WUTemp
DISM.exe /Online /Add-Package /PackagePath:C:\WUtemp\Windows10.0-KB5021235-x64.cab
  • Let me know if it says it was successful or if there are any errors. Or take a screenshot of the command prompt window and paste it into your next reply.
 
Hi,
I downloaded the file and ran the command. First of all it faile dis there is not much free space on teh C: drive. After i cleared out some files I ran it again.
The CMD prompt produced an error:

1673371924522.png

I have also attached the DISM log and the CBS log to dropbox
CBS.log

Thanks for your continued efforts.
 

Attachments

Hi.
I realise that space is getting low on the C: drive but would have though there was enough to allow the update to complete. I have other servers with a similar amount of space free that are updating OK.
I have requested some additional space from our hosting company. I hope this to be completed later today.

Here is the amount of free space:
1673431144814.png
 
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 server and attempt to update. If if fails attach a new copy of the CBS log.
 

Attachments

Hi,
Sorry but i missd the notification of the last post.
I have not had tim since then to look at this again, until today.Now the server has attempted to install a different update:
2023-01 Cumulative Update for Windows Server 2016 for x64-based Systems (KB5022289)
Which is now failing instead.
I have had the C: drive space increased, so that is no longer a factor.
I have attached a small CBS log and uploaded a larger CBSPersist here:
CbsPersist_20230117094332.log

Many Thanks
 

Attachments

Hi,

Could you please provide a copy of the complete CBS folder, the latest error is in one of the older logs.
  • 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.
618e949e09fef-CBS-Folder.png

  • Attach the file CBS.zip to your next reply.
 

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

Back
Top