# ansible winrm 401 unauthorized

**URL:** <https://forum.ansible.com/t/ansible-winrm-401-unauthorized/21427>\
**Category:** Ansible Project\
**Tags:** windows\
**Created:** [May 13, 2016, 12:25am UTC](https://forum.ansible.com/t/ansible-winrm-401-unauthorized/21427 "2016-05-13T00:25:27Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![Krishna\_Chaitanya](https://avatars.discourse-cdn.com/v4/letter/k/b5a626/32.png) [@Krishna\_Chaitanya](https://forum.ansible.com/u/Krishna_Chaitanya)\
**Post date:** [May 13, 2016, 12:25am UTC](https://forum.ansible.com/t/ansible-winrm-401-unauthorized/21427/1 "2016-05-13T00:25:27Z")

</div>

I able to establish the connection to the target windows machine, but the winrm http is not accepting my credentials( i have quoted username and passwd in the windows.yml file).  
Need help in this.
