Share via

Error 0x800f0986 with 2020-10 Cumulative Update for Windows 10 Version 1909 for x64-based Systems (KB4577671)

Anonymous
2020-10-17T10:02:23+00:00

The October update repeatedly fails with error 0x800f0986. I’ve already tried 15 times. 

The same error occurs with both Windows Update and manually downloaded update KB4577671 (windows10.0-kb4577671-x64_2c354d18b910d565f23b7ede1ec971852f68d0df.msu found here https://www.catalog.update.microsoft.com/Search.aspx?q=KB4577671).  

In order to find a solution I've tried the following commands:

dism /online /cleanup-image /scanhealth

dism /online /cleanup-image /checkhealth

dism /online /cleanup-image /restorehealth

sfc /scannow

net stop wuauserv

net stop cryptSvc

net stop bits

net stop msiserver

Ren C:\Windows\SoftwareDistribution SoftwareDistribution.old

Ren C:\Windows\System32\catroot2 Catroot2.old

net start wuauserv

net start cryptSvc

net start bits

net start msiserver

chkdsk

esentutl /g %systemroot%\system32\catroot2{F750E6C3-38EE-11D1-85E5-00C04FC295EE}\catdb

The Troubleshooter of Windows Update doesn't give a clue.

C:\windows\logs\cbs\CBS.log says it is a hydration error with tbauth.dll and TokenBrokerCookies.exe:

2020-10-16 17:46:46, Error                 CSI    00000020@2020/10/16:14:46:46.245 (F) onecore\base\wcp\rtllib\win32lib\delta_library.cpp(287): Error NTSTATUS_FROM_WIN32(ERROR_INVALID_DATA) originated in function Windows::Rtl::DeltaDecompressBuffer expression: g_pfnApplyDeltaB(( (DELTA_FLAG_TYPE)0x00000000 ), ReferenceInput, CompressedInput, &UncompressedOutput)

[gle=0x80004005]

2020-10-16 17:46:46, Error                 CSI    00000021 (F) Hydration failed with original error NTSTATUS_FROM_WIN32(ERROR_INVALID_DATA) . Delta Type: 1 , IntegrityState Valid: true , RetrievedChecksum: 2799692761 , ComputedChecksum: 2799692761[gle=0x80004005]

2020-10-16 17:46:46, Error                 CSI    00000022@2020/10/16:14:46:46.370 (F) onecore\base\wcp\deltahydrator\deltahydrator.cpp(64): Error 800f0986 [Warning,Facility=15 (0x000f),Code=2438 (0x0986)] originated in function DeltaHydrator::`anonymous-namespace'::GetPsfxSpecificError expression: ((SCODE) (((unsigned long)(1)<<31) | ((unsigned long)(15)<<16) | ((unsigned long)(0x986))) )

[gle=0x80004005]

2020-10-16 17:46:46, Error                 CSI    00000023 (F) Hydration failed for component Microsoft-Windows-Security-TokenBroker, version 10.0.18362.1110, arch amd64, nonSxS, pkt {l:8 b:31bf3856ad364e35} on file tbauth.dll with NTSTATUS -2146498170[gle=0x80004005]

2020-10-16 17:46:46, Error                 CSI    00000024@2020/10/16:14:46:46.370 (F) Attempting to mark store corrupt with category [l:18 ml:19]'CorruptPayloadFile'[gle=0x80004005]

2020-10-16 17:46:46, Error                 CSI    00000025@2020/10/16:14:46:46.370 (F) onecore\base\wcp\rtllib\win32lib\delta_library.cpp(287): Error NTSTATUS_FROM_WIN32(ERROR_INVALID_DATA) originated in function Windows::Rtl::DeltaDecompressBuffer expression: g_pfnApplyDeltaB(( (DELTA_FLAG_TYPE)0x00000000 ), ReferenceInput, CompressedInput, &UncompressedOutput)

[gle=0x80004005]

2020-10-16 17:46:46, Error                 CSI    00000026 (F) Hydration failed with original error NTSTATUS_FROM_WIN32(ERROR_INVALID_DATA) . Delta Type: 1 , IntegrityState Valid: true , RetrievedChecksum: 2193585730 , ComputedChecksum: 2193585730[gle=0x80004005]

2020-10-16 17:46:46, Error                 CSI    00000027@2020/10/16:14:46:46.370 (F) onecore\base\wcp\deltahydrator\deltahydrator.cpp(64): Error 800f0986 [Warning,Facility=15 (0x000f),Code=2438 (0x0986)] originated in function DeltaHydrator::`anonymous-namespace'::GetPsfxSpecificError expression: ((SCODE) (((unsigned long)(1)<<31) | ((unsigned long)(15)<<16) | ((unsigned long)(0x986))) )

[gle=0x80004005]

2020-10-16 17:46:46, Error                 CSI    00000028 (F) Hydration failed for component Microsoft-Windows-Security-TokenBroker, version 10.0.18362.1110, arch amd64, nonSxS, pkt {l:8 b:31bf3856ad364e35} on file TokenBrokerCookies.exe with NTSTATUS -2146498170[gle=0x80004005]

2020-10-16 17:46:46, Error                 CSI    00000029@2020/10/16:14:46:46.370 (F) Attempting to mark store corrupt with category [l:18 ml:19]'CorruptPayloadFile'[gle=0x80004005]

Are tbauth.dll and TokenBrokerCookies.exe corrupt and therefore can’t be updated? How do I get the correct files? The files on disk are:

C:\windows\WinSxS\wow64…\tbauth.dll    14.5.2020 11.06 48 kB v10.0.18362.815

= C:\windows\SysWOW64\tbauth.dll       14.5.2020 11.06 48 kB v10.0.18362.815

C:\windows\system32\tbauth.dll         14.5.2020 11.06 63 kB v10.0.18362.815

= C:\windows\WinSxS\amd…\tbauth.dll    14.5.2020 11.06 63 kB v10.0.18362.815

C:\windows\WinSxS\wow64…\TokenBrokerCookies.exe    14.5.2020 11.06 29 kB v10.0.18362.815

= C:\windows\ SysWOW64\TokenBrokerCookies.exe      14.5.2020 11.06 29 kB v10.0.18362.815

C:\windows\system32\TokenBrokerCookies.exe         14.5.2020 11.06 36 kB v10.0.18362.815

= C:\windows\WinSxS\amd…\TokenBrokerCookies.exe    14.5.2020 11.06 36 kB v10.0.18362.815

Versions marked with ”=” are equal.

The latest Cumulate Update installed is 2020-08.

The error started with 2020-09 Cumulative Update for Windows 10 Version 1909 for x64-based Systems (KB4574727). It gave the same error code 0x800f0986  with the same explanations for tbauth.dll and TokenBrokerCookies.exe.  I ignored it only to find out that 2020-10 has the same error.

It’s Windows 10 Pro 1909 OS build 18363.1016. All other updates are installed. No other updates are pending. No new hardware has been installed. All devices are working in Device Manager.

What next? How do I fix these 2 files so that the update can run through?

Windows for home | Windows 10 | Windows update

Locked Question. This question was migrated from the Microsoft Support Community. You can vote on whether it's helpful, but you can't add comments or replies or follow the question.

0 comments No comments

Answer accepted by question author

Anonymous
2020-10-19T10:46:44+00:00

Hi,

Thank you for your response.

In this scenario, we would recommend you to download Windows 10 2004 version installation media (ISO) using the media creation tool on the desktop of the PC and then refer this article by PaulSey to run an in-place upgrade.

Note: Please backup your important data that are saved in C drive to any other local drive or external drive before performing In-place upgrade.

Regards,

Aditya Roy

Microsoft Community – Moderator

Was this answer helpful?

1 person found this answer helpful.
0 comments No comments

6 additional answers

Sort by: Most helpful
  1. Anonymous
    2020-10-21T17:02:19+00:00

    Tried upgrading multiple times over last few months, and it always rolled back

    Was this answer helpful?

    1 person found this answer helpful.
    0 comments No comments
  2. Anonymous
    2020-10-19T11:14:59+00:00

    Hi Aditya, 

    Is the in-place upgrade the only option left? Will this not destroy settings and installed programs?

    Version 2004 is not offered by Windows Update for this machine yet.

    I verified from backup that the following files have existed on disk already in May. All are Copyright: Microsoft Corporation and Product name: Microsoft Windows Operating System.

    System32\tbauth.dll

    64000 bytes, 14 May 2020 11:06:00, v10.0.18362.815, CRC32=5732DA44

    System32\TokenBrokerCookies.exe

    36864 bytes, 14 May 2020 11:06:00, v10.0.18362.815, CRC32=B3729C24

    SysWOW64\tbauth.dll

    49152 bytes, 14 May 2020 11:06:22, v10.0.18362.815, CRC32=134D11BB

    SysWOW64\ TokenBrokerCookies.exe

    29184 bytes, 14 May 2020 11:06:22, v10.0.18362.815, CRC32=21900FE2

    Was this answer helpful?

    0 comments No comments
  3. Anonymous
    2020-10-19T08:39:34+00:00

    Aditya, thank you for your reply. 

    • It's a custom built PC with no make or model. Windows 10 Pro installed in February 2020.
    • Antivirus is Windows Defender.

    Step 1. Windows Defender disabled.

    Step 2. Clean boot completed. 

    Step 3. Manual install started. Filename windows10.0-kb4577671-x64_2c354d18b910d565f23b7ede1ec971852f68d0df.msu. After running up to 100% it reports: The following updates were not installed: Security Update for Windows (KB4577671). "View update history" shows error code 0x800f0986 (PSFX_E_APPLY_FORWARD_DELTA_FAILED).

    CBS.log shows the same hydration errors about tbauth.dll and TokenBrokerCookies.exe as already described above. 

    Is the problem that these files are different from what the update expects? The files are all dated 14 May 2020. Presumably I need a way to replace these files manually in order to allow the update to run through. Are these regular Windows system files? Which of the previous cumulative updates has installed them, and would it make sense to attempt to uninstall that one?

    I didn't get what you mean by BIT version.

    CBS.log:

    2020-10-19 10:49:05, Error                 CSI    0000000e (F) Hydration failed with original error NTSTATUS_FROM_WIN32(ERROR_INVALID_DATA) . Delta Type: 1 , IntegrityState Valid: true , RetrievedChecksum: 2799692761 , ComputedChecksum: 2799692761[gle=0x80004005]

    2020-10-19 10:49:05, Error                 CSI    0000000f@2020/10/19:07:49:05.673 (F) onecore\base\wcp\deltahydrator\deltahydrator.cpp(64): Error 800f0986 [Warning,Facility=15 (0x000f),Code=2438 (0x0986)] originated in function DeltaHydrator::`anonymous-namespace'::GetPsfxSpecificError expression: ((SCODE) (((unsigned long)(1)<<31) | ((unsigned long)(15)<<16) | ((unsigned long)(0x986))) )

    [gle=0x80004005]

    2020-10-19 10:49:05, Error                 CSI    00000010 (F) Hydration failed for component Microsoft-Windows-Security-TokenBroker, version 10.0.18362.1110, arch amd64, nonSxS, pkt {l:8 b:31bf3856ad364e35} on file tbauth.dll with NTSTATUS -2146498170[gle=0x80004005]

    2020-10-19 10:49:05, Error                 CSI    00000011@2020/10/19:07:49:05.673 (F) Attempting to mark store corrupt with category [l:18 ml:19]'CorruptPayloadFile'[gle=0x80004005]

    2020-10-19 10:49:05, Error                 CSI    00000012@2020/10/19:07:49:05.673 (F) onecore\base\wcp\rtllib\win32lib\delta_library.cpp(287): Error NTSTATUS_FROM_WIN32(ERROR_INVALID_DATA) originated in function Windows::Rtl::DeltaDecompressBuffer expression: g_pfnApplyDeltaB(( (DELTA_FLAG_TYPE)0x00000000 ), ReferenceInput, CompressedInput, &UncompressedOutput)

    [gle=0x80004005]

    2020-10-19 10:49:05, Error                 CSI    00000013 (F) Hydration failed with original error NTSTATUS_FROM_WIN32(ERROR_INVALID_DATA) . Delta Type: 1 , IntegrityState Valid: true , RetrievedChecksum: 2193585730 , ComputedChecksum: 2193585730[gle=0x80004005]

    2020-10-19 10:49:05, Error                 CSI    00000014@2020/10/19:07:49:05.673 (F) onecore\base\wcp\deltahydrator\deltahydrator.cpp(64): Error 800f0986 [Warning,Facility=15 (0x000f),Code=2438 (0x0986)] originated in function DeltaHydrator::`anonymous-namespace'::GetPsfxSpecificError expression: ((SCODE) (((unsigned long)(1)<<31) | ((unsigned long)(15)<<16) | ((unsigned long)(0x986))) )

    [gle=0x80004005]

    2020-10-19 10:49:05, Error                 CSI    00000015 (F) Hydration failed for component Microsoft-Windows-Security-TokenBroker, version 10.0.18362.1110, arch amd64, nonSxS, pkt {l:8 b:31bf3856ad364e35} on file TokenBrokerCookies.exe with NTSTATUS -2146498170[gle=0x80004005]

    2020-10-19 10:49:05, Error                 CSI    00000016@2020/10/19:07:49:05.673 (F) Attempting to mark store corrupt with category [l:18 ml:19]'CorruptPayloadFile'[gle=0x80004005]

    2020-10-19 10:49:11, Error                 CSI    00000017@2020/10/19:07:49:11.267 (F) onecore\base\wcp\sil\ntsystem.cpp(2926): Error STATUS_DELETE_PENDING originated in function Windows::Rtl::SystemImplementation::DirectFileSystemProvider::SysCreateFile expression: (null)

    [gle=0x80004005]

    2020-10-19 10:49:11, Error                 CSI    00000018 (F) STATUS_DELETE_PENDING #3647473# from Windows::Rtl::SystemImplementation::DirectFileSystemProvider::SysCreateFile(flags = (AllowSharingViolation), handle = {provider=NULL, handle=0, name= ("null")}, da = (DELETE|SYNCHRONIZE|FILE_READ_ATTRIBUTES|FILE_WRITE_ATTRIBUTES), oa = @0x23cc8fdda8->OBJECT_ATTRIBUTES {s:48; rd:NULL; on:[109]'\SystemRoot\WinSxS\Temp\InFlight\2a99ab50eca5d601673700004c23140e\22e7b950eca5d601473800004c23140e_mssrch.dll'; a:(OBJ_CASE_INSENSITIVE)}, iosb = @0x23cc8fde20, as = ([gle=0xd0000056]

    2020-10-19 10:49:11, Error                 CSI    null), fa = (FILE_ATTRIBUTE_NORMAL), sa = (FILE_SHARE_READ|FILE_SHARE_WRITE|FILE_SHARE_DELETE), cd = FILE_OPEN, co = (FILE_NON_DIRECTORY_FILE|FILE_SYNCHRONOUS_IO_NONALERT|0x00004000), eab = NULL, eal = 0, disp = Invalid)

    [gle=0xd0000056]

    2020-10-19 10:49:11, Error                 CSI    00000019 (F) STATUS_DELETE_PENDING #3647469# from Windows::Rtl::SystemImplementation::CDirectory::Internal_DeleteRecursively(...)[gle=0xd0000056]

    2020-10-19 10:49:11, Info                  CSI    0000001a Direct SIL provider: Number of files opened: 8.

    2020-10-19 10:49:11, Error                 CSI    0000001b (F) 800f0986 [Error,Facility=(000f),Code=2438 (0x0986)] #1935162# from Windows::COM::CComponentStore::InternalTransact(...)[gle=0x800f0986]

    2020-10-19 10:49:11, Error                 CSI    0000001c (F) 800f0986 [Error,Facility=(000f),Code=2438 (0x0986)] #1922107# from Windows::ServicingAPI::CCSITransaction::ICSITransaction2_AddFiles(Flags = 1, a = @0x1407f283ce0, fn = @0x1407f2844e0, fp = @0x1407f284ce0, disp = 0, op = 0)[gle=0x800f0986]

    2020-10-19 10:49:11, Info                  CBS    Failed to add to transaction package: Microsoft-OneCore-ApplicationModel-Sync-Desktop-FOD-Package~31bf3856ad364e35~wow64~~10.0.18362.836 [HRESULT = 0x800f0986 - PSFX_E_APPLY_FORWARD_DELTA_FAILED]

    2020-10-19 10:49:11, Error                 CBS    Failed to stage execution package: Microsoft-OneCore-ApplicationModel-Sync-Desktop-FOD-Package~31bf3856ad364e35~wow64~~10.0.18362.836 [HRESULT = 0x800f0986 - PSFX_E_APPLY_FORWARD_DELTA_FAILED]

    Was this answer helpful?

    0 comments No comments
  4. Anonymous
    2020-10-19T05:28:50+00:00

    Hi,

    Thank you for writing to Microsoft Community Forums.

    In order to get clarity and to assist you accordingly, please reply with the answers to the questions below:

    • What is the make and model of the PC?
    • Do you have any non-Microsoft Antivirus/security program installed?

    Let us try few steps.

    Step 1: Disable non-Microsoft Antivirus/security program

    If there is any non-Microsoft Antivirus/security program installed on your PC, then we would suggest you to disable or remove it for time being.

    Step 2: Clean boot

    Try booting your PC in clean boot. Refer to the article on How to perform a clean boot in Windows

    If performing a clean boot fixes the issue then, please refer to the section How to determine what is causing the problem after you do a clean boot to check which program is causing the issue.

    **Note:**Clean Boot starts Windows with a minimal set of drivers and startup programs, so that you can determine whether a background program is interfering with your game or program. Also, you may not be able to use some programs in clean boot. 

    Note: Please refer the section Reset the computer to start normally after clean boot troubleshootingto boot the computer in to normal mode after troubleshooting.

    Step 3: Manual installation of the update.

    You can install KB4577671 from Windows Catalog update website manually for the build you are looking for and please check the BIT version as well, after performing Step 2.

    Let us know the results. If the issue persists, we will certainly assist you further.

    Aditya Roy

    Microsoft Community – Moderator

    Was this answer helpful?

    0 comments No comments