How do I determine if a Windows 2000 server requires a reboot?

Posted on 2005-05-05
Last Modified: 2012-06-21
How can I determine if a reboot is pending on a Windows 2000 server? For example how do you tell if someone had installed a patch or changed something within Windows for example that prompted them "You must restart your computer" (and they clicked no). In other words the system requires a restart?
Please note I'm not looking to tell if someone installed a patch etc. We have been changing IP settings on our Windows 2000 servers and some prompted us to reboot them. Obvioulsy you should not need to when making IP changes so we figure that maybe a change was made previously that prompted a reboot and the reboot was not done at that time.

I was thinking perhaps there is a "reboot pending" type flag in the registry or a file but I cant find it.

Question by:gran3085
    LVL 16

    Expert Comment

    Not an exact answer but this MS Knowledgebase article has a registry value for pending files changes.

    Although we have found that we had to restart a server if more than one person wad connected to it when changing the IP addresses. (I guess it is because it knows it will lose connection to the user and possibly lose data)

    LVL 4

    Accepted Solution

    Click -Start - Run and type Regedit browse to the following registry key...

    HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\Session Manager\Pending File Rename Operations

    The 2 other possible registry keys are...

    HKEY_LOCAL_MACHINE\Software\Microsoft\Windows\CurrentVersion\RunOnce and

    If there are entries in any of these then a reboot is required!



    Featured Post

    How your wiki can always stay up-to-date

    Quip doubles as a “living” wiki and a project management tool that evolves with your organization. As you finish projects in Quip, the work remains, easily accessible to all team members, new and old.
    - Increase transparency
    - Onboard new hires faster
    - Access from mobile/offline

    Join & Write a Comment

    NTFS file system has been developed by Microsoft that is widely used by Windows NT operating system and its advanced versions. It is the mostly used over FAT file system as it provides superior features like reliability, security, storage, efficienc…
    David Varnum recently wrote up his impressions of PRTG, based on a presentation by my colleague Christian at Tech Field Day at VMworld in Barcelona. Thanks David, for your detailed and honest evaluation!
    how to add IIS SMTP to handle application/Scanner relays into office 365.
    This video is in connection to the article "The case of a missing mobile phone (". It will help one to understand clearly the steps to track a lost android phone.

    734 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

    19 Experts available now in Live!

    Get 1:1 Help Now