Hi, @MohamedHassan-5443
Thank you for posting in Microsoft Q&A forum.
Have we followed this blog to remove WSUS completely and reinstall it?
https://www.ajtek.ca/wsus/how-to-remove-wsus-completely-and-reinstall-it/
If this still doesn't work, we may try to disjoin the server from the domain, and restart. Try the post-installation steps again. If it works, the issue is a policy on your domain that is causing the issues. You can then rejoin the server to the domain.
If the answer is the right solution, please click "Accept Answer" and kindly upvote it. If you have extra questions about this answer, please click "Comment".
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.