Reboot Computers after "7"days of uptime Policy
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
6078 | |
QA - Ready for Production Level Testing | |
Reboot Computers after "7"days of uptime Policy | |
BESC | |
Task | |
0 | |
IBM - Dan Paquette | |
4/25/2013 12:00:00 AM | |
Reboot Computers after "x" days of uptime | |
DanPaquette on 5/18/2015 12:30:25 PM | |
DanPaquette on 5/18/2015 12:30:25 PM | |
11708 Views / 74 Downloads | |
* Average over 0 ratings. ** Log In or Register to add your rating. |
Relevance
Used in 1 fixlet | * Results in a true/false |
Used in 1 fixlet | * Results in a true/false |
Actions
Action 1 (default)
// Enter your action script here
This action will be considered successful when the applicability relevance evaluates to false.
Sharing
Social Media: |
Comments
|
|
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. |
|
|
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. |