question

OswaldoCortes-6107 avatar image
0 Votes"
OswaldoCortes-6107 asked OswaldoCortes-6107 edited

Windows Server 2016 Windows Update Error 0x80070006

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-server-2016
5 |1600 characters needed characters left characters exceeded

Up to 10 attachments (including images) can be used with a maximum of 3.0 MiB each and 30.0 MiB total.

LimitlessTechnology-2700 avatar image
0 Votes"
LimitlessTechnology-2700 answered OswaldoCortes-6107 commented

Hello @OswaldoCortes-6107,

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 : )

· 1
5 |1600 characters needed characters left characters exceeded

Up to 10 attachments (including images) can be used with a maximum of 3.0 MiB each and 30.0 MiB total.

Hello LimitlessTechnology-2700,
My problem is in Windows Server 2016 and it doesn't have the troubleshoot option for Windows Update. And the article seems to focus on Windows 10, 8 and 7 but not Windows Server.
Thank you anyway

0 Votes 0 ·
LimitlessTechnology-2700 avatar image
0 Votes"
LimitlessTechnology-2700 answered OswaldoCortes-6107 commented

Hello @OswaldoCortes-6107

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://docs.microsoft.com/en-us/windows-hardware/manufacture/desktop/repair-a-windows-image

Hope this may help,
Best regards,

· 1
5 |1600 characters needed characters left characters exceeded

Up to 10 attachments (including images) can be used with a maximum of 3.0 MiB each and 30.0 MiB total.

Hello,
I tried both commands and then ran the Windows Update with same result the Error 0x80070006. Then I ran the sfc /scannow and it din't find anything so I ran Windows Update and then I got a different error: 0x8007050a.
Then I ran the dism commands and no corruption was detected so I tried the Windows Update again and now I keep getting the Error 0x8007050a
Thank you

0 Votes 0 ·
Docs-4663 avatar image
0 Votes"
Docs-4663 answered OswaldoCortes-6107 commented

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
.
.
.
.
.

· 1
5 |1600 characters needed characters left characters exceeded

Up to 10 attachments (including images) can be used with a maximum of 3.0 MiB each and 30.0 MiB total.

Hello,
Sorry you are right the correct error code that I started is 0x80070006
I missed one 0.
So now I have one server with error 0x80070006 and one server with error 0x8007050a.
Do you have any suggestions to fix the invalid handle and the incompatible service SID type?
Thank you

0 Votes 0 ·