I didn't, but our hosting support may have. When we first reported that the server was not receiving/applying updates properly (thinking that it was a WSUS issue), they tried to reset the Windows Update components to get it working again. When that didn't work, they said that there was nothing that they could do and that we needed to rebuild the server (which was a last resort option for us)The different .NET frameworks aren't dependent on each other. Do you remember if you did a component cleanup with the reset base switch at some point? That can cause that message to appear since it merges the earlier "versions" of the COMPONENTS hive into one.
This was in the ComponentDetect key under the Component Based Servicing in the SOFTWARE hive.Was this ComponentDetect under the Component Based Servicing in the SOFTWARE hive or the ComponentFamilies key within the COMPONENTS hive? Those are the two subkeys which I can think which have the versioning information for each component.
Thanks, this seemed to work. I'm not seeing any more errors in the CBS.log file after running this script and then running "sfc /scannow". However, I'm still not seeing any updates when checking for new updates in Windows Update - I'm not sure if it requires a system reboot in order for that to clear up or not. If so, I'll have to wait until our next scheduled maintenance to see if that is indeed resolved now.SFCFix Script
Warning: this fix is specific to the user in this thread. No one else should follow these instructions as it may cause more harm than good. If you are after assistance, please start a thread of your own.
- Download SFCFix.exe (by niemiro) and save this to your Desktop.
- Download the file below, SFCFix.zip, and save this to your Desktop. Ensure that this file is named SFCFix.zip - do not rename it.
- Save any open documents and close all open windows.
- On your Desktop, you should see two files: SFCFix.exe and SFCFix.zip.
- Drag the file SFCFix.zip onto the file SFCFix.exe and release it.
- SFCFix will now process the script.
- Upon completion, a file should be created on your Desktop: SFCFix.txt.
- Copy (Ctrl+C) and Paste (Ctrl+V) the contents of this file into your next post for me to analyse please - put
tags around the log to break up the text.Code:
For reference, the file belongs to a .NET Framework 4.8 security update (KB4601058).
Here's the results from running the SFCFix script:
Code:
SFCFix version 3.0.2.1 by niemiro.
Start time: 2022-04-05 07:43:17.815
Microsoft Windows Server 2012 R2 - amd64
Using .zip script file at D:\SFCFix.zip []
PowerCopy::
Successfully took permissions for file or folder C:\Windows\WinSxS\msil_uiautomationtypes_31bf3856ad364e35_4.0.9696.17105_none_71df9291f4509bd1\UIAutomationTypes.dll
WARNING: File C:\Windows\WinSxS\msil_uiautomationtypes_31bf3856ad364e35_4.0.9696.17105_none_71df9291f4509bd1\UIAutomationTypes.dll was not backed up as that would replace the current backup.
Successfully copied file C:\Users\TEMP.DC3N\AppData\Local\niemiro\Archive\msil_uiautomationtypes_31bf3856ad364e35_4.0.9696.17105_none_71df9291f4509bd1\UIAutomationTypes.dll to C:\Windows\WinSxS\msil_uiautomationtypes_31bf3856ad364e35_4.0.9696.17105_none_71df9291f4509bd1\UIAutomationTypes.dll.
Successfully restored ownership for C:\Windows\WinSxS\msil_uiautomationtypes_31bf3856ad364e35_4.0.9696.17105_none_71df9291f4509bd1\UIAutomationTypes.dll
Successfully restored permissions on C:\Windows\WinSxS\msil_uiautomationtypes_31bf3856ad364e35_4.0.9696.17105_none_71df9291f4509bd1\UIAutomationTypes.dll
PowerCopy:: directive completed successfully.
Successfully processed all directives.
SFCFix version 3.0.2.1 by niemiro has completed.
Currently storing 1 datablocks.
Finish time: 2022-04-05 07:43:23.159
----------------------EOF-----------------------