Thank you for your question and reaching out. I can understand you are having query\issues related to Windows updates.
Please try to reset Windows update components using below steps.
- Open Command Prompt with elevated and run below commands one-by-one then press enter
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
- Reboot your Server.
- . Run below DISM commands from elevated prompt.
DISM /Online /Cleanup-Image /CheckHealth
DISM /Online /Cleanup-Image /RestoreHealth
- Disable any Antivirus program or Windows firewall you may have for temporary purpose.
- Try apply that KB5023788 manually
--If the reply is helpful, please Upvote and Accept as answer--