Error 0x800F0986(-2146498170) when installing Windows Updates Server 2019 - Multi-Forest

Benjamin Hagen 121 Reputation points
2021-08-23T16:22:17.503+00:00

125560-wuahandler-log.txt125714-error-in-cmd.png125715-error.png

Afternoon Community,

I am working in a multi-forest company, using SCCM 2012 for patching. We are on the 2010 update. I have several servers that are getting the error 0x800F0986(-2146498170) when installing cumulative updates (KB005030).

I get this error when installing the update via SCCM, Manually (by downloading from the Microsoft Catalog) and even when trying to install from Windows updates itself. This error message (at least 0x800F0986) when I run the command dism /online /cleanup-image /restorehealth

Things I have tired thus far to no avail.
* Disabled \ Removed Third party Anti-virus software
* Rebooted
* Ran SFC /Scannow and dism /online /cleanup-image /restorehealth
* Ran the Windows Update troubleshooter (typically tells me a reboot is pending)

The majority of the systems patch without issue, on every domain however I have a handful through each domain doing this, and not quiet sure where do go with this now.

Please find WUAHandler Log file form the most recent pain in my butt

Thank you in advance for any help you are able to provide!

Microsoft System Center
Microsoft System Center
A suite of Microsoft systems management products that offer solutions for managing datacenter resources, private clouds, and client devices.
894 questions
{count} votes

6 answers

Sort by: Most helpful
  1. Erich Meier (SMO) 0 Reputation points
    2023-01-13T14:10:59.24+00:00

    We have been able to fix a similar problem by clearing the update cache and manually resetting Windows Update Service:

          Stop-Service wuauserv | Out-Null
          Stop-Service cryptSvc | Out-Null
          Stop-Service bits | Out-Null
          Stop-Service msiserver | Out-Null
    
          if ( (Test-Path "C:\Windows\SoftwareDistribution.old") -eq $true) {Remove-Item "C:\Windows\SoftwareDistribution.old" -Recurse -Force}
          if ( (Test-Path "C:\Windows\SoftwareDistribution") -eq $true) 	{Rename-Item -Path C:\Windows\SoftwareDistribution -NewName SoftwareDistribution.old}
          if ( (Test-Path "C:\Windows\Catroot2.old") -eq $true ) 		{Remove-Item "C:\Windows\Catroot2.old" -Recurse -Force}
          if ( (Test-Path "C:\Windows\Catroot2") -eq $true ) 		{Rename-Item -Path C:\Windows\System32\catroot2 -NewName Catroot2.old}
    
          Start-Service wuauserv | Out-Null
          Start-Service cryptSvc | Out-Null
          Start-Service bits | Out-Null
          Start-Service msiserver | Out-Null
    

    See source link that helped to our solution:

    [https://answers.microsoft.com/en-us/windows/forum/all/what-is-error-code-2145124330-regarding-updates/ab89c981-2c31-4d2b-bbb4-f2c87e550413

    "I'm Greg, an installation specialist and 9 year Windows MVP, here to help you."

    1. 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/.... Try running that first.
    2. 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

    Close Command Prompt and see if Windows Updates works then

    1. You can also install the Updates manually that fail to install which are logged at Settings > Update & Security > Windows Update > Installed Update History, and then search for those to download and install from this Catalog: http://test.catalog.update.microsoft.com/v7/sit...
    2. If they continue to fail and interfere, then you can block them using one of these methods: https://www.howtogeek.com/224471/how-to-prevent...
    3. See all ways to try to control and manage updates here: https://www.itprotoday.com/windows-10/microsoft...

    I hope this helps. Feel free to ask back any questions and let us know how it goes. I will keep working with you until it's resolved.

    0 comments No comments