# Ansible Windows 404 error

**URL:** <https://forum.ansible.com/t/ansible-windows-404-error/15532>\
**Category:** Ansible Project\
**Tags:** windows\
**Created:** [June 24, 2014, 11:08am UTC](https://forum.ansible.com/t/ansible-windows-404-error/15532 "2014-06-24T11:08:49Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![Ollie\_Lawson](https://avatars.discourse-cdn.com/v4/letter/o/b5ac83/32.png) [@Ollie\_Lawson](https://forum.ansible.com/u/Ollie_Lawson)\
**Post date:** [June 24, 2014, 11:08am UTC](https://forum.ansible.com/t/ansible-windows-404-error/15532/1 "2014-06-24T11:08:49Z")

</div>

Hi,

I’m trying to do a proof of concept install of the new windows functionality of anisble.

I have tried Windows Server 2012 and 2008 r2 but I get the following errors back:

WIN-3Q6QUQU2T6P.cs29cloud.internal | FAILED =\> Traceback (most recent call last):  
File “/usr/lib/python2.6/site-packages/ansible-1.7-py2.6.egg/ansible/runner/ **init**.py”, line 526, in \_executor  
exec\_rc = self.\_executor\_internal(host, new\_stdin)  
File “/usr/lib/python2.6/site-packages/ansible-1.7-py2.6.egg/ansible/runner/ **init**.py”, line 628, in \_executor\_internal  
return self.\_executor\_internal\_inner(host, self.module\_name, self.module\_args, inject, port, complex\_args=complex\_args)  
File “/usr/lib/python2.6/site-packages/ansible-1.7-py2.6.egg/ansible/runner/ **init**.py”, line 799, in \_executor\_internal\_inner  
conn = self.connector.connect(actual\_host, actual\_port, actual\_user, actual\_pass, actual\_transport, actual\_private\_key\_file)  
File “/usr/lib/python2.6/site-packages/ansible-1.7-py2.6.egg/ansible/runner/connection.py”, line 34, in connect  
self.active = conn.connect()  
File “/usr/lib/python2.6/site-packages/ansible-1.7-py2.6.egg/ansible/runner/connection\_plugins/winrm.py”, line 130, in connect  
self.protocol = self.\_winrm\_connect()  
File “/usr/lib/python2.6/site-packages/ansible-1.7-py2.6.egg/ansible/runner/connection\_plugins/winrm.py”, line 102, in \_winrm\_connect  
raise exc  
WinRMTransportError: Bad HTTP response returned from server. Code 404, Not Found

Any assistance gratefully received.

Ollie

---

<div class="post-metadata">

**Author:** ![Michael\_DeHaan1](https://avatars.discourse-cdn.com/v4/letter/m/5e9695/32.png) [@Michael\_DeHaan1](https://forum.ansible.com/u/Michael_DeHaan1)\
**Post date:** [June 24, 2014, 7:39pm UTC](https://forum.ansible.com/t/ansible-windows-404-error/15532/2 "2014-06-24T19:39:28Z")

</div>

What steps did you take to set up powershell remoting on the remote system?

---

<div class="post-metadata">

**Author:** ![Paul\_Durivage](https://avatars.discourse-cdn.com/v4/letter/p/94ad74/32.png) [@Paul\_Durivage](https://forum.ansible.com/u/Paul_Durivage)\
**Post date:** [June 24, 2014, 9:49pm UTC](https://forum.ansible.com/t/ansible-windows-404-error/15532/3 "2014-06-24T21:49:20Z")

</div>

Hi Ollie,

Have you seen the Windows guide? Be sure to set the Windows machines to allow powershell remoting and make sure to open up the firewall. See the below link for the guide.

[http://docs.ansible.com/intro\_windows.html#windows-system-prep](http://docs.ansible.com/intro_windows.html#windows-system-prep)
