# Automated Windows Server Patching with MECM & Ansible Automation Platform

**URL:** <https://forum.ansible.com/t/automated-windows-server-patching-with-mecm-ansible-automation-platform/45263>\
**Category:** Get Help\
**Tags:** windows, aap, galaxy-ng, howto\
**Created:** [February 4, 2026, 5:41pm UTC](https://forum.ansible.com/t/automated-windows-server-patching-with-mecm-ansible-automation-platform/45263 "2026-02-04T17:41:50Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![IPvSean](https://sea1.discourse-cdn.com/ansible/user_avatar/forum.ansible.com/ipvsean/32/1153_2.png) [@IPvSean](https://forum.ansible.com/u/IPvSean)\
**Post date:** [February 4, 2026, 5:41pm UTC](https://forum.ansible.com/t/automated-windows-server-patching-with-mecm-ansible-automation-platform/45263/1 "2026-02-04T17:41:50Z")

</div>

There is a new content collection for Windows MECM. This can be found on Automation hub: [Hybrid Cloud Console](https://console.redhat.com/ansible/automation-hub/repo/published/microsoft/mecm/)

Aubrey Trotter put together this great walkthrough demo on YouTube here:

[![](https://us1.discourse-cdn.com/ansible/original/2X/b/b5386616fbc743b3a78dc468b89b8d1bc14622b3.jpeg "Automated Windows Server Patching with MECM & Ansible Automation Platform (End-to-End Demo)") ](https://www.youtube.com/watch?v=6cY0-InPOzY)

### Installing the Collection from Ansible Galaxy

Before using this collection, you need to install it with the Ansible Galaxy command-line tool:

```auto
ansible-galaxy collection install microsoft.mecm

```

You can also include it in a `requirements.yml` file and install it with `ansible-galaxy collection install -r requirements.yml`, using the format:

```auto
--- 
collections: 
  - name: microsoft.mecm

```

Note that if you install the collection from Ansible Galaxy, it will not be upgraded automatically when you upgrade the `ansible` package. To upgrade the collection to the latest available version, run the following command:

```auto
ansible-galaxy collection install microsoft.mecm --upgrade

```
