# ANSIBLE Windows 503

**URL:** <https://forum.ansible.com/t/ansible-windows-503/17607>\
**Category:** Ansible Project\
**Tags:** windows\
**Created:** [February 24, 2015, 8:08am UTC](https://forum.ansible.com/t/ansible-windows-503/17607 "2015-02-24T08:08:17Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![yosser\_bf](https://avatars.discourse-cdn.com/v4/letter/y/8491ac/32.png) [@yosser\_bf](https://forum.ansible.com/u/yosser_bf)\
**Post date:** [February 24, 2015, 8:08am UTC](https://forum.ansible.com/t/ansible-windows-503/17607/1 "2015-02-24T08:08:17Z")

</div>

Hi,

I’m facing an issue trying to launch a simple command “win\_ping” to a windows node.  
I follow the documentation from the Ansible website.

Windows machine:

- Windows Server 2012 Standard
- PowerShell 3.0

The errror I got:

# ansible windows -m win\_ping -vvvv

ESTABLISH WINRM CONNECTION FOR USER: devci on PORT 5986 TO fgr-wgcitmp201  
 WINRM CONNECT: transport=plaintext endpoint=[https://fgr-wgcitmp201:5986/wsman](https://fgr-wgcitmp201:5986/wsman)  
 WINRM CONNECTION ERROR: 500 WinRMTransport. [Errno 8] \_ssl.c:492: EOF occurred in violation of protocol  
 WINRM CONNECT: transport=plaintext endpoint=[http://fgr-wgcitmp201:5986/wsman](http://fgr-wgcitmp201:5986/wsman)  
 WINRM CONNECTION ERROR: 500 WinRMTransport. Bad HTTP response returned from server. Code 503, Service Unavailable  
fgr-wgcitmp201 | FAILED =\> 500 WinRMTransport. Bad HTTP response returned from server. Code 503, Service Unavailable

Any idea ?

---

<div class="post-metadata">

**Author:** ![yosser\_bf](https://avatars.discourse-cdn.com/v4/letter/y/8491ac/32.png) [@yosser\_bf](https://forum.ansible.com/u/yosser_bf)\
**Post date:** [February 24, 2015, 4:03pm UTC](https://forum.ansible.com/t/ansible-windows-503/17607/2 "2015-02-24T16:03:35Z")

</div>

The issue is related to the user in the windows.yml file. The user is on the Domain, it’s not yet implemented by Ansible so we have to use a windows user with a domain set on the machine.

If you need domain account. See : [http://docs.ansible.com/intro\_windows.html#installing-on-the-control-machine](http://docs.ansible.com/intro_windows.html#installing-on-the-control-machine)

---

<div class="post-metadata">

**Author:** ![yosser\_bf](https://avatars.discourse-cdn.com/v4/letter/y/8491ac/32.png) [@yosser\_bf](https://forum.ansible.com/u/yosser_bf)\
**Post date:** [February 24, 2015, 6:15pm UTC](https://forum.ansible.com/t/ansible-windows-503/17607/3 "2015-02-24T18:15:44Z")

</div>

CORRECTION:  
It's implemented by ansible.  
If you want to use domain account you have to use kerberos.

See ansible website.
