# Error in NTLM for ansible to windows connection

**URL:** <https://forum.ansible.com/t/error-in-ntlm-for-ansible-to-windows-connection/22108>\
**Category:** Ansible Project\
**Tags:** windows\
**Created:** [July 25, 2016, 7:20am UTC](https://forum.ansible.com/t/error-in-ntlm-for-ansible-to-windows-connection/22108 "2016-07-25T07:20:29Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![Rakshatha\_Shetty](https://avatars.discourse-cdn.com/v4/letter/r/e99b99/32.png) [@Rakshatha\_Shetty](https://forum.ansible.com/u/Rakshatha_Shetty)\
**Post date:** [July 25, 2016, 7:20am UTC](https://forum.ansible.com/t/error-in-ntlm-for-ansible-to-windows-connection/22108/1 "2016-07-25T07:20:29Z")

</div>

Hi,

I’m using Ansible 2.1 and trying to do **NTLM connection** to windows server, **ansible\_transport** variable is set to NTLM, pywinrm 0.2.0 is installed, but connection is not being established. Is there any other configuration need to be done? Please help.

Thanks,  
Rakshatha

---

<div class="post-metadata">

**Author:** ![j.r.hawkesworth](https://avatars.discourse-cdn.com/v4/letter/j/a3d4f5/32.png) [@j.r.hawkesworth](https://forum.ansible.com/u/j.r.hawkesworth)\
**Post date:** [July 26, 2016, 5:46am UTC](https://forum.ansible.com/t/error-in-ntlm-for-ansible-to-windows-connection/22108/2 "2016-07-26T05:46:15Z")

</div>

Have you followed the other setup steps described here? [http://docs.ansible.com/ansible/intro\_windows.html#windows-system-prep](http://docs.ansible.com/ansible/intro_windows.html#windows-system-prep)

Jon
