Problems installing updates 800f0986

Alexey Mogilskiy 0 Reputation points
2023-08-25T08:35:50.2633333+00:00

Hi, I'm getting error 800f0986 when I try to install the june or july update for windows 2019
In the cbs file I get such messages. Tell me how to solve the problem?

2023-08-25 09:52:53, Info                  CSI    00000054 Component Microsoft-Windows-DirectoryServices-Domain-Tools-Command-ldp.Resources, version 10.0.17763.4720, arch x86, culture [l:5]'en-US', nonSxS, pkt {l:8 b:31bf3856ad364e35} does not have a winner but has 3 other component version(s)
2023-08-25 09:52:53, Error                 CSI    00000055 (F) STATUS_DELETE_PENDING #16090920# 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 = @0x9bff94e5e8->OBJECT_ATTRIBUTES {s:48; rd:NULL; on:[111]'\SystemRoot\WinSxS\Temp\InFlight\317194c320d7d901425200005821d00f\055da0c320d7d901b35200005821d00f_winspool.drv'; a:(OBJ_CASE_INSENSITIVE)}, iosb = @0x9bff94e650, as [gle=0xd0000056]
2023-08-25 09:52:53, 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]
2023-08-25 09:52:53, Error                 CSI    00000056@2023/8/25:06:52:53.185 (F) onecore\base\wcp\sil\ntsystem.cpp(2987): Error STATUS_DELETE_PENDING originated in function Windows::Rtl::SystemImplementation::DirectFileSystemProvider::SysCreateFile expression: (null)
[gle=0x80004005]
2023-08-25 09:52:53, Error                 CSI    00000057 (F) STATUS_DELETE_PENDING #16090916# from Windows::Rtl::SystemImplementation::CDirectory::DeleteRecursively(...)[gle=0xd0000056]
2023-08-25 09:52:53, Error                 CSI    00000058 (F) 800f0986 [Error,Facility=(000f),Code=2438 (0x0986)] #15902579# from Windows::COM::CComponentStore::InternalTransact(...)[gle=0x800f0986]
2023-08-25 09:52:53, Error                 CSI    00000059 (F) 800f0986 [Error,Facility=(000f),Code=2438 (0x0986)] #15881437# from Windows::ServicingAPI::CCSITransaction::ICSITransaction2_AddFiles(Flags = 1, a = @0x1c05db3e030, fn = @0x1c05db3e830, fp = @0x1c05db3f030, disp = 0, op = 0)[gle=0x800f0986]
2023-08-25 09:52:53, Info                  CBS    Failed to add to transaction package: Package_9249_for_KB5029247~31bf3856ad364e35~amd64~~10.0.1.6 [HRESULT = 0x800f0986 - PSFX_E_APPLY_FORWARD_DELTA_FAILED]
2023-08-25 09:52:53, Error                 CBS    Failed to stage execution package: Package_9249_for_KB5029247~31bf3856ad364e35~amd64~~10.0.1.6 [HRESULT = 0x800f0986 - PSFX_E_APPLY_FORWARD_DELTA_FAILED]
2023-08-25 09:52:53, Info                  CBS    CommitPackagesState: Started persisting state of packages
2023-08-25 09:52:53, Info                  CBS    CommitPackagesState: Completed persisting state of packages
2023-08-25 09:52:53, Info                  CSI    0000005a@2023/8/25:06:52:53.310 CSI Transaction @0x1c041f62a10 destroyed
2023-08-25 09:52:53, Info                  CBS    Perf: Stage chain complete.
2023-08-25 09:52:53, Info                  CBS    Failed to stage execution chain. [HRESULT = 0x800f0986 - PSFX_E_APPLY_FORWARD_DELTA_FAILED]
2023-08-25 09:52:53, Error                 CBS    Failed to process single phase execution. [HRESULT = 0x800f0986 - PSFX_E_APPLY_FORWARD_DELTA_FAILED]
2023-08-25 09:52:53, Info                  CBS    WER: Generating failure report for package: Package_for_ServicingStack_4640~31bf3856ad364e35~amd64~~17763.4640.1.3, status: 0x800f0986, failure source: Stage, start state: Installed, target state: Installed, client id: WindowsUpdateAgent
2023-08-25 09:52:53, Info                  CBS    Not able to query DisableWerReporting flag.  Assuming not set... [HRESULT = 0x80070002 - ERROR_FILE_NOT_FOUND]
2023-08-25 09:52:53, Info                  CBS    Added C:\Windows\Logs\CBS\CBS.log to WER report.
2023-08-25 09:52:53, Info                  CBS    Added C:\Windows\Logs\CBS\CbsPersist_20230824192043.log to WER report.
2023-08-25 09:52:53, Info                  CBS    Added C:\Windows\Logs\CBS\CbsPersist_20230823121457.log to WER report.
2023-08-25 09:52:53, Info                  CBS    Added C:\Windows\Logs\CBS\CbsPersist_20230822162859.log to WER report.
2023-08-25 09:52:53, Info                  CBS    Added C:\Windows\Logs\CBS\CbsPersist_20230822100949.log to WER report.
2023-08-25 09:52:53, Info                  CBS    Added C:\Windows\Logs\CBS\CbsPersist_20230821060833.log to WER report.
2023-08-25 09:52:53, Info                  CBS    Not able to add %windir%\winsxs\poqexec.log to WER report. [HRESULT = 0x80070002 - ERROR_FILE_NOT_FOUND]
2023-08-25 09:52:53, Info                  CBS    Not able to add %windir%\winsxs\pending.xml to WER report. [HRESULT = 0x80070002 - ERROR_FILE_NOT_FOUND]
2023-08-25 09:52:53, Info                  CBS    Not able to add %windir%\winsxs\pending.xml.bad to WER report. [HRESULT = 0x80070002 - ERROR_FILE_NOT_FOUND]
2023-08-25 09:52:53, Info                  CBS    Reboot mark cleared
2023-08-25 09:52:53, Info                  CBS    Winlogon: Simplifying Winlogon CreateSession notifications
2023-08-25 09:52:53, Info                  CBS    Winlogon: Deregistering for CreateSession notifications

