---
title: "Keep Windows Clients up-to-date"
description: "Since some clients are always powered on, the Windows installation does not work."
category: "Use Cases"
subcategory: "Use Cases"
last_updated: "2023-04-06"
source_url: "https://docs.xeox.com/use-cases/byXCM3a3FcqLQn9xrpZbui/keep-windows-clients-up-to-date/27BuroEskDTYnNBDE4fPrA"
---

# Keep Windows Clients up-to-date

Typically, Windows clients are set up to automatically install updates. However, there are instances when this doesn't work, especially for clients that are always powered on. When an update requires a reboot, the installation process gets stuck indefinitely, preventing any further updates from being installed.

To address this issue, we have come up with the following solution:

1. Create a [routine](https://docs.xeox.com/automations/kk29w6Dr2iM3dbYa6gqsvV/routines/8gPBRML9Wf1np5UuhLMEXU), once a day e.g. every Wednesday early in the morning
2. The automation should have a long runtime. e.g. > 5 hours
3. Check if a reboot is required
- if not => Just force the normal Windows Update Installation
- if a reboot is required => Send a message to currently logged-in user and reboot

We have tested this approach with various customers, and the users have responded positively. While no one enjoys installing Windows updates, this Cron Job strikes a good balance between ensuring security by installing updates and minimizing disruption for users. Additionally, you can [exclude](https://docs.xeox.com/automations/kk29w6Dr2iM3dbYa6gqsvV/tags--excluded-hardware/3AyizrB2DZXjToLNWWTXZn) certain hardware for special users. To create this automation, go to **Automations - Active** and click on the **Create** button in the top grey menu. Use p**atch and reboot** if required from the toolbox under **predefined programs** for this specific example. Switch the tab on top of the editor to create a [routine](https://docs.xeox.com/automations/kk29w6Dr2iM3dbYa6gqsvV/routines/8gPBRML9Wf1np5UuhLMEXU).

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