Hello there,
Can you share the exact error message or Event ID you are getting?
Follow the steps below to force Windows update with the command line:
Type cmd in the search box, choose Run as administrator and click Yes to continue.
Type wuauclt.exe /updatenow and hit Enter.
This command will force Windows Update to check for updates and start downloading.
You can also Reset windows update components and see if that helps:
Right-click on the start button and select Powershell (admin) or Command Prompt (admin)
Copy each commands and hit enter after you paste each of them
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
Hope this resolves your Query !!
--If the reply is helpful, please Upvote and Accept it as an answer–