Forum Discussion

Samir_Benkhellat's avatar
Samir_Benkhellat
Copper Contributor
Mar 06, 2024

Windows 11 Enterprise - Update issues

Hi All,

 

      I have 2 Windows 11 Enterprise computers at least that have issues with the updates. I see the same issue either when updating from WSUS or from Microsoft online site. Most of the time I'm stuck on one of these updates: KB5034765, KB5034204, KB5034848. Most of the time I'm getting this error code:0x800f081f. My Windows version is 10.0.22631.2428 (23H2).

 

    I tried all the solutions I found on the Internet except doing a repair/reinstall of the OS as this is the last solution I want to do after exhausting all other solutions. So, suggesting to reinstall/repair my windows is out of question now.

 

    I tried also to reset all the components of update module as follow:

 

Stop-Service bits
Get-Service -Name bits
Stop-Service wuauserv
Get-Service -Name  wuauserv
Stop-Service msiserver
Get-Service -Name msiserver
Stop-Service appidsvc -Force
Get-Service -Name appidsvc
Stop-Service cryptsvc -Force
Get-Service -Name cryptsvc
netsh winsock reset
netsh winsock reset proxy

Ren $env:Systemroot\SoftwareDistribution $env:Systemroot\SoftwareDistribution.old
Ren $env:Systemroot\System32\catroot2 $env:Systemroot\System32\catroot2.old
ren  C:\$WinREAgent C:\$WinREAgent.old

Start-Service bits
Start-Service wuauserv
Start-Service msiserver
Start-Service cryptsvc
Start-Service appidsvc
Start-Service cryptsvc

 

I also run this commands:

 

Sfc /ScanNow
#no issues found

dism /Online /Cleanup-image /ScanHealth
dism /Online /Cleanup-image /CheckHealth
dism /Online /Cleanup-image /RestoreHealth
dism /Online /Cleanup-image /StartComponentCleanup

Sfc /ScanNow

#no issues found

 

I did notice as well, that when I check the update history, I don't see the failed tries for these updates (they don't show up at all in the update history).

 

This is the interesting part of CBS log for KB5034765 (same error for the 2 other updates as well):

 

2024-02-16 08:18:31, Info                  SXS    Introducing a SIL redirection for root \??\C:\WINDOWS\SoftwareDistribution\Download\537d5ebab0ab71c50fc001a4a6853c44\metadata\Windows11.0-KB5034765-x64

2024-02-16 08:18:31, Info                  SXS    Introducing a SIL redirection for root \??\C:\WINDOWS\CbsTemp\31088857_3035894640

2024-02-16 08:18:31, Info                  CBS    Perf: Ready for complete Component closure.

2024-02-16 08:18:34, Info                  SXS    Beginning staging

2024-02-16 08:18:34, Info                  SXS    PERF: Amount of prep work before staging: 2554ms

2024-02-16 08:18:34, Info                  SXS    Staging deployment Microsoft-Windows-TerminalServices-AppServerClient-Opt-Deployment, version 10.0.22621.2506, arch amd64, nonSxS, pkt {l:8 b:31bf3856ad364e35}

2024-02-16 08:18:34, Info                  SXS    Verifying (v) catalog \??\C:\WINDOWS\CbsTemp\31088857_3035894640\Microsoft-Windows-TerminalServices-AppServerClient-Opt-Package~31bf3856ad364e35~amd64~~10.0.22621.2506.cat

2024-02-16 08:18:34, Info                  SXS        Staging component Microsoft-Windows-TerminalServices-AllRoles, version 10.0.22621.1, arch amd64, nonSxS, pkt {l:8 b:31bf3856ad364e35}

2024-02-16 08:18:34, Info                  CBS    Exec: Warning - Manifest doesn't exist for: \\?\C:\WINDOWS\SoftwareDistribution\Download\537d5ebab0ab71c50fc001a4a6853c44\metadata\Windows11.0-KB5034765-x64\amd64_microsoft-windows-t..alservices-allroles_31bf3856ad364e35_10.0.22621.1_none_c53e3b231785f15a.manifest

2024-02-16 08:18:34, Info                  CBS    Component Identity: Microsoft-Windows-TerminalServices-AllRoles, Culture=neutral, Version=10.0.22621.1, PublicKeyToken=31bf3856ad364e35, ProcessorArchitecture=amd64, versionScope=NonSxS

