WinRM settings being erased after Windows update from 10 to 11

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

Hi,

Don’t know as I don’t manage Windows node, but you could probably manage winrm configuration from ansible using ansible-pull 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.