I was wondering if there's a way to monitor how much updates there are still pending on a server?

Let me give some background; we have 2 application servers. One of them is the database server and one of them is the application server. Both of them are patched using wsus on the same time but the application server can't start if the database server is still running updates and therefore may reboot.

I can script the shutdown and power on of the application server but I need to know when there are no more updates pending on the database server and therefore not reboot anymore?

Thanks, Steven


This more of a server side question, rather than WSUS one.

Here is a relevant question for the same thing.

And here is a post of the Hey Scripting Guy blog, tackling your specific issue - Part 1 and Part 2

Basically check if [HKLM\SOFTWARE\Microsoft\Windows\CurrentVersion\WindowsUpdate\Auto Update\RebootRequired] exist.

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.