A friend came to me to help with computer problems and I found that his Windows 8.1 (not Pro) install had not applied Windows Updates since 2017 (I think)
Ran sfc /scannow which found corrupt files.
Ran Dism /Online /Cleanup-Image /RestoreHealth and got Error: 0x80240021
The computer has 6Gb of RAM and 366Gb of free space on the system drive.
I found your SFCFix program and ran it as directed. Please find the resulting CBS.zip HERE.
Thanks in advance for any effort in helping me solve my friends problem.
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.
SFCFix version 3.0.2.1 by niemiro.
Start time: 2021-09-10 17:10:01.077
Microsoft Windows 8.1 Update 3 - amd64
Using .zip script file at C:\Users\Jon\Desktop\SFCFix.zip [0]
PowerCopy::
Successfully took permissions for file or folder C:\WINDOWS\winsxs\amd64_prncacla.inf_31bf3856ad364e35_6.3.9600.17415_none_95dd5540d57f8c01\Amd64\CNBJ2530.DPB
Successfully took permissions for file or folder C:\WINDOWS\winsxs\amd64_microsoft-windows-taskscheduler-client_31bf3856ad364e35_6.3.9600.17415_none_350542fb720d548c\taskschd.dll
Successfully took permissions for file or folder C:\WINDOWS\winsxs\amd64_microsoft-windows-photoviewer_31bf3856ad364e35_6.3.9600.17415_none_cd498623a375ac2c\PhotoViewer.dll
Successfully took permissions for file or folder C:\WINDOWS\winsxs\amd64_microsoft-windows-p..talcontrolssettings_31bf3856ad364e35_6.3.9600.17415_none_e4f76b5ee32cd7f8\wpc.dll
Successfully copied file C:\Users\Jon\AppData\Local\niemiro\Archive\amd64_prncacla.inf_31bf3856ad364e35_6.3.9600.17415_none_95dd5540d57f8c01\Amd64\CNBJ2530.DPB to C:\WINDOWS\winsxs\amd64_prncacla.inf_31bf3856ad364e35_6.3.9600.17415_none_95dd5540d57f8c01\Amd64\CNBJ2530.DPB.
The file \\?\C:\WINDOWS\winsxs\amd64_microsoft-windows-taskscheduler-client_31bf3856ad364e35_6.3.9600.17415_none_350542fb720d548c\taskschd.dll is in use and must be replaced over a reboot.
Successfully copied file C:\Users\Jon\AppData\Local\niemiro\Archive\amd64_microsoft-windows-photoviewer_31bf3856ad364e35_6.3.9600.17415_none_cd498623a375ac2c\PhotoViewer.dll to C:\WINDOWS\winsxs\amd64_microsoft-windows-photoviewer_31bf3856ad364e35_6.3.9600.17415_none_cd498623a375ac2c\PhotoViewer.dll.
The file \\?\C:\WINDOWS\winsxs\amd64_microsoft-windows-p..talcontrolssettings_31bf3856ad364e35_6.3.9600.17415_none_e4f76b5ee32cd7f8\wpc.dll is in use and must be replaced over a reboot.
Successfully pended file for replace over reboot: \\?\C:\WINDOWS\winsxs\amd64_microsoft-windows-taskscheduler-client_31bf3856ad364e35_6.3.9600.17415_none_350542fb720d548c\taskschd.dll
Successfully pended file for replace over reboot: \\?\C:\WINDOWS\winsxs\amd64_microsoft-windows-p..talcontrolssettings_31bf3856ad364e35_6.3.9600.17415_none_e4f76b5ee32cd7f8\wpc.dll
Successfully restored ownership for C:\WINDOWS\winsxs\amd64_prncacla.inf_31bf3856ad364e35_6.3.9600.17415_none_95dd5540d57f8c01\Amd64\CNBJ2530.DPB
Successfully restored permissions on C:\WINDOWS\winsxs\amd64_prncacla.inf_31bf3856ad364e35_6.3.9600.17415_none_95dd5540d57f8c01\Amd64\CNBJ2530.DPB
Successfully restored ownership for C:\WINDOWS\winsxs\amd64_microsoft-windows-photoviewer_31bf3856ad364e35_6.3.9600.17415_none_cd498623a375ac2c\PhotoViewer.dll
Successfully restored permissions on C:\WINDOWS\winsxs\amd64_microsoft-windows-photoviewer_31bf3856ad364e35_6.3.9600.17415_none_cd498623a375ac2c\PhotoViewer.dll
PowerCopy:: directive completed successfully.
Reboot:: directive completed successfully.
PostRebootCorruptionDetection::
No hash verification failures detected.
PostRebootCorruptionDetection:: directive completed successfully.
PostRebootRestorePermissions::
Successfully restored ownership for C:\WINDOWS\winsxs\amd64_microsoft-windows-taskscheduler-client_31bf3856ad364e35_6.3.9600.17415_none_350542fb720d548c\taskschd.dll
Successfully restored permissions on C:\WINDOWS\winsxs\amd64_microsoft-windows-taskscheduler-client_31bf3856ad364e35_6.3.9600.17415_none_350542fb720d548c\taskschd.dll
Successfully restored ownership for C:\WINDOWS\winsxs\amd64_microsoft-windows-p..talcontrolssettings_31bf3856ad364e35_6.3.9600.17415_none_e4f76b5ee32cd7f8\wpc.dll
Successfully restored permissions on C:\WINDOWS\winsxs\amd64_microsoft-windows-p..talcontrolssettings_31bf3856ad364e35_6.3.9600.17415_none_e4f76b5ee32cd7f8\wpc.dll
PostRebootRestorePermissions:: directive completed successfully.
Successfully processed all directives.
SFCFix version 3.0.2.1 by niemiro has completed.
Currently storing 4 datablocks.
Finish time: 2021-09-10 17:20:13.938
----------------------EOF-----------------------
This will create a file, cbs.txt on your Desktop. Please attach this to your next post. Note: if the file is too big to upload to your next post please upload via a service such as Filedropper or One Drive or WeTransfer and just provide the download link.