Hello,
What did you delete?
Maybe you deleted some system files causing this problem.
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.Manually downloading the updates from Microsoft Update Catalog.
3.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
4.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.
5.Manually reset windows update components:
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
net start wuauserv
net start cryptsvc
net start bits
net start msiserver
Best Regards,
Hania Lian
============================================
If the Answer is helpful, please click "Accept Answer" and upvote it.