We have a Windows 2019 VM which has been unable to install any Windows Cumulative Updates for some time. SFC /Scannow finds errors it can't fix and Dism /Online /Cleanup-Image /RestoreHealth fails with Error Code 0x800f081f.
I have attached the ComponentScanner log as stated in the Windows Update Forum Posting Instructions and attached the CBS.zip
WARNING! The following fix is specific to the user's system in this thread only. No one else should follow these instructions, as it could damage your system.
Hi Gary,
==
SFCFix version 3.0.2.1 by niemiro.
Start time: 2023-06-16 13:13:44.040
Microsoft Windows Server 10 Build 17763 - amd64
Using .zip script file at C:\Users\Administrator\Desktop\SFCFix.zip [0]
PowerCopy::
Failed to find any content under directory "C:\Users\Administrator\AppData\Local\niemiro\Archive" in line ""C:\Users\Administrator\AppData\Local\niemiro\Archive" C:\Windows\WinSxS [DIR]".
PowerCopy:: directive completed successfully.
Successfully processed all directives.
Failed to generate a complete zip file. Upload aborted.
SFCFix version 3.0.2.1 by niemiro has completed.
Currently storing 1 datablocks.
Finish time: 2023-06-16 13:22:03.713
Script hash: FnIpTwglnFjh6kyanwKUckrCnF9NqUl7bhSCgx5Jpxk=
----------------------EOF-----------------------
==
Hi Gary,
===
SFCFix version 3.0.2.1 by niemiro.
Start time: 2023-06-16 18:51:15.085
Microsoft Windows Server 10 Build 17763 - amd64
Using .zip script file at C:\Users\Administrator\Desktop\SFCFix.zip [2]
PowerCopy::
Successfully took permissions for file or folder C:\Windows\WinSxS\amd64_microsoft-windows-t..enseserver-lrwizdll_31bf3856ad364e35_10.0.17763.1_none_f5101f628983b202\LServer_PKConfig.xml
WARNING: File C:\Windows\WinSxS\amd64_microsoft-windows-t..enseserver-lrwizdll_31bf3856ad364e35_10.0.17763.1_none_f5101f628983b202\LServer_PKConfig.xml was not backed up as that would replace the current backup.
Successfully copied file C:\Users\Administrator\AppData\Local\niemiro\Archive\amd64_microsoft-windows-t..enseserver-lrwizdll_31bf3856ad364e35_10.0.17763.1_none_f5101f628983b202\LServer_PKConfig.xml to C:\Windows\WinSxS\amd64_microsoft-windows-t..enseserver-lrwizdll_31bf3856ad364e35_10.0.17763.1_none_f5101f628983b202\LServer_PKConfig.xml.
Successfully restored ownership for C:\Windows\WinSxS\amd64_microsoft-windows-t..enseserver-lrwizdll_31bf3856ad364e35_10.0.17763.1_none_f5101f628983b202\LServer_PKConfig.xml
Successfully restored permissions on C:\Windows\WinSxS\amd64_microsoft-windows-t..enseserver-lrwizdll_31bf3856ad364e35_10.0.17763.1_none_f5101f628983b202\LServer_PKConfig.xml
PowerCopy:: directive completed successfully.
Successfully processed all directives.
SFCFix version 3.0.2.1 by niemiro has completed.
Currently storing 1 datablocks.
Finish time: 2023-06-16 18:51:15.851
Script hash: FnIpTwglnFjh6kyanwKUckrCnF9NqUl7bhSCgx5Jpxk=
----------------------EOF-----------------------
===
Navigate to C:\Windows\System32\Config and locate the COMPONENTS file.
Please copy this file to your desktop.
Note: If you receive an error that this file is in-use, simply reboot your computer and try again.
Right-click on this file on your desktop and select Send To...Compressed (zipped) folder. This will create a file named COMPONENTS.ZIP on your desktop.
The file will likely be too large to upload here, if so please upload to a file sharing service.
The maximum was 30MB, so I thought that 23MB will fit just fine, but probably it didn't.
I don't see a file attached in my previous post, which I did.The TransferKit isn't reachable, because their ip has changed.
The SendFileOnline didn't upload and stayed on 0%
The WeTransfer needs a email-address to inform about the file I have for you and I don't have this. https://synasmg21.synology.me:5001/sharing/rMRJNTKeg
123456
WARNING! The following fix is specific to the user's system in this thread only. No one else should follow these instructions, as it could damage your system.
Download the attachment SFCFix.zip and save it on your desktop.
Save any work you have open, and close all programs.
Drag the SFCFix.zip file over the SFCFix.exe executable and release it.
SFCFix will launch, let it complete.
Once done, a file will appear on your desktop, called SFCFix.txt
Open the file, then copy and paste its content in your next reply.
Next ...
Click Search button and type Command Prompt
From the results, right click on the Command Prompt icon, and select Run as administrator
A Command Window will open.
Copy paste the command below into it, then press Enter
Dism /Online /Cleanup-Image /RestoreHealth
Once DISM has finished running ...
Please attach your ... C:\Windows\Logs\CBS\cbs.log ... to your next reply.
If the file is too large, upload it to a file sharing service, and post me the link.
Hi Gary,
===
SFCFix version 3.0.2.1 by niemiro.
Start time: 2023-06-17 05:25:16.465
Microsoft Windows Server 10 Build 17763 - amd64
Using .zip script file at C:\Users\Administrator\Desktop\SFCFix.zip [0]
PowerCopy::
Successfully took permissions for file or folder C:\Windows\WinSxS\amd64_microsoft-windows-t..enseserver-lrwizdll_31bf3856ad364e35_10.0.17763.1_none_f5101f628983b202\LServer_PKConfig.xml
WARNING: File C:\Windows\WinSxS\amd64_microsoft-windows-t..enseserver-lrwizdll_31bf3856ad364e35_10.0.17763.1_none_f5101f628983b202\LServer_PKConfig.xml was not backed up as that would replace the current backup.
Successfully copied file C:\Users\Administrator\AppData\Local\niemiro\Archive\WinSxS\amd64_microsoft-windows-t..enseserver-lrwizdll_31bf3856ad364e35_10.0.17763.1_none_f5101f628983b202\LServer_PKConfig.xml to C:\Windows\WinSxS\amd64_microsoft-windows-t..enseserver-lrwizdll_31bf3856ad364e35_10.0.17763.1_none_f5101f628983b202\LServer_PKConfig.xml.
Successfully restored ownership for C:\Windows\WinSxS\amd64_microsoft-windows-t..enseserver-lrwizdll_31bf3856ad364e35_10.0.17763.1_none_f5101f628983b202\LServer_PKConfig.xml
Successfully restored permissions on C:\Windows\WinSxS\amd64_microsoft-windows-t..enseserver-lrwizdll_31bf3856ad364e35_10.0.17763.1_none_f5101f628983b202\LServer_PKConfig.xml
PowerCopy:: directive completed successfully.
Successfully processed all directives.
SFCFix version 3.0.2.1 by niemiro has completed.
Currently storing 1 datablocks.
Finish time: 2023-06-17 05:25:17.183
Script hash: jFnwmyNVi5iYuoPqr0pl1vG8odrfTgaSStWJaCHeRR0=
----------------------EOF-----------------------
===
Yes, this last script and file fixed it for me and I am able to use the Windows Update again.
Thank you for this and your help and the help of this forum is very much appreciated!