We help IT Professionals succeed at work.

We've partnered with Certified Experts, Carl Webster and Richard Faulkner, to bring you two Citrix podcasts. Learn about 2020 trends and get answers to your biggest Citrix questions!Listen Now


Server Reboot Notification

crphd asked
Medium Priority
Last Modified: 2012-05-06
Hello everyone,

I'm hoping someone may be able to answer this question for me.  We currently use WSUS to facilitate updates over our domain to keep everything patched and happy.  I was wondering if anyone knew of a utility (built into Windows or otherwise) that would allow me to search the network in order to determine if a machine was pending a restart due to an update.  I would like to be able to use such a tool to determine if any of my servers required a restart or not after an update.  Currently I have been logging in to check since there seems to be no pattern to this as some servers seem to require them and some do not.  Since we have 80+ servers in our environment as you can imagine this is quite cumbersome.  There must be a better way.  Let me know guys.
Watch Question

You could set WSUS to restart the server sutomatically after installing updates so you don't have to manually restart.  If you don't want the server to restart until told to do so then I think the only way to accomplish this would be to create a script that manually installs updates and reboots the server which you could run whenever you want this to happen (say every night at a specific time).  See the information at the following link...


Thanks for the response motley74.  I am aware of WSUS controls to do just that however since there are many different scenarios going on between the 80+ servers where some need to be rebooted before/after/same time as others it becomes a little bit more complicated than allowing WSUS to control the restarts.  Some will also need to be done on weekends while others can be done when the updates become available.  Using WSUS also won't give me verification that the servers had come back online either.  That seems to be something I need to manually check unless I set up alerts some how to email me if one doesn't respond after a set period of time.

The only thing I can recommend is to make custom VB scripts for each server that takes care of updating and does reboots on a schedule custom for each server.  The following link has a lot of already made scripts for performing lots of maintenance tasks...
Specifically look at "Force download and install of WSUS updates v2.5 (replaces v2.11)" which is about half way down the page
deroodeSystems Administrator

In a script (batch, vb, your favourite) check if the following value exists in the key:

HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\Session Manager
PendingFileRenameOperations (Reg_multi_sz)

if that one value exists an update is installed that requires a reboot. The key lists the files that are to be replaced, and their replacement
Hi Guys, I appreciate all of your efforts however we decided to go with the following solution.


Not the solution you were looking for? Getting a personalized solution is easy.

Ask the Experts
Access more of Experts Exchange with a free account
Thanks for using Experts Exchange.

Create a free account to continue.

Limited access with a free account allows you to:

  • View three pieces of content (articles, solutions, posts, and videos)
  • Ask the experts questions (counted toward content limit)
  • Customize your dashboard and profile

*This site is protected by reCAPTCHA and the Google Privacy Policy and Terms of Service apply.


Please enter a first name

Please enter a last name

8+ characters (letters, numbers, and a symbol)

By clicking, you agree to the Terms of Use and Privacy Policy.