Server Fault is a question and answer site for system and network administrators. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

We are using Microsoft Systems Management Server (SMS) & Inventory Tool for Microsoft Updates (ITMU) for the distribution of Microsoft Security Patches. We use the following command for installation: PatchInstall.exe /g:0 /d /n /z:ws /c:15 /t:30 /m:"PatchAuthorize.xml"

After installation of a particular patch set, the balloon indicates a restart is required however, there does not appear to be any PendingFileRename associated with it.

In a custom utility, we are trying to determine if a restart is required after installing patches.

Since it appears this information is stored somewhere other than the PendingFileRename key, does anyone know where this information is stored? Is there another way to do this?

share|improve this question

I have used a utility called WhyReboot for similar reasons many times. You might find a way to use that utility, or follow his footsteps through the MS KB articles he used.

The simple, supported solution is to record an entry that will allow the file(s) to be copied, renamed, or deleted after the system reboots but before Windows loads (or any user applications start.) It is this method that most installer systems use.

I've investigated the methods used to request 'deferred' file operations after a reboot. It's not that tough, Microsoft provides sufficient documentation on their website:

* MS KB Article 140570
* MS KB Article 181345
* MS KB Article 184408
* MS KB Article 228930

There are other resources on the web (see related links, below)

I present to you the results of my curiosity and investigations: The WhyReboot utility.

share|improve this answer

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

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