Windows Server 2016 Windows Update Error 0x80070006

Oswaldo Cortes 6 Reputation points
2021-09-06T16:37:54.157+00:00

Hello I am having the same issue with 2 Windows Server 2016. I cannot install Windows Updates I keep getting the Error 0x80070006.
I have a few Windows Servers 2012 R2, Windows Server 2019 and Windows Server 2016 without issues just these 2.
I tried uninstalling Antivirus, I tried the following instructions:

Press Windows + X and select Command Prompt (Admin).
Type the following commands, press enter after each of them:
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

Still same error in 2 servers.

Any suggestions?
Thank you

Windows for business | Windows Server | User experience | Other
{count} vote

5 answers

Sort by: Most helpful
  1. Limitless Technology 39,926 Reputation points
    2021-09-07T08:19:39.16+00:00

    Hello @Oswaldo Cortes ,

    If you get an error code while downloading and installing Windows updates, the Update Troubleshooter can help resolve the problem.

    Select Start > Settings > Update & Security > Troubleshoot > Additional troubleshooters. Next, under Get up and running, select Windows Update > Run the troubleshooter.

    When the troubleshooter is finished running, it's a good idea to restart your device.

    Next, check for new updates. Select Start > Settings > Update & Security > Windows Update > Check for updates, and then install any available updates.

    If the problems aren't all resolved, try running the troubleshooter again to check for additional errors, or see Fix Windows Update errors and follow the troubleshooting steps using the below link,

    https://support.microsoft.com/en-us/sbs/windows/fix-windows-update-errors-18b693b5-7818-5825-8a7e-2a4a37d6d787?ui=en-US&rs=en-US&ad=US

    Hope this answers all your queries, if not please do repost back.
    If an Answer is helpful, please click "Accept Answer" and upvote it : )


  2. Limitless Technology 39,926 Reputation points
    2021-09-07T13:16:34.937+00:00

    Hello @Oswaldo Cortes

    Also, some security softwares (Antivirus, AntiMalware) will affect the execution of BITS for Windows Update. Please

    Run the following command from an elevated command prompt:

    sc config bits binPath="C:\Windows\System32\svchost.exe -k netsvcs"  
    

    Then run the command:

    sc config wuauserv binPath="C:\Windows\system32\svchost.exe -k netsvcs"  
    

    Other option could be repairing the Windows install image following the commands in the next article:
    https://learn.microsoft.com/en-us/windows-hardware/manufacture/desktop/repair-a-windows-image

    Hope this may help,
    Best regards,


  3. Docs 15,761 Reputation points
    2021-09-08T20:57:38.67+00:00

    The title of the thread displayed error 0x8007006.
    Was this an error? Should it have been 0x80070006?

    (It's best to post images or share links when there are error messages and / or codes)

    To help you and others these are the displayed error codes:

    0x80070006 = error invalid handle

    0x8007050a = incompatible service SID type

    .
    .
    .
    .
    .
    Please remember to vote and to mark the replies as answers if they help.

    On the bottom of each post there is:

    Propose as answer = answered the question

    On the left side of each post: Vote = a helpful post
    .
    .
    .
    .
    .


  4. John Ferrini 0 Reputation points
    2023-02-24T16:31:34.8466667+00:00

    Wow none of you are any help to anyone here. This resolves that error.
    DISM.exe /online /Cleanup-Image /StartComponentCleanup /resetbase

    Then

    DISM.exe /Online /Cleanup-Image /ScanHEalth

    Then

    DISM.exe /Online /Cleanup-Image /RestoreHealth /Source:WIM:E:\sources\install.wim:4 /LimitAccess


  5. Singh, Roopanjali 0 Reputation points
    2023-06-25T11:24:16.4433333+00:00

    I tried several steps but they didnt work, please any one can help?

    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.