@Kaleem Ullah
Thanks for your posting on Q&A.
Please provide the below registry key value for reference first:
HKEY_LOCAL_MACHINE\SOFTWARE\Policies\Microsoft\Windows\WindowsUpdate
HKEY_LOCAL_MACHINE\SOFTWARE\Policies\Microsoft\Windows\WindowsUpdate\AU
Note that protect your personal information while provide the screenshots.
In addition, have you enabled the SSL in your environment? I found the below error message for you:
0x80072F8F -2147012721 ERROR_INTERNET_SECURE_FAILURE ErrorClockWrong One or more errors were found in the Secure Sockets Layer (SSL) certificate sent by the server.
Please feel free to keep us in touch if there are any updates of the case.
Regards,
Rita
If the response is helpful, please click "Accept Answer" and upvote it.
Note: Please follow the steps in our documentation to enable e-mail notifications if you want to receive the related email notification for this thread.