[SOLVED] Server 2022 : SFC and DISM unable to fix corrupt files, the potential cause of Serverwide issue?

LazHziel

Member
Joined
Feb 10, 2022
Posts
11
We're running Server 2022 Standard, Version 21H2 Build 20348.524
On this server we're experiencing consistent, and nearly constant crashes of explorer.exe.
We've run the recommended program to auto fix it:
SFC /Scannow
DISM /Online /Cleanup-Image /CheckHealth
DISM /Online /Cleanup-Image /ScanHealth
DISM /Online /Cleanup-Image /restoreHealth (This command has been run both targeting our source folder Source:D:\Source, and not)
SFC /Scannow
SFC /Scannow

Still no luck on the two files that are showing as corrupt. The log file is from the last scan run last night. Aside from timestamps it has not changed from the first one we ran.

Forgot to add : We've run SFCfix but it keeps crashing.

"
Something has gone horribly wrong and SFCFix has crashed. Would you like SFCFix
to submit a crash report to the developer so that this problem can be fixed?
Type "y" for yes or "n" for no and press enter to continue:"
 

Attachments

Last edited:
Rich (BB code):
2022-02-10 17:47:20, Info                  CSI    0000012e Hashes for file member [l:20]'LServer_PKConfig.xml' do not match.
 Expected: {l:32 ml:33 b:d89ab0d7cf6262145ab3517febd26dbb95297bdf0adb72d551746f4e409eb089}.
 Actual: {l:32 b:b45d90e43527e118b400d87486820dd8460912fabd1ef147e654b1afc0d4378c}.
2022-02-10 17:47:20, Info                  CSI    0000012f [SR] Cannot repair member file [l:20]'LServer_PKConfig.xml' of Microsoft-Windows-TerminalServices-LicenseServer-LRWIZDLL, version 10.0.20348.1, arch amd64, nonSxS, pkt {l:8 b:31bf3856ad364e35} in the store, hash mismatch
2022-02-10 17:47:20, Info                  CSI    00000130 Hashes for file member [l:23]'tls_branding_config.xml' do not match.
 Expected: {l:32 ml:33 b:045852938e96aa28197993a6efc401407d94185aff8c13172ad3252ff711ba45}.
 Actual: {l:32 b:8e6adaf781147f87780c1dd37e63b529f4a49482d541a7f417fe46458f395047}.
2022-02-10 17:47:20, Info                  CSI    00000131 [SR] Cannot repair member file [l:23]'tls_branding_config.xml' of Microsoft-Windows-TerminalServices-LicenseServer-TlsBrand, version 10.0.20348.1, arch amd64, nonSxS, pkt {l:8 b:31bf3856ad364e35} in the store, hash mismatch
2022-02-10 17:47:21, Info                  CSI    00000132 Hashes for file member [l:23]'tls_branding_config.xml' do not match.
 Expected: {l:32 ml:33 b:045852938e96aa28197993a6efc401407d94185aff8c13172ad3252ff711ba45}.
 Actual: {l:32 b:8e6adaf781147f87780c1dd37e63b529f4a49482d541a7f417fe46458f395047}.

I'll need to set up a Windows Server 2022 VM to be able to provide good copies of those files for you. Please be patient.
 
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.
  1. Download SFCFix.exe (by niemiro) and save this to your Desktop.
  2. Download the file below, SFCFix.zip, and save this to your Desktop. Ensure that this file is named SFCFix.zip - do not rename it.
  3. Save any open documents and close all open windows.
  4. On your Desktop, you should see two files: SFCFix.exe and SFCFix.zip.
  5. Drag the file SFCFix.zip onto the file SFCFix.exe and release it.
  6. SFCFix will now process the script.
  7. Upon completion, a file should be created on your Desktop: SFCFix.txt.
  8. Copy (Ctrl+C) and Paste (Ctrl+V) the contents of this file into your next post for me to analyse please - put [CODE][/CODE] tags around the log to break up the text.

Afterwards, please run SFC again and if it fails, then please attach the latest CBS log.
 

Attachments

I would love to run this today, but before I can I should ask: Should the server be inactive aside from my login when I run it? If I don't hear back, I am going to assume yes, and I will have to wait to run it until later, as I can not simply shut off access to the sever today, or tomorrow due to time critical operations on it.
 
Code:
SFCFix version 3.0.2.1 by niemiro.
Start time: 2022-02-14 10:14:09.123
Microsoft Windows Server 10 Build 20348 - amd64
Using .zip script file at C:\Users\chrisda\Desktop\SFCFix.zip [0]




PowerCopy::
Successfully took permissions for file or folder C:\Windows\WinSxS\amd64_microsoft-windows-t..enseserver-tlsbrand_31bf3856ad364e35_10.0.20348.1_none_d80315864c9f50f3\tls_branding_config.xml
Successfully took permissions for file or folder C:\Windows\WinSxS\amd64_microsoft-windows-t..enseserver-lrwizdll_31bf3856ad364e35_10.0.20348.1_none_8db93300fa60dc7f\LServer_PKConfig.xml

Successfully copied file C:\Users\chrisda\AppData\Local\niemiro\Archive\amd64_microsoft-windows-t..enseserver-tlsbrand_31bf3856ad364e35_10.0.20348.1_none_d80315864c9f50f3\tls_branding_config.xml to C:\Windows\WinSxS\amd64_microsoft-windows-t..enseserver-tlsbrand_31bf3856ad364e35_10.0.20348.1_none_d80315864c9f50f3\tls_branding_config.xml.
Successfully copied file C:\Users\chrisda\AppData\Local\niemiro\Archive\amd64_microsoft-windows-t..enseserver-lrwizdll_31bf3856ad364e35_10.0.20348.1_none_8db93300fa60dc7f\LServer_PKConfig.xml to C:\Windows\WinSxS\amd64_microsoft-windows-t..enseserver-lrwizdll_31bf3856ad364e35_10.0.20348.1_none_8db93300fa60dc7f\LServer_PKConfig.xml.

