# win\_update to upgrade windows 10 version

**URL:** <https://forum.ansible.com/t/win-update-to-upgrade-windows-10-version/32245>\
**Category:** Ansible Project\
**Tags:** windows\
**Created:** [February 16, 2020, 11:12pm UTC](https://forum.ansible.com/t/win-update-to-upgrade-windows-10-version/32245 "2020-02-16T23:12:16Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![Ben\_Lagunilla](https://avatars.discourse-cdn.com/v4/letter/b/3ab097/32.png) [@Ben\_Lagunilla](https://forum.ansible.com/u/Ben_Lagunilla)\
**Post date:** [February 16, 2020, 11:12pm UTC](https://forum.ansible.com/t/win-update-to-upgrade-windows-10-version/32245/1 "2020-02-16T23:12:16Z")

</div>

Hi,

I am using win\_update to install updates using local WSUS server. However, I can’t seem to use win\_update to upgrade windows 10 versions. ‘Upgrades’ category is unknown.

Appreciate any help on this. Thanks.

– ben

---

<div class="post-metadata">

**Author:** ![jborean](https://sea1.discourse-cdn.com/ansible/user_avatar/forum.ansible.com/jborean/32/1525_2.png) [@jborean](https://forum.ansible.com/u/jborean)\
**Post date:** [February 17, 2020, 2:16am UTC](https://forum.ansible.com/t/win-update-to-upgrade-windows-10-version/32245/2 "2020-02-17T02:16:22Z")

</div>

I believe since Ansible 2.8 the ‘category\_names’ option is a free form field and you can specify whatever you want. Since that change it should also be reporting all the updates that were filtered (not selected) and the category names that apply for that update which you can then use.

---

<div class="post-metadata">

**Author:** ![Ben\_Lagunilla](https://avatars.discourse-cdn.com/v4/letter/b/3ab097/32.png) [@Ben\_Lagunilla](https://forum.ansible.com/u/Ben_Lagunilla)\
**Post date:** [February 18, 2020, 1:21am UTC](https://forum.ansible.com/t/win-update-to-upgrade-windows-10-version/32245/3 "2020-02-18T01:21:42Z")

</div>

I upgraded Ansible and can now list ‘upgrades’ entries.

Thanks!

---

<div class="post-metadata">

**Author:** ![Alan\_Woods](https://avatars.discourse-cdn.com/v4/letter/a/f19dbf/32.png) [@Alan\_Woods](https://forum.ansible.com/u/Alan_Woods)\
**Post date:** [July 7, 2020, 3:32pm UTC](https://forum.ansible.com/t/win-update-to-upgrade-windows-10-version/32245/4 "2020-07-07T15:32:39Z")

</div>

Hello. I am trying to upgrade some of my windows 10 boxes with ansible and it never seems to work. The play book runs for awhile then it is done but with no errors but does not actually upgrade the system. Could you share you working playbook to see what I am missing?

I also have my play book posted here - [https://groups.google.com/forum/#!searchin/ansible-project/windows$20upgrades|sort:date/ansible-project/GhF7VndaQWU/\_F9eVDaIBQAJ](https://groups.google.com/forum/#!searchin/ansible-project/windows$20upgrades%7Csort:date/ansible-project/GhF7VndaQWU/_F9eVDaIBQAJ)

my version of ANsible is ansible 2.9.10
