Reboot Computers after "7"days of uptime Policy
Log In or Register to download the BES file, and more.

0 Votes

Description

This Fixlet restarts Windows machines after "7" days of uptime or 168 hours. After 168 hours an endpoint will evaluate the fixlet and find itself relevant and therefore relevant to any actions on this task. This task is only applicable to windows workstations and not servers though you could probably target MACs if you change the relevance.

This fixlet was for a customer specifically trying to address users that rarely rebooted their machines. This creates an issue with patching in some cases where the OS is in a pending file operation status from a previous patch or software install. Additionally, the operating system might just be in a bad state from various transistions in and out of power management states. This task as a policy allows them to address those users who rarely reboot while giving those users some flexibility as to when the reboot happens(per snooze).

To properly action this task ensure the following constraints and behaviors are set.

Constraints:

The idea of this task is to run as a policy, so you should uncheck the "Ends On" option.

Behavior:

You want this task to run as a policy when a machine reaches 7 days of uptime but you also want it to run again the next time the endpoint reaches 7 days of uptime. So make sure you check the box "Reapply this Action" and choose "whenever it becomes relevant again". Then uncheck the box that limits the reapplications.

Post Action Tab:

You must set your restart option here, the message you want, whether you will prompt them to save work, allow them to cancel the action and how many hours or days you will give them before deadline. Default is 24 hours.

Note - This fixlet requires no action script to run. By setting the post action tab you are essentially sending the "Action requires restart" command to the endpoint.

Editing this fixlet:

All you need to do is edit the day value in the line of relevance. Note that the value must be "X*Day". A numerical value alone will not work in this case. Then you can edit the title and description of the fixlet and save it.

 

 


Property Details

ID6078
StatusQA - Ready for Production Level Testing
Title Reboot Computers after "7"days of uptime Policy
DomainBESC
CategoryTask
Download Size0
SourceIBM - Dan Paquette
Source Release Date4/25/2013 12:00:00 AM
KeywordsReboot Computers after "x" days of uptime
Added by on 5/18/2015 12:30:25 PM
Last Modified by on 5/18/2015 12:30:25 PM
Counters 11708 Views / 74 Downloads
User Rating 1 star 2 star 3 star 4 star 5 star * Average over 0 ratings. ** Log In or Register to add your rating.

Relevance

Used in 1 fixlet   * Results in a true/false
Show indented relevance
(now - boot time of operating system) >7*day
Used in 1 fixlet   * Results in a true/false
Show indented relevance
((name of it as lowercase = "WinXP" as lowercase OR name of it as lowercase = "WinVista" as lowercase OR name of it as lowercase = "Win7" as lowercase OR name of it as lowercase = "Win8" as lowercase ) of operating system)

Actions

Action 1 (default)

Action Link Click here to deploy this action.
Script Type BigFix Action Script
// Enter your action script here
Success Criteria

This action will be considered successful when the applicability relevance evaluates to false.


Sharing

Social Media:
Share this page on Yammer

Comments

Log In or Register to leave comments!
jgstew -
for servers, you might want to use the `restart` actionscript to handle the reboot. I would suggest asking this question on forum.bigfix.com and mention @jgstew in the question.
AJFP -
How would I configure this to do nightly and only at a specific time? Trying to set a reboot up for 4 servers to reboot every night at 12:30am.