Successfully restored ownership for C:\Windows\WinSxS\amd64_microsoft-windows-t..enseserver-tlsbrand_31bf3856ad364e35_10.0.20348.1_none_d80315864c9f50f3\tls_branding_config.xml
Successfully restored permissions on C:\Windows\WinSxS\amd64_microsoft-windows-t..enseserver-tlsbrand_31bf3856ad364e35_10.0.20348.1_none_d80315864c9f50f3\tls_branding_config.xml
Successfully restored ownership for C:\Windows\WinSxS\amd64_microsoft-windows-t..enseserver-lrwizdll_31bf3856ad364e35_10.0.20348.1_none_8db93300fa60dc7f\LServer_PKConfig.xml
Successfully restored permissions on C:\Windows\WinSxS\amd64_microsoft-windows-t..enseserver-lrwizdll_31bf3856ad364e35_10.0.20348.1_none_8db93300fa60dc7f\LServer_PKConfig.xml
PowerCopy:: directive completed successfully.




Successfully processed all directives.
SFCFix version 3.0.2.1 by niemiro has completed.
Currently storing 2 datablocks.
Finish time: 2022-02-14 10:14:10.404
Script hash: Kz+R/ttdl5fjdP35+CWpBf3KOUUHgaTyctGb9aGEDHQ=
----------------------EOF-----------------------


Unfortunately SFC /SCANNOW says it failed again.
 

Attachments

Rich (BB code):
2022-02-14 10:19:41, Info                  CSI    00000262 [SR] Cannot repair member file [l:20]'LServer_PKConfig.xml' of Microsoft-Windows-TerminalServices-LicenseServer-LRWIZDLL, version 10.0.20348.1, arch amd64, nonSxS, pkt {l:8 b:31bf3856ad364e35} in the store, hash mismatch
2022-02-14 10:19:41, Info                  CSI    00000263 [SR] This component was referenced by [l:105]'Microsoft-Windows-TerminalServices-Licensing-UI-Package~31bf3856ad364e35~amd64~~10.0.20348.1.Licensing-UI'
2022-02-14 10:19:41, Info                  CSI    00000264 [SR] This component was referenced by [l:99]'Microsoft-Windows-TerminalServices-Licensing-Package~31bf3856ad364e35~amd64~~10.0.20348.1.Licensing'
2022-02-14 10:19:41, Info                  CSI    00000265 Hashes for file member [l:20]'LServer_PKConfig.xml' do not match.
 Expected: {l:32 ml:33 b:d89ab0d7cf6262145ab3517febd26dbb95297bdf0adb72d551746f4e409eb089}.
 Actual: {l:32 b:bf4be51905a1453694292fe66315b9a5c8b0c193f4e235d66a6b51d49d76ef07}.
2022-02-14 10:19:41, Info                  CSI    00000266 Hashes for file member [l:20]'LServer_PKConfig.xml' do not match.
 Expected: {l:32 ml:33 b:d89ab0d7cf6262145ab3517febd26dbb95297bdf0adb72d551746f4e409eb089}.
 Actual: {l:32 b:bf4be51905a1453694292fe66315b9a5c8b0c193f4e235d66a6b51d49d76ef07}.

Could you please try the following script, please use the same instructions as before.
 

Attachments

Code:
SFCFix version 3.0.2.1 by niemiro.
Start time: 2022-02-14 11:21:06.689
Microsoft Windows Server 10 Build 20348 - amd64
Using .zip script file at C:\Users\chrisda\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.1_none_8db93300fa60dc7f\LServer_PKConfig.xml

WARNING: File C:\Windows\WinSxS\amd64_microsoft-windows-t..enseserver-lrwizdll_31bf3856ad364e35_10.0.20348.1_none_8db93300fa60dc7f\LServer_PKConfig.xml was not backed up as that would replace the current backup.
Successfully copied file C:\Users\chrisda\AppData\Local\niemiro\Archive\amd64_microsoft-windows-t..enseserver-lrwizdll_31bf3856ad364e35_10.0.20348.1_none_8db93300fa60dc7f\LServer_PKConfig.xml to C:\Windows\WinSxS\amd64_microsoft-windows-t..enseserver-lrwizdll_31bf3856ad364e35_10.0.20348.1_none_8db93300fa60dc7f\LServer_PKConfig.xml.

Successfully restored ownership for C:\Windows\WinSxS\amd64_microsoft-windows-t..enseserver-lrwizdll_31bf3856ad364e35_10.0.20348.1_none_8db93300fa60dc7f\LServer_PKConfig.xml
Successfully restored permissions on C:\Windows\WinSxS\amd64_microsoft-windows-t..enseserver-lrwizdll_31bf3856ad364e35_10.0.20348.1_none_8db93300fa60dc7f\LServer_PKConfig.xml
PowerCopy:: directive completed successfully.




Successfully processed all directives.
SFCFix version 3.0.2.1 by niemiro has completed.
Currently storing 2 datablocks.
Finish time: 2022-02-14 11:21:07.489
Script hash: ZmzHFI+1Egpgw3l0REq3AlfOZIo4Vq6GPfh92xLz4g0=
----------------------EOF-----------------------

And :

"

Beginning system scan. This process will take some time.

Beginning verification phase of system scan.
Verification 100% complete.

Windows Resource Protection did not find any integrity violations."

So I am hoping that means it's resolved.
 

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

Back
Top