Hello Venkalth,
Thank you for reaching out to the Microsoft Community and I'll be glad to assist you today.
I understand that you are experiencing an error when installing the Updates. If the update is stuck, usually indicates that there is a problem with Windows Update components ". You could try the following troubleshooting steps below to fix the issue.
- Run Windows update troubleshooter.
Select Start > Settings > System > Troubleshoot > Other troubleshooters. Next, under Most Frequent, select Windows Update > Run.
When the troubleshooter is finished running, it's a good idea to restart your device. Install the updates.
- Run a System Scan - System File Checker is a utility in Windows that checks for problems with files on your computer. To run it, follow these steps:
a. In the search box on the taskbar, type command prompt, right-click and "Select Run as administrator", and then select Yes.
b. Type or Paste the Command lines one by one and click enter. (Note: Each command may take a few minutes to start and complete. Do not copy-paste the commands all at once)
DISM /Online /Cleanup-Image /CheckHealth
DISM /Online /Cleanup-Image /ScanHealth
DISM /Online /Cleanup-Image /RestoreHealth
sfc /scannow
c. After you see a message that says, "Verification 100% complete," type exit and press Enter.
d. Restart your PC and install the updates.
- Reset Windows Update components:
a. Open Command Prompt as administrator.
b. Run the following commands one by one: (Type/paste the command one by one and hit 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
net start wuauserv
net start cryptSvc
net start bits
net start msiserver
c. Once completed, restart your computer and install the Windows Updates again.
I hope this information helps. If you have any questions, please let me know and I will be happy to help you further.
Best regards,
Gunasekar N