# WinRM settings being erased after Windows update from 10 to 11

**URL:** <https://forum.ansible.com/t/winrm-settings-being-erased-after-windows-update-from-10-to-11/38298>\
**Category:** Ansible Project\
**Tags:** windows\
**Created:** [August 4, 2023, 5:01am UTC](https://forum.ansible.com/t/winrm-settings-being-erased-after-windows-update-from-10-to-11/38298 "2023-08-04T05:01:21Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![Abhisek\_Dash](https://avatars.discourse-cdn.com/v4/letter/a/bbce88/32.png) [@Abhisek\_Dash](https://forum.ansible.com/u/Abhisek_Dash)\
**Post date:** [August 4, 2023, 5:01am UTC](https://forum.ansible.com/t/winrm-settings-being-erased-after-windows-update-from-10-to-11/38298/1 "2023-08-04T05:01:21Z")

</div>

Hello all,

We have been using ansible for managing Windows endpoints in our network for a year now. Yesterday I noticed 2 Windows endpoints which updated from Windows 10 to 11 had their WinRM settings removed.

The WinRM listener information was gone and so ansible was unable to connect.  
Has any one else faced this issue and if yes, is there any solution ?

The endpoints are all licensed Windows pro editions.

Thanks

---

<div class="post-metadata">

**Author:** ![Pierre\_TOURON](https://avatars.discourse-cdn.com/v4/letter/p/b5a626/32.png) [@Pierre\_TOURON](https://forum.ansible.com/u/Pierre_TOURON)\
**Post date:** [August 7, 2023, 6:16pm UTC](https://forum.ansible.com/t/winrm-settings-being-erased-after-windows-update-from-10-to-11/38298/2 "2023-08-07T18:16:42Z")

</div>

Hi,

Don’t know as I don’t manage Windows node, but you could probably manage winrm configuration from ansible using [ansible-pull](https://docs.ansible.com/ansible/latest/cli/ansible-pull.html) on managed servers/workstations.

Using GPO / DSC might be another viable way to enforce those configurations. Or a simple PS script running from a local scheduled task.
