Windows update error

Fahrid F 196 Reputation points
2021-09-06T14:23:50.06+00:00

Hi All,

I am facing the windows update error on 2016 servers after updating the group policy settings of below

Configure Automatic Updates
Select when Quality Updates are received
Select when Preview Builds and Feature Updates are received.

129627-image.png

Below are some of the workaround I have tried:

Changed the above group policy settings to not configured state and tried running below commands

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

but did not worked out. Please guide me to proceed further.

Thanks

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.
4,735 questions
Windows Server 2016
Windows Server 2016
A Microsoft server operating system that supports enterprise-level management updated to data storage.
2,368 questions
Windows Server
Windows Server
A family of Microsoft server operating systems that support enterprise-level management, data storage, applications, and communications.
12,108 questions
Windows Server Security
Windows Server Security
Windows Server: A family of Microsoft server operating systems that support enterprise-level management, data storage, applications, and communications.Security: The precautions taken to guard against crime, attack, sabotage, espionage, or another threat.
1,721 questions
{count} votes

5 answers

Sort by: Most helpful
  1. Limitless Technology 39,341 Reputation points
    2021-09-07T07:46:04.613+00:00

    Hello Fahrid,

    Which changes have you done into that policies? Are you using implementing WSUS (or maybe removing it from the management of this machines?)

    Also it would help if you could post an extract of the Windowsupdate.log in an affected machine with the previous 30 or 50 lines previous to the last line with the 0x8024500c error.

    One initial option, if you are implementing WSUS, disable Dual Scan options:
    Enable:
    [Do not allow update deferral policies to cause scans against Windows Update]
    (Location: Group Policy Management Editor\Policies\Administrative Templates\Windows Components\Windows Update)

    ensure that these are set to "Not defined" (they were the 'old way' to disable Dual Scan, and maybe you have them set before, but they are unstable with current versions)
    [Do not connect to any Windows Update Internet Locations]
    (Location: Group Policy Management Editor\Policies\Administrative Templates\Windows Components\Windows Update)

    [Turn off access to all Windows Update features]
    (Location: Group Policy Management Editor\Policies\Administrative Templates\System\Internet Communication Management\Internet Communication settings)

    If you want to have a better understanding of what Dual Scan is or what it does, you can give a read to:
    https://learn.microsoft.com/en-gb/archive/blogs/wsus/demystifying-dual-scan

    Hope it helps in your case!
    Best regards.

    1 person found this answer helpful.

  2. Reza-Ameri 16,831 Reputation points
    2021-09-06T16:09:18.61+00:00

    Try run command prompt as administrator and then type the following commands:

    sfc /scannow
    Dism /Online /Cleanup-Image /CheckHealth
    Dism /Online /Cleanup-Image /ScanHealth
    Dism /Online /Cleanup-Image /RestoreHealth


  3. Docs 15,141 Reputation points
    2021-09-07T07:57:50.88+00:00

    Please check policies:

    0x8024500c = WU E Director Connect Policy

    Connections to the redirector server are disallowed by managed policy.

    This is a Microsoft Technet link that may be useful:
    https://social.technet.microsoft.com/Forums/en-US/8312b0bd-7a1d-4f14-96ec-0778be5f3940/no-communication-with-wsus?forum=winserverwsus

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

    0 comments No comments

  4. Fahrid F 196 Reputation points
    2021-09-16T10:56:17.633+00:00

    Hi All

    Marked the setting Select when Quality Updates are received to not configured state, after that update is getting downloaded but not getting installed it says failed to install. Now facing below issues

    132704-image.png

    132630-image.png

    0 comments No comments

  5. Fahrid F 196 Reputation points
    2021-09-29T07:04:51.27+00:00

    Any further suggestions on this?