---
title: "Patch and Reboot if Required"
description: ""
category: "Actions"
subcategory: "Predefined programs"
last_updated: "2026-05-21"
source_url: "https://docs.xeox.com/actions/cA3GbGqPkitikUefevioxb/patch-and-reboot-if-required/d1ECLHSHLN5XNFoRpyUHDW"
---

# Patch and Reboot if Required

![notion image](https://docs.xeox.com/media/2fb8f8579daacbf1.png)

Predefined Programs are already build, for your convenience. It is still possible to edit them however.

The **“Patch and reboot if required”** program asks, using an if-loop, whether a reboot is necessary for the update. If it is a message is displayed indicating that an update is required. An update is performed 5 minutes after the message is displayed. Once the loop is completed, the program searches for and installs missing updates and displays the hardware and software inventory.

![notion image](https://docs.xeox.com/media/4cdd49b44355fb2f.png)

> For more information regarding the individual fields, please look at their respective entries in [Actions](https://help.xeox.com/actions/7BLNpyYRarG6zDgy3yQ9Ji).
