Windows updates are not able to install. Upon further inspection of the CBS logs I can see that there are complaints of "0x80070246 - An illegal character was encountered."
The component scanner further seems to confirm this.
What is the best way to fix this?
Is there a script or way to resolve this?
ComponentsScanner Version 1.5.1.0 by sysnative.com
Windows Version: Windows 10 22H2 x64 (10.0.19045.2728)
Start time: 2023-11-20T17:01:43
Hive scanned: %windir%\System32\config\COMPONENTS
Number of keys: 152450
Number of values: 351259
==== Critical Errors ====
None
==== Corrupt Key Names ====
Key: ROOT\DerivedData\Components\amd64_microsoft-windows-m..aphostres.resources_31bf3856ad364e35_10.0.19041.1_ko-KYߋʼnJñù©5-IÕ½8ƒÐ
==== Corrupt Value Names ====
Key: ROOT\DerivedData\Components\amd64_microsoft-windows-c..riencehost.appxmain_31bf3856ad364e35_10.0.19041.2673_none_7754533002f08577
Value: f!common-toggle-template.ht_c88ab3e6b239´C‡‰
Key: ROOT\DerivedData\Components\amd64_microsoft-windows-f..ettingsclient-tasks_31bf3856ad364e35_10.0.19041.546_none_97512e5e1fa91495
Value: ±¿Ž,ø¤žlè¡ä÷ÍWîÇ=V?ãüs ÷ï¨H2ž×2Ÿøœ‹DoLjd³Ü˜4Y‚Ü&1546_ee6cedafa8be3ce7
Key: ROOT\DerivedData\Components\amd64_microsoft-windows-m..namespace-downlevel_31bf3856ad364e35_10.0.19041.1_none_7d55e8342077d456
Value: f!api-ms-win-core-thread£ÉD΄§Rë goù$™0438
Key: ROOT\DerivedData\Components\amd64_microsoft-windows-m..nents-mdac-odbcconf_31bf3856ad364e35_10.0.19041.1_none_8611f450d608749c
Value: c!microsoft-w..oyment03110_31bf3856ad364cÁÚ¼7îUñ•9;/¢ùAt~OÊ"z¶+bêÓ
==== Corrupt Value Data Type ====
None
==== Corrupt Value Data ====
Key: ROOT\CanonicalData\Deployments\b72dd9b93ce..bf5738b7108_b03f5f7f11d50a3a_10.0.19200.110_dd3696e8c82914d5
Value: p!CBS_package_2_for_kb5008876~31bf3856ad364e35~amd64~~10.0.4465.4._950f99a37d3e970a
Type: RegBinary
Data: N Package_2_for_KB5008876~31bf3856ad364e35~amd64~~10.0.4465.4.&f/KXC�������-j�
Data (raw): 4E-00-00-00-01-00-00-00-50-61-63-6B-61-67-65-5F-32-5F-66-6F-72-5F-4B-42-35-30-30-38-38-37-36-7E-33-31-62-66-33-38-35-36-61-64-33-36-34-65-33-35-7E-61-6D-64-36-34-7E-7E-31-30-2E-30-2E-34-34-36-35-2E-34-2E-26-66-2F-4B-58-43-F8-14-87-1D-D4-D9-08-81-A4-95-2D-6A-F6
==== Repair Log ====
No possible repairs
==== Warnings ====
== Missing Registry Keys ==
DerivedData\Components\amd64_microsoft-windows-m..aphostres.resources_31bf3856ad364e35_10.0.19041.1_ko-kr_fc2fa4adeb627fd0 (Directory amd64_microsoft-windows-m..aphostres.resources_31bf3856ad364e35_10.0.19041.1_ko-kr_fc2fa4adeb627fd0 exists but no corresponding key found in DerivedData\Components)
DerivedData\Components\amd64_microsoft-windows-m..aphostres.resources_31bf3856ad364e35_10.0.19041.1_nb-no_e4c225e2c387ab8c (Directory amd64_microsoft-windows-m..aphostres.resources_31bf3856ad364e35_10.0.19041.1_nb-no_e4c225e2c387ab8c exists but no corresponding key found in DerivedData\Components)
DerivedData\Components\amd64_microsoft-windows-m..aphostres.resources_31bf3856ad364e35_10.0.19041.1_nl-nl_e3017120c4b3b561 (Directory amd64_microsoft-windows-m..aphostres.resources_31bf3856ad364e35_10.0.19041.1_nl-nl_e3017120c4b3b561 exists but no corresponding key found in DerivedData\Components)
DerivedData\Components\amd64_microsoft-windows-m..aphostres.resources_31bf3856ad364e35_10.0.19041.1_pl-pl_293dcba2a9d62315 (Directory amd64_microsoft-windows-m..aphostres.resources_31bf3856ad364e35_10.0.19041.1_pl-pl_293dcba2a9d62315 exists but no corresponding key found in DerivedData\Components)
DerivedData\Components\amd64_microsoft-windows-m..aphostres.resources_31bf3856ad364e35_10.0.19041.1_pt-br_2b91b646a85fb6f9 (Directory amd64_microsoft-windows-m..aphostres.resources_31bf3856ad364e35_10.0.19041.1_pt-br_2b91b646a85fb6f9 exists but no corresponding key found in DerivedData\Components)
DerivedData\Components\amd64_microsoft-windows-m..aphostres.resources_31bf3856ad364e35_10.0.19041.1_pt-pt_2c7385b2a7cf26d5 (Directory amd64_microsoft-windows-m..aphostres.resources_31bf3856ad364e35_10.0.19041.1_pt-pt_2c7385b2a7cf26d5 exists but no corresponding key found in DerivedData\Components)
DerivedData\Components\amd64_microsoft-windows-m..aphostres.resources_31bf3856ad364e35_10.0.19041.1_ru-ru_731697768cb0b501 (Directory amd64_microsoft-windows-m..aphostres.resources_31bf3856ad364e35_10.0.19041.1_ru-ru_731697768cb0b501 exists but no corresponding key found in DerivedData\Components)
DerivedData\Components\amd64_microsoft-windows-rpc-remote-extension_31bf3856ad364e35_10.0.19041.1_none_7f3bbe9e11693717 (Directory amd64_microsoft-windows-rpc-remote-extension_31bf3856ad364e35_10.0.19041.1_none_7f3bbe9e11693717 exists but no corresponding key found in DerivedData\Components)
DerivedData\Components\amd64_microsoft-windows-rpc-remote-extension_31bf3856ad364e35_10.0.19041.2728_none_3dd6483227695d87 (Directory amd64_microsoft-windows-rpc-remote-extension_31bf3856ad364e35_10.0.19041.2728_none_3dd6483227695d87 exists but no corresponding key found in DerivedData\Components)
== f! Mark Count Mismatch ==
amd64_microsoft-windows-m..aphostres.resources_31bf3856ad364e35_10.0.19041.1_sv-se_0f1181eb83d9bf5c has 0 f! marks, expected 1
amd64_microsoft-windows-c..riencehost.appxmain_31bf3856ad364e35_10.0.19041.2673_none_7754533002f08577 has 384 f! marks, expected 383
amd64_microsoft-windows-editions-professional_31bf3856ad364e35_10.0.19041.2728_none_5108405dcfc1fb38 has 2 f! marks, expected 12
Storing 0KB in
Finish Time: 2023-11-20T17:02:51. Corruption scan time: 34.6408224s
===========================EOF===========================
The component scanner further seems to confirm this.
What is the best way to fix this?
Is there a script or way to resolve this?
ComponentsScanner Version 1.5.1.0 by sysnative.com
Windows Version: Windows 10 22H2 x64 (10.0.19045.2728)
Start time: 2023-11-20T17:01:43
Hive scanned: %windir%\System32\config\COMPONENTS
Number of keys: 152450
Number of values: 351259
==== Critical Errors ====
None
==== Corrupt Key Names ====
Key: ROOT\DerivedData\Components\amd64_microsoft-windows-m..aphostres.resources_31bf3856ad364e35_10.0.19041.1_ko-KYߋʼnJñù©5-IÕ½8ƒÐ
==== Corrupt Value Names ====
Key: ROOT\DerivedData\Components\amd64_microsoft-windows-c..riencehost.appxmain_31bf3856ad364e35_10.0.19041.2673_none_7754533002f08577
Value: f!common-toggle-template.ht_c88ab3e6b239´C‡‰
Key: ROOT\DerivedData\Components\amd64_microsoft-windows-f..ettingsclient-tasks_31bf3856ad364e35_10.0.19041.546_none_97512e5e1fa91495
Value: ±¿Ž,ø¤žlè¡ä÷ÍWîÇ=V?ãüs ÷ï¨H2ž×2Ÿøœ‹DoLjd³Ü˜4Y‚Ü&1546_ee6cedafa8be3ce7
Key: ROOT\DerivedData\Components\amd64_microsoft-windows-m..namespace-downlevel_31bf3856ad364e35_10.0.19041.1_none_7d55e8342077d456
Value: f!api-ms-win-core-thread£ÉD΄§Rë goù$™0438
Key: ROOT\DerivedData\Components\amd64_microsoft-windows-m..nents-mdac-odbcconf_31bf3856ad364e35_10.0.19041.1_none_8611f450d608749c
Value: c!microsoft-w..oyment03110_31bf3856ad364cÁÚ¼7îUñ•9;/¢ùAt~OÊ"z¶+bêÓ
==== Corrupt Value Data Type ====
None
==== Corrupt Value Data ====
Key: ROOT\CanonicalData\Deployments\b72dd9b93ce..bf5738b7108_b03f5f7f11d50a3a_10.0.19200.110_dd3696e8c82914d5
Value: p!CBS_package_2_for_kb5008876~31bf3856ad364e35~amd64~~10.0.4465.4._950f99a37d3e970a
Type: RegBinary
Data: N Package_2_for_KB5008876~31bf3856ad364e35~amd64~~10.0.4465.4.&f/KXC�������-j�
Data (raw): 4E-00-00-00-01-00-00-00-50-61-63-6B-61-67-65-5F-32-5F-66-6F-72-5F-4B-42-35-30-30-38-38-37-36-7E-33-31-62-66-33-38-35-36-61-64-33-36-34-65-33-35-7E-61-6D-64-36-34-7E-7E-31-30-2E-30-2E-34-34-36-35-2E-34-2E-26-66-2F-4B-58-43-F8-14-87-1D-D4-D9-08-81-A4-95-2D-6A-F6
==== Repair Log ====
No possible repairs
==== Warnings ====
== Missing Registry Keys ==
DerivedData\Components\amd64_microsoft-windows-m..aphostres.resources_31bf3856ad364e35_10.0.19041.1_ko-kr_fc2fa4adeb627fd0 (Directory amd64_microsoft-windows-m..aphostres.resources_31bf3856ad364e35_10.0.19041.1_ko-kr_fc2fa4adeb627fd0 exists but no corresponding key found in DerivedData\Components)
DerivedData\Components\amd64_microsoft-windows-m..aphostres.resources_31bf3856ad364e35_10.0.19041.1_nb-no_e4c225e2c387ab8c (Directory amd64_microsoft-windows-m..aphostres.resources_31bf3856ad364e35_10.0.19041.1_nb-no_e4c225e2c387ab8c exists but no corresponding key found in DerivedData\Components)
DerivedData\Components\amd64_microsoft-windows-m..aphostres.resources_31bf3856ad364e35_10.0.19041.1_nl-nl_e3017120c4b3b561 (Directory amd64_microsoft-windows-m..aphostres.resources_31bf3856ad364e35_10.0.19041.1_nl-nl_e3017120c4b3b561 exists but no corresponding key found in DerivedData\Components)
DerivedData\Components\amd64_microsoft-windows-m..aphostres.resources_31bf3856ad364e35_10.0.19041.1_pl-pl_293dcba2a9d62315 (Directory amd64_microsoft-windows-m..aphostres.resources_31bf3856ad364e35_10.0.19041.1_pl-pl_293dcba2a9d62315 exists but no corresponding key found in DerivedData\Components)
DerivedData\Components\amd64_microsoft-windows-m..aphostres.resources_31bf3856ad364e35_10.0.19041.1_pt-br_2b91b646a85fb6f9 (Directory amd64_microsoft-windows-m..aphostres.resources_31bf3856ad364e35_10.0.19041.1_pt-br_2b91b646a85fb6f9 exists but no corresponding key found in DerivedData\Components)
DerivedData\Components\amd64_microsoft-windows-m..aphostres.resources_31bf3856ad364e35_10.0.19041.1_pt-pt_2c7385b2a7cf26d5 (Directory amd64_microsoft-windows-m..aphostres.resources_31bf3856ad364e35_10.0.19041.1_pt-pt_2c7385b2a7cf26d5 exists but no corresponding key found in DerivedData\Components)
DerivedData\Components\amd64_microsoft-windows-m..aphostres.resources_31bf3856ad364e35_10.0.19041.1_ru-ru_731697768cb0b501 (Directory amd64_microsoft-windows-m..aphostres.resources_31bf3856ad364e35_10.0.19041.1_ru-ru_731697768cb0b501 exists but no corresponding key found in DerivedData\Components)
DerivedData\Components\amd64_microsoft-windows-rpc-remote-extension_31bf3856ad364e35_10.0.19041.1_none_7f3bbe9e11693717 (Directory amd64_microsoft-windows-rpc-remote-extension_31bf3856ad364e35_10.0.19041.1_none_7f3bbe9e11693717 exists but no corresponding key found in DerivedData\Components)
DerivedData\Components\amd64_microsoft-windows-rpc-remote-extension_31bf3856ad364e35_10.0.19041.2728_none_3dd6483227695d87 (Directory amd64_microsoft-windows-rpc-remote-extension_31bf3856ad364e35_10.0.19041.2728_none_3dd6483227695d87 exists but no corresponding key found in DerivedData\Components)
== f! Mark Count Mismatch ==
amd64_microsoft-windows-m..aphostres.resources_31bf3856ad364e35_10.0.19041.1_sv-se_0f1181eb83d9bf5c has 0 f! marks, expected 1
amd64_microsoft-windows-c..riencehost.appxmain_31bf3856ad364e35_10.0.19041.2673_none_7754533002f08577 has 384 f! marks, expected 383
amd64_microsoft-windows-editions-professional_31bf3856ad364e35_10.0.19041.2728_none_5108405dcfc1fb38 has 2 f! marks, expected 12
Storing 0KB in
Finish Time: 2023-11-20T17:02:51. Corruption scan time: 34.6408224s
===========================EOF===========================