[SOLVED] Server 2022, problem with DISM and SFC Cannot repair member file

Wieprzos

Member
Joined
Oct 30, 2023
Posts
8
Hi!
I believe i got into similar problem that is described in here SFC reporting hash mismatch for files LServer_PKConfig.xml & tls_branding_config.xml


CBS.log shows:
Code:
2023-10-30 22:16:25, Info                  CSI    00000117 Hashes for file member [l:20]'LServer_PKConfig.xml' do not match.
 Expected: {l:32 ml:33 b:d89ab0d7cf6262145ab3517febd26dbb95297bdf0adb72d551746f4e409eb089}.
 Actual: {l:32 b:b45d90e43527e118b400d87486820dd8460912fabd1ef147e654b1afc0d4378c}.
2023-10-30 22:16:25, Info                  CSI    00000118 [SR] Cannot repair member file [l:20]'LServer_PKConfig.xml' of Microsoft-Windows-TerminalServices-LicenseServer-LRWIZDLL, version 10.0.20348.681, arch amd64, nonSxS, pkt {l:8 b:31bf3856ad364e35} in the store, hash mismatch
2023-10-30 22:16:25, Info                  CSI    00000119 Hashes for file member [l:20]'LServer_PKConfig.xml' do not match.
 Expected: {l:32 ml:33 b:d89ab0d7cf6262145ab3517febd26dbb95297bdf0adb72d551746f4e409eb089}.
 Actual: {l:32 b:b45d90e43527e118b400d87486820dd8460912fabd1ef147e654b1afc0d4378c}.
2023-10-30 22:16:25, Info                  CSI    0000011a [SR] Cannot repair member file [l:20]'LServer_PKConfig.xml' of Microsoft-Windows-TerminalServices-LicenseServer-LRWIZDLL, version 10.0.20348.681, arch amd64, nonSxS, pkt {l:8 b:31bf3856ad364e35} in the store, hash mismatch
2023-10-30 22:16:25, Info                  CSI    0000011b [SR] This component was referenced by [l:101]'Microsoft-Windows-TerminalServices-Licensing-Package~31bf3856ad364e35~amd64~~10.0.20348.681.Licensing'
2023-10-30 22:16:25, Info                  CSI    0000011c [SR] This component was referenced by [l:107]'Microsoft-Windows-TerminalServices-Licensing-UI-Package~31bf3856ad364e35~amd64~~10.0.20348.681.Licensing-UI'
2023-10-30 22:16:25, Info                  CSI    0000011d Hashes for file member [l:20]'LServer_PKConfig.xml' do not match.
 Expected: {l:32 ml:33 b:d89ab0d7cf6262145ab3517febd26dbb95297bdf0adb72d551746f4e409eb089}.
 Actual: {l:32 b:b45d90e43527e118b400d87486820dd8460912fabd1ef147e654b1afc0d4378c}.
2023-10-30 22:16:25, Info                  CSI    0000011e Hashes for file member [l:20]'LServer_PKConfig.xml' do not match.
 Expected: {l:32 ml:33 b:d89ab0d7cf6262145ab3517febd26dbb95297bdf0adb72d551746f4e409eb089}.
 Actual: {l:32 b:b45d90e43527e118b400d87486820dd8460912fabd1ef147e654b1afc0d4378c}.
2023-10-30 22:16:25, Info                  CSI    0000011f [SR] Could not reproject corrupted file \??\C:\Windows\System32\\LServer_PKConfig.xml; source file in store is also corrupted
2023-10-30 22:16:25, Info                  CSI    00000120 [SR] Verify complete
2023-10-30 22:16:25, Info                  CSI    00000121 [SR] Verifying 100 components
2023-10-30 22:16:25, Info                  CSI    00000122 [SR] Beginning Verify and Repair transaction
2023-10-30 22:16:26, Info                  CSI    00000123 [SR] Verify complete
2023-10-30 22:16:26, Info                  CSI    00000124 [SR] Verifying 100 components
2023-10-30 22:16:26, Info                  CSI    00000125 [SR] Beginning Verify and Repair transaction

I downloaded and tried to run latest SFCFix SFCFix Official Download - Repair Windows Update but with no success (it crashes immediately)
Does anyone know how can i fix this?
 

Attachments

Hi and welcome to Sysnative,

Step 1. Download
6530fbb0f4101-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.
650c22f99662d-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

Code:
SFCFix version 3.0.2.1 by niemiro.
Start time: 2023-11-06 09:43:50.816
Microsoft Windows Server 10 Build 20348 - amd64
Using .zip script file at C:\Users\j_kasperek\Desktop\SFCFix.zip [0]




PowerCopy::
Successfully took permissions for file or folder C:\Windows\WinSxS\amd64_microsoft-windows-t..enseserver-lrwizdll_31bf3856ad364e35_10.0.20348.681_none_ecb21352bb8d259f\LServer_PKConfig.xml

Successfully copied file C:\Users\j_kasperek\AppData\Local\niemiro\Archive\WinSxS\amd64_microsoft-windows-t..enseserver-lrwizdll_31bf3856ad364e35_10.0.20348.681_none_ecb21352bb8d259f\LServer_PKConfig.xml to C:\Windows\WinSxS\amd64_microsoft-windows-t..enseserver-lrwizdll_31bf3856ad364e35_10.0.20348.681_none_ecb21352bb8d259f\LServer_PKConfig.xml.

Successfully restored ownership for C:\Windows\WinSxS\amd64_microsoft-windows-t..enseserver-lrwizdll_31bf3856ad364e35_10.0.20348.681_none_ecb21352bb8d259f\LServer_PKConfig.xml
Successfully restored permissions on C:\Windows\WinSxS\amd64_microsoft-windows-t..enseserver-lrwizdll_31bf3856ad364e35_10.0.20348.681_none_ecb21352bb8d259f\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-11-06 09:43:52.344
Script hash: pir1yOeYXew3cU7KKIAMXrZhmyTXrxYaLMucstRJLdA=
----------------------EOF-----------------------


C:\Windows\system32>DISM /online /cleanup-image /RestoreHealth

Deployment Image Servicing and Management tool
Version: 10.0.20348.681

Image Version: 10.0.20348.768

[==========================100.0%==========================] The restore operation completed successfully.
The operation completed successfully.
 

Attachments

Hi,

You're welcome. Glad to hear everything is working well now..(y)
I will mark this thread as solved then.
 
@Maxstar I've been trying to run same https://www.sysnative.com/forums/attachments/sfcfix-zip.93070/ file on similar clone server OOTB copy, that had problem with same 'LServer_PKConfig.xml' file in log.
DIsm returned:
Code:
Deployment Image Servicing and Management tool
Version: 10.0.20348.681

Image Version: 10.0.20348.768

[==========================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 https://go.microsoft.com/fwlink/?LinkId=243077.
 

Attachments

Hi,

This issue is slightly different, but here's the fix to resolve this issue.

Step 1.
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.
650c22f99662d-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

Thank You!,
Can You please, explain what's the difference? i just run into another server, dfferent farm, this time it's 2019 latest update. same file in CBS.log
 

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

Back
Top