Hello,
You should verify your network connection.
a. Attempt to rename your C:\windows\softwaredistribution folder (ensure you back it up). If reconfiguration is not possible, try stopping the wuauserv service and restart it after you've completed the backup.
b. Open your network settings and change your DNS server.
Refer to the endpoint documentation: https://learn.microsoft.com/en-us/windows/privacy/manage-windows-11-endpoints
If the Answer is helpful, please click "Accept Answer" and upvote it.