Hello,
Here are some basic troubleshooting steps you can try:
1.Running the update troubleshooter. Select Settings > Update & Security > Troubleshoot > Additional troubleshooters > Windows Update > Run the troubleshooter.
2.Performing a clean boot. This is a way of starting Windows with only the essential services and programs, which can help eliminate any software conflicts that might interfere with the update process. Please refer to this link: How to perform a clean boot in Windows - Microsoft Support
3.Restarting the update services. You can do this by using the Services tool (services.msc) and stopping and starting the following services: Windows Update, Background Intelligent Transfer Service, Cryptographic Services, Windows Installer.
4.Check if there is enough disk space available on your system drive. If not, free up some space and try the update again.
If none of the above methods works, it is recommended you troubleshooting the issue based on the update logs such as windowsupdate.log/CBS.log.
Best Regards,
Hania Lian
============================================
If the Answer is helpful, please click "Accept Answer" and upvote it.