# Ansible-Winrm Authentation method

**URL:** <https://forum.ansible.com/t/ansible-winrm-authentation-method/38001>\
**Category:** Ansible Project\
**Tags:** windows\
**Created:** [May 17, 2023, 6:34am UTC](https://forum.ansible.com/t/ansible-winrm-authentation-method/38001 "2023-05-17T06:34:56Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![malek\_sakir](https://avatars.discourse-cdn.com/v4/letter/m/a4c791/32.png) [@malek\_sakir](https://forum.ansible.com/u/malek_sakir)\
**Post date:** [May 17, 2023, 6:34am UTC](https://forum.ansible.com/t/ansible-winrm-authentation-method/38001/1 "2023-05-17T06:34:56Z")

</div>

Hello All,  
Greeting of the day,

I am recently joining one company as junior DevOps engineer and  
my company director give me task of ansible server and multiple windows host  
connectivity lab.  
Can anyone give me any documents or source regarding ansilbe-winrm Authentication methods.

Please help me.

Thanks and regards.

---

<div class="post-metadata">

**Author:** ![Kosala\_Atapattu1](https://avatars.discourse-cdn.com/v4/letter/k/7feea3/32.png) [@Kosala\_Atapattu1](https://forum.ansible.com/u/Kosala_Atapattu1)\
**Post date:** [May 17, 2023, 7:07am UTC](https://forum.ansible.com/t/ansible-winrm-authentation-method/38001/2 "2023-05-17T07:07:08Z")

</div>

Did you try the Ansible documentation?

---

<div class="post-metadata">

**Author:** ![malek\_sakir](https://avatars.discourse-cdn.com/v4/letter/m/a4c791/32.png) [@malek\_sakir](https://forum.ansible.com/u/malek_sakir)\
**Post date:** [May 17, 2023, 7:16am UTC](https://forum.ansible.com/t/ansible-winrm-authentation-method/38001/3 "2023-05-17T07:16:17Z")

</div>

Yes

---

<div class="post-metadata">

**Author:** ![Walter\_Rowe](https://sea1.discourse-cdn.com/ansible/user_avatar/forum.ansible.com/walter_rowe/32/4506_2.png) [@Walter\_Rowe](https://forum.ansible.com/u/Walter_Rowe)\
**Post date:** [May 17, 2023, 10:57am UTC](https://forum.ansible.com/t/ansible-winrm-authentation-method/38001/4 "2023-05-17T10:57:50Z")

</div>

If you are unfamiliar with Windows authentication you may want to speak with a Windows admin at your work. WinRM requires a number of “connection settings” that differ from the easier SSH we use on Linux. You have to determine whether you will use NTLM or Kerberos, what port to use for the connection, etc. The Windows host also has to be configured to accept WinRM.

[https://docs.ansible.com/ansible/latest/os\_guide/windows\_setup.html](https://docs.ansible.com/ansible/latest/os_guide/windows_setup.html)

Walter
