Skip to main content

Just Released: Reboot Notifications and Deferrals for Worklets

Just Released: Reboot Notifications and Deferrals for Worklets
ScottS-Automox

Happy hump day ya’ll.

We’re very excited to announce that we’ve just pushed reboot notifications and deferral options for Worklets live! Previously, Worklets were only able to be scheduled, however, reboot notifications and deferrals were not available.

This is a powerful feature as it offers users the ability to run custom evaluation and remediation scripts, and assuming this is enabled, devices that successfully receive remediation script will reboot respecting the notifications and deferrals configured in the Worklet policy.

Some interesting use cases that you might consider:

  • Reboot only recurring policy for all targeted devices with notifications and deferrals

  • Reboot prior to policy run or during scheduled maintenance windows

And many more!

We’ll have Product Docs up shortly, but you can access this feature by going to Create Policy > Worklets > Enable Automatic Reboot After Updates Are Installed. (Note: all existing Worklets will default to disabled, but can be updated/edited directly)

image

Let us know if you have any questions and feel free to share with the Community how you plan on using this feature to accomplish new Workflows.

Pleasant automating…

How helpful was this post to you?
This topic has been closed for comments

12 replies

Forum|alt.badge.img

This is awesome! We have some software updates that require a reboot, and I have been holding off because I haven’t had time to test some of the workaround scripts people have posted. Nice to have this baked in. I’ll be testing this new feature shortly.


Forum|alt.badge.img
  • Power User
  • 58 replies
  • October 11, 2021

This is great! I used to always have to run worklets after prod hours due to no notifications. Now I can run them during prod and give users a choice on when they can get patched! A reboot only would be great, is that just a exit 0 in both eval/remediation?


Forum|alt.badge.img

Yes, we just tested a policy with exit 1 for eval and exit 0 for remediation just to reboot computers. It works great giving the users notification and option to defer. Testing now with this in the evaluation to reboot computers that need it. I’ll post an update with our results.




#>


# Checks whether or not the system requires a reboot, and remediates accordingly.
$sysInfo = New-Object -ComObject "Microsoft.Update.SystemInfo"
if($sysInfo.RebootRequired)
{ 
    exit 1
}
else
{
    exit 0
}

ScottS-Automox
  • Author
  • Automox Employee
  • 14 replies
  • October 11, 2021

@David_Mitchell - thanks for adding that

@Mrichards - Exit 1 (for windows) or exit 1 (for mac) for eval and Exit 0 (on windows) and exit 0 (on Mac) for remediation. Remember for macs it has to be lowercase.

Let me know if there are any other questions.


Forum|alt.badge.img

Automox, can you add this feature to required software too? That would be super handy.


Forum|alt.badge.img

There is a UX bug that people should watch out for. If you set device targeting up, and then change the Automatic Reboot setting to do not enable, it clears your device targeting.


ScottS-Automox
  • Author
  • Automox Employee
  • 14 replies
  • October 12, 2021

Hey @David_Mitchell, Thanks for this. We were actually looking into that. Are you able to set up a reboot only worklet policy to run directly after your required software policy in the meantime?


ScottS-Automox
  • Author
  • Automox Employee
  • 14 replies
  • October 12, 2021

Just replicated this issue. Thanks for bringing it to our attention. Getting a bug ticket in now!


Forum|alt.badge.img

We could do that with another worklet policy as a workaround. Its not a big use case for us yet. I only have one policy where this would be handy so far because of the way the software works.


Maikel
Forum|alt.badge.img
  • Channel Partner
  • 65 replies
  • October 15, 2021

Nice and welcome addition, this is going to make our lives a lot easier!


  • Rookie
  • 1 reply
  • November 10, 2021

We’ve recently implemented this as part of our monthly patching for end user devices, replacing the previous Intune configuration. Feedback so far has been great.


  • Rookie
  • 2 replies
  • January 21, 2022

I already do this


Cookie policy

We use cookies to enhance and personalize your experience. If you accept you agree to our full cookie policy. Learn more about our cookies.

 
Cookie settings