Windows 10 Enterprise for Virtual Desktops, Version 22H2 (OS Build 19045.4291), Update fails to install KB5049981 & KB5050188 - 0x80070002 Error

This is an very odd issue...

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 SFCFixScript.txt and save it to your desktop.
  • Drag the SFCFixScript.txt file over the SFCFix.exe executable and release it.
650ef5dbdfd06-62151e1bebac4-SFCFix-Txt-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.
 

Attachments

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 SFCFixScript.txt and save it to your desktop.
  • Drag the SFCFixScript.txt file over the SFCFix.exe executable and release it.
650ef5dbdfd06-62151e1bebac4-SFCFix-Txt-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 System File Checker again and post the result. If it fails attach a new copy of the CBS log.
Code:
SFC /Scannow
 

Attachments

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.
 

Attachments

Rich (BB code):
2025-02-05 11:57:17, Info                  CSI    0000025b Hashes for file member [l:15]'SecHealthUI.exe' do not match.
 Expected: {l:32 ml:33 b:5e714edb52d1bf678aae24fd4df2979782a0ea69cd6b3c1317e5944cb7d9f279}.
 Actual: {l:32 b:b84bf8b3746e28bfc79f3b3a8e4726a36e12d2b89ee401bf6a540e2439b6170f}.
2025-02-05 11:57:17, Info                  CSI    0000025c [SR] Cannot repair member file [l:15]'SecHealthUI.exe' of Microsoft-Windows-SecHealthUI.AppxMain, version 10.0.19041.3758, arch amd64, nonSxS, pkt {l:8 b:31bf3856ad364e35} in the store, hash mismatch
2025-02-05 11:57:18, Info                  CSI    0000025d [SR] This component was referenced by [l:158]'Microsoft-Windows-Client-Desktop-Required-Package0513~31bf3856ad364e35~amd64~~10.0.19041.4239.67B4EC61FDE7446F381F27825BDA022AC9DABDA23B13E3A84A4F4B855DD08F06'
2025-02-05 11:57:18, Info                  CSI    0000025e Hashes for file member [l:15]'SecHealthUI.exe' do not match.
 Expected: {l:32 ml:33 b:5e714edb52d1bf678aae24fd4df2979782a0ea69cd6b3c1317e5944cb7d9f279}.
 Actual: {l:32 b:b84bf8b3746e28bfc79f3b3a8e4726a36e12d2b89ee401bf6a540e2439b6170f}.
2025-02-05 11:57:18, Info                  CSI    0000025f [SR] Could not reproject corrupted file \??\C:\Windows\SystemApps\Microsoft.Windows.SecHealthUI_cw5n1h2txyewy\\SecHealthUI.exe; source file in store is also corrupted

Please run the following commands and post the result:
Code:
certutil -hashfile C:\Windows\WinSxS\amd64_microsoft-windows-sechealthui.appxmain_31bf3856ad364e35_10.0.19041.3758_none_277f36cf93590066\SecHealthUI.exe SHA256
certutil -hashfile C:\Windows\SystemApps\Microsoft.Windows.SecHealthUI_cw5n1h2txyewy\\SecHealthUI.exe SHA256
 
This looks good, so please check if the RSAT File Services Tools feature is installed on this system before running SFC again. You can check this with the following command:

Code:
DISM /online /Get-Features /Format:table > "%USERPROFILE%\desktop\Features.txt"
 
Open Settings (WIN + I) > Apps > Optional Features to check if the following features are installed.

Schermafbeelding 2025-02-05 145945.webp
 
Can confirm those features are not installed. Do I need to install them?
1738764696139.webp
 
No please don't, I just wanted to check this because they may cause the same issue with returning file coruptions...

Please run the System File Checker again and post the result... 🤞
 
Please run the following commands again:
Code:
certutil -hashfile C:\Windows\WinSxS\amd64_microsoft-windows-sechealthui.appxmain_31bf3856ad364e35_10.0.19041.3758_none_277f36cf93590066\SecHealthUI.exe SHA256
certutil -hashfile C:\Windows\SystemApps\Microsoft.Windows.SecHealthUI_cw5n1h2txyewy\\SecHealthUI.exe SHA256
 
Completed successfully

Code:
C:\Windows\system32>certutil -hashfile C:\Windows\WinSxS\amd64_microsoft-windows-sechealthui.appxmain_31bf3856ad364e35_10.0.19041.3758_none_277f36cf93590066\SecHealthUI.exe SHA256
SHA256 hash of C:\Windows\WinSxS\amd64_microsoft-windows-sechealthui.appxmain_31bf3856ad364e35_10.0.19041.3758_none_277f36cf93590066\SecHealthUI.exe:
5e714edb52d1bf678aae24fd4df2979782a0ea69cd6b3c1317e5944cb7d9f279
CertUtil: -hashfile command completed successfully.

C:\Windows\system32>certutil -hashfile C:\Windows\SystemApps\Microsoft.Windows.SecHealthUI_cw5n1h2txyewy\\SecHealthUI.exe SHA256
SHA256 hash of C:\Windows\SystemApps\Microsoft.Windows.SecHealthUI_cw5n1h2txyewy\\SecHealthUI.exe:
5e714edb52d1bf678aae24fd4df2979782a0ea69cd6b3c1317e5944cb7d9f279
CertUtil: -hashfile command completed successfully.
 
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 System File Checker again and post the result. If it fails attach a new copy of the CBS log.
Code:
SFC /Scannow
 

Attachments

There's something set on this system that reverses every fix?

Download the
577bf0efb8088-FRST.png
Farbar Recovery Scan Tool and save it to your Desktop:

Download the 64 bit version: - Farbar Recovery Scan Tool Link
  • Note: Your antivirus program may report FRST incorrectly as an infection. If so, disable the real-time protection when downloading and running FRST.
  • Right-click to run the tool as administrator. When the tool opens click Yes to disclaimer.
  • Note: Ensure that the Addition.txt check box is checked at the bottom of the form within the Optional Scan area.
  • Press the Scan button.
  • Please wait for the tool to finish. It will produce two logfiles called FRST.txt and Addition.txt in the same directory the tool is run from (which should be the desktop)
  • Post the logfiles FRST.txt and Addition.txt as attachment in your next reply.
 

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

Back
Top