@ShankerKumar-2491
Thank you for posting in Microsoft Q&A forum.
The issue usually related to the winhttp proxy setting, you may check the WindowsUpdate.log to see if there any message like proxy cannot be reached, if so, at admin cmd prompt and type:
Netsh winhttp show proxy
If it doesn't say direct access then type:
Netsh winhttp reset proxy
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.