Try the Default Windows Update Troubleshooter
Press the Win + I keys to open Settings.
Click the Update & Security > Troubleshoot > Windows Update
Then click the “Run the troubleshooter“.
This will run for sometime saying “Detecting Problems“.
At the end, “Troubleshooting has completed” window will open.
Problems found can be seen here.
If they are fixed, you can see green tick mark against them.
Otherwise, you see a red mark.