2024-02-16 08:18:34, Error                 SXS    Could not find Microsoft-Windows-TerminalServices-AllRoles, version 10.0.22621.1, arch amd64, nonSxS, pkt {l:8 b:31bf3856ad364e35} in package: 800f081f [Error,Facility=(000f),Code=2079 (0x081f)]

2024-02-16 08:18:34, Error                 SXS    WIL Origination: onecore\base\servicing\turbostack\lib\package.cpp(2860)\TurboStack.dll!00007FFC0F3E9637: (caller: 00007FFC0F3E912E) Exception(1) tid(2b08) 800F081F 

2024-02-16 08:18:34, Error                 CSI    00000009@2024/2/16:13:18:34.053 (F) onecore\base\servicing\turbostack\lib\package.cpp(2860): Error 800f081f [Error,Facility=(000f),Code=2079 (0x081f)] originated in function (null) expression: (null)

[gle=0x80004005]

2024-02-16 08:18:34, Info                  CBS    Added C:\WINDOWS\Logs\CBS\CBS.log to WER report.

2024-02-16 08:18:34, Info                  CBS    Added C:\WINDOWS\Logs\CBS\CbsPersist_20240215190142.log to WER report.

2024-02-16 08:18:34, Info                  CBS    Added C:\WINDOWS\Logs\CBS\CbsPersist_20240215183447.log to WER report.

2024-02-16 08:18:34, Info                  CBS    Added C:\WINDOWS\Logs\CBS\CbsPersist_20240215182105.cab to WER report.

2024-02-16 08:18:34, Info                  CBS    Added C:\WINDOWS\Logs\CBS\CbsPersist_20240215174559.cab to WER report.

2024-02-16 08:18:34, Info                  CBS    Added C:\WINDOWS\Logs\CBS\CbsPersist_20240215173010.cab to WER report.

2024-02-16 08:18:34, Info                  CBS    Not able to add pending.xml to Windows Error Report. [HRESULT = 0x80070002 - ERROR_FILE_NOT_FOUND]

2024-02-16 08:18:34, Info                  CBS    Not able to add pending.xml.bad to Windows Error Report. [HRESULT = 0x80070002 - ERROR_FILE_NOT_FOUND]

 

     I couldn't find the missing manifest Windows11.0-KB5034765-x64\amd64_microsoft-windows-t..alservices-allroles* when downloading/extracting manually the update from https://www.catalog.update.microsoft.com/Home.aspx

 

mkdir C:\temp\KB5034765
expand -F:* "C:\temp\windows11.0-kb5034765-x64_0b9338c4ace818aa52dbef7f674250aeb341f0f1.msu" C:\temp\KB5034765

mkdir C:\temp\KB5034765\cab\KB5034765
expand -F:*  "C:\temp\KB5034765\Windows11.0-KB5034765-x64.cab" C:\temp\KB5034765\cab\KB5034765


mkdir C:\temp\KB5034765\cab\DesktopDeployment
expand -F:*  "C:\temp\KB5034765\DesktopDeployment.cab" C:\temp\KB5034765\cab\DesktopDeployment


mkdir C:\temp\KB5034765\cab\OnePackageAggregate
expand -F:*  "C:\temp\KB5034765\onepackage.AggregatedMetadata.cab" C:\temp\KB5034765\cab\OnePackageAggregate

mkdir C:\temp\KB5034765\cab\SSU22621.3073
expand -F:*  "C:\temp\KB5034765\SSU-22621.3073-x64.cab" C:\temp\KB5034765\cab\SSU22621.3073

mkdir C:\temp\KB5034765\cab\wsusscan
expand -F:*  "C:\temp\KB5034765\wsusscan.cab" C:\temp\KB5034765\cab\wsusscan

mkdir C:\temp\KB5034765\cab\wsusscan\cab
expand -F:*  "C:\temp\KB5034765\cab\wsusscan\wsusscan.cab" C:\temp\KB5034765\cab\wsusscan\cab

 

 

    So did you see this error in CBS before (manifest missing)? do you have any suggestion except reinstalling or repairing the windows using the installation media (ISO).

 

Regards,

  • togrosky's avatar
    togrosky
    Copper Contributor

    Samir_Benkhellat 

    You may Check task scheduler for someone hidingcthere steps nit wanting you to be able to update and messing with Bit is one way thats done but it may help if you do the repair install keeping everything Of your own and the same settings but bad actor files may be replaced yhat makes it run much better I know first hand you can believe me on that and do a checksone on problem files or services on key alway look for things taken away for no reason like check your privileges I suggest best wishes with this I alway say seek and you will find..

Resources