0

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

Nijhof
  • 1
  • 1

1 Answers1

0

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.

Stoinov
  • 578
  • 2
  • 9
  • 15