Restarts happening out of the restart window

(imported topic written by okole91)

Here’s my action:

Messages

No user interface will be shown before running this action.

No message will be shown while running this action.

Users

This action will run independently of user presence.

User interface will be shown to all users.

Execution

This action will never expire.

It will run between 4:00:00 AM and 6:00:00 AM, on any day of the week, .

If the action becomes relevant after it has successfully executed, the action will be periodically reapplied an unlimited number of times, waiting 1 day between reapplications.

If the action fails, it will not be retried.

Post-Action

After the action completes, the user will be requested to restart the computer.

The restart request will have a deadline of 00:10:00 after it is initially shown.

When the deadline is reached, the computer will restart automatically.

The following message will be displayed as the reboot/shutdown request:

Restart Now

Your system administrator is requesting that you restart your computer. Please save any unsaved work and press ‘Restart Now’ to restart your computer.

Here’s the action info

The action executed successfully.

This action has been applied 1 time.

Status Fixed

Start Time 5/4/2011 5:14:49 AM

End Time 5/4/2011 10:09:36 AM

This one reboot the computer in the middle of the user working with no warning.

What is causing this problem and how do I fix it?

(imported comment written by kevin_friedheim)

okole, it looks like the action is using the following (take from http://support.bigfix.com/fixlet/documents/WinActions_20081110.pdf):

restart

Where delay seconds is an optional parameter to provide a lag before restarting. If the optional parameter is

provided, the shutdown will happen automatically after the specified delay

It sounds like you want is:

action requires restart

This command informs the client that the current action will not be completed until the next

restart completes. Once this action has been completed on a machine, the inspector ‘pending

restart’ will return ‘True’. If there is an ‘action requires restart’ command in an action, the

BigFix Enterprise Console will report ‘Pending Restart’ until the affected machine is restarted.

(imported comment written by BenKus)

Okole,

Is it possible that something was preventing the OS from restarting? For desktops, we do a “polite restart request”, which means that certain things will prevent restart (like an app that had work to save)… If the user were to later close that app later, then the OS would restart at that point…

Ben