Windows
Windows
A family of Microsoft operating systems that run across personal computers, tablets, laptops, phones, internet of things devices, self-contained mixed reality headsets, large collaboration screens, and other devices.
5,823 questions
0 comments No comments
{count} votes

2 answers

Sort by: Most helpful
  1. Limitless Technology 44,681 Reputation points
    2023-08-28T12:49:50.4666667+00:00
    Hello
    
    Thank you for your question and reaching out.
    
    1. Disable any Antivirus program or Windows firewall you may have for temporary purpose.
    
    2. Cleanup below Temp folders location -> Open Start -> Run -> Type below location one-by-one and press enter 
        ->  C:\Windows\Temp
        ->   %USERPROFILE%\AppData\Local\Temp
    
    
    3. Also there is a new guided walk-through from Microsoft for repairing Windows Update that leads up to resetting components if necessary: https://support.microsoft.com/en-us/help/10164/fix-windows-update-errors
    
    If that fails try manually resetting Windows Update Service:
    Open administrative Command Prompt and type following commands one-by-one followed by Enter key.
    
    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
    
    Reboot your Machine.
    
    
    Reference:
    
    https://learn.microsoft.com/en-us/answers/questions/524621/error-0x800f0986(-2146498170)-when-installing-wind?page=2#answers
    
    --If the reply is helpful, please Upvote and Accept as answer--
    
    0 comments No comments

  2. Hania Lian - MSFT 23,106 Reputation points Microsoft External Staff
    2023-08-29T05:53:20.7433333+00:00

    Hi @Alexey Mogilskiy

    What is the patch number you installed?

    In this situation, we recommend that you install the August update to see if this issue occurs.

    Hope the information is helpful.

    Best Regards,

    Hania Lian

    ============================================
    If the Answer is helpful, please click "Accept Answer" and upvote it.

    0 comments No comments

Your answer

Answers can be marked as Accepted Answers by the question author, which helps users to know the answer solved the author's problem.