---
title: "Keep Windows Server up-to-date"
description: "To keep your servers up-to-date, following Cron Job\n would be sufficient."
category: "Use Cases"
subcategory: "Use Cases"
last_updated: "2023-03-31"
source_url: "https://docs.xeox.com/use-cases/byXCM3a3FcqLQn9xrpZbui/keep-windows-server-up-to-date/823RvnGdgPZerb1U1iYa2F"
---

# Keep Windows Server up-to-date

To keep your servers up-to-date, creating a [routine](https://docs.xeox.com/automations/kk29w6Dr2iM3dbYa6gqsvV/routines/8gPBRML9Wf1np5UuhLMEXU) would be sufficient. In order to create the automation, go to **Automations - Active** and click on the **Create** button in the grey top menu. For this specific use case, you need **Patch and Reboot from the** **toolbox**. It’s under **Predefined Programs**. The only thing left to do is set the devices the automation should run on and optionally, if neccessary, switch the tab on top to runtime to determine when and how often the automation should run.

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

You can schedule it every weekend, starting Friday night. For more detailed instructions on how to do that, read in [routines.](https://docs.xeox.com/automations/kk29w6Dr2iM3dbYa6gqsvV/routines/8gPBRML9Wf1np5UuhLMEXU)

Since some servers are not allowed to reboot, add a custom tag *#NoCronJob* (or a more meaningful name for you) to them and exclude those from the devices the automation can run on.
