Server Reboot Notification

Posted on 2009-02-10
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.
Question by:crphd
    LVL 5

    Expert Comment

    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...
    LVL 1

    Author Comment

    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.
    LVL 5

    Expert Comment

    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
    LVL 19

    Expert Comment

    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
    LVL 1

    Accepted Solution

    Hi Guys, I appreciate all of your efforts however we decided to go with the following solution.

    Write Comment

    Please enter a first name

    Please enter a last name

    We will never share this with anyone.

    Featured Post

    What Security Threats Are You Missing?

    Enhance your security with threat intelligence from the web. Get trending threat insights on hackers, exploits, and suspicious IP addresses delivered to your inbox with our free Cyber Daily.

    I've always wanted to allow a user to have a printer no matter where they login. The steps below will show you how to achieve just that. In this Article I'll show how to deploy printers automatically with group policy and then using security fil…
    On July 14th 2015, Windows Server 2003 will become End of Support, leaving hundreds of thousands of servers around the world that still run this 12 year old operating system vulnerable and potentially out of compliance in many organisations around t…
    To add imagery to an HTML email signature, you have two options available to you. You can either add a logo/image by embedding it directly into the signature or hosting it externally and linking to it. The vast majority of email clients display l…
    Access reports are powerful and flexible. Learn how to create a query and then a grouped report using the wizard. Modify the report design after the wizard is done to make it look better. There will be another video to explain how to put the final p…

    794 members asked questions and received personalized solutions in the past 7 days.

    Join the community of 500,000 technology professionals and ask your questions.

    Join & Ask a Question

    Need Help in Real-Time?

    Connect with top rated Experts

    18 Experts available now in Live!

    Get 1:1 Help Now