(view source code of wutest.bat as plain text)
:: Quick and dirty test for Windows Update.
:: No guarantee, as I couldn't test failed Windows Updates.
:: Checks if the last WU install was later than the last WU download, if not it will report a failure.
:: Written by Rob van der Woude
SET RegKey=HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\WindowsUpdate\Auto Update\Results
ECHO Last Windows Update failed ^(%LastDownload%^)
) ELSE (
ECHO Last Windows Update succeeded ^(%LastInstall%^)
page last uploaded: 2021-01-27, 16:12