Windows update Troubleshooting
Use below command for detecting windows updates
wuauclt /detectnow
Restart the services
net stop wuauserv
net start wuauserv
wuauclt /r /ReportNow
If things still aren’t working, the Windows Update log can be found at ( %systemroot%\WindowsUpdate.log.)
The log file — strangely verbose, for Microsoft — is just text and viewable in Notepad. If the server you’re
trying to connect to is crapping out, or your group policy is pointing you to the wrong server, the proof will be in there.
wuauclt.exe /resetauthorization /detectnow
/DetectNow – request the Windows Update Agent to do a scan
/ReportNow – when using this, use it in combination with /DetectNow, so wuauclt.exe /DetectNow /ReportNow to get the Windows Update Agent to scan and send the reporting events to the WSUS mothership
/RunHandlerComServer
/RunStoreAsComServer
/ShowSettingsDialog – invokes the CPL UI for the current AU settings
/ResetAuthorization – resets the authorization cookie
/ResetEULAs – resets the EULA that have been accepted?
/ShowWU – shows the Windows Update page or CPL (in Vista or later)
/ShowWindowsUpdate – shows the Windows Update page or CPL (in Vista or later)
/UpdateNow – seems like it wants to start a download and install
/DemoUI -shows the shield for WU and pops the balloon