# winrm send\_input failed

**URL:** <https://forum.ansible.com/t/winrm-send-input-failed/27330>\
**Category:** Ansible Project\
**Tags:** windows\
**Created:** [April 19, 2018, 2:35pm UTC](https://forum.ansible.com/t/winrm-send-input-failed/27330 "2018-04-19T14:35:59Z")\
**Posts on this page:** 6\
**Page:** 1

<div class="post-metadata">

**Author:** ![Tomas\_Hradecky](https://avatars.discourse-cdn.com/v4/letter/t/dc4da7/32.png) [@Tomas\_Hradecky](https://forum.ansible.com/u/Tomas_Hradecky)\
**Post date:** [April 19, 2018, 2:35pm UTC](https://forum.ansible.com/t/winrm-send-input-failed/27330/1 "2018-04-19T14:35:59Z")

</div>

Hello guys,

I work on Ansible playbook for automatic deployment of LogicMonitor Collector on Windows machine but unfortunately i’m stucked by WinRMOperation TimeoutError. I’ve configured Windows machine like is said in documentation by script and any other templates which i tried works well, but here I do not know what next should I try. When I’ve tried it on Linux machine everything works well but I have to deploy on Windows machine cause of another application which I need there. Playbook, Trace and Group\_vars are down bellow. I appreciate every help.

**PLAYBOOK:**

---

<div class="post-metadata">

**Author:** ![jborean](https://sea1.discourse-cdn.com/ansible/user_avatar/forum.ansible.com/jborean/32/1525_2.png) [@jborean](https://forum.ansible.com/u/jborean)\
**Post date:** [April 19, 2018, 8:07pm UTC](https://forum.ansible.com/t/winrm-send-input-failed/27330/2 "2018-04-19T20:07:23Z")

</div>

You can’t run Python modules on Windows, it is trying to run a basic wrapper and sending the Python module as input through stdin but that fails as the wrapper is not expecting that.

Thanks

Jordan

---

<div class="post-metadata">

**Author:** ![Tomas\_Hradecky](https://avatars.discourse-cdn.com/v4/letter/t/dc4da7/32.png) [@Tomas\_Hradecky](https://forum.ansible.com/u/Tomas_Hradecky)\
**Post date:** [April 20, 2018, 7:17am UTC](https://forum.ansible.com/t/winrm-send-input-failed/27330/3 "2018-04-20T07:17:50Z")

</div>

Aha, should I able to solve it by installing Python on Windows ?

Tomas

Dne čtvrtek 19. dubna 2018 16:35:59 UTC+2 Tomas Hradecky napsal(a):

---

<div class="post-metadata">

**Author:** ![jborean](https://sea1.discourse-cdn.com/ansible/user_avatar/forum.ansible.com/jborean/32/1525_2.png) [@jborean](https://forum.ansible.com/u/jborean)\
**Post date:** [April 20, 2018, 11:39am UTC](https://forum.ansible.com/t/winrm-send-input-failed/27330/4 "2018-04-20T11:39:33Z")

</div>

Unfortunately no, even with Python installed it still won’t work right now on Windows. The WinRM/powershell plugin combo is a bit too hard coded and doesn’t support different module types apart from pure binary ones.

Thanks

Jordan

---

<div class="post-metadata">

**Author:** ![Pramod\_Thombare](https://avatars.discourse-cdn.com/v4/letter/p/58956e/32.png) [@Pramod\_Thombare](https://forum.ansible.com/u/Pramod_Thombare)\
**Post date:** [August 12, 2019, 1:58pm UTC](https://forum.ansible.com/t/winrm-send-input-failed/27330/5 "2019-08-12T13:58:40Z")

</div>



---

<div class="post-metadata">

**Author:** ![Pramod\_Thombare](https://avatars.discourse-cdn.com/v4/letter/p/58956e/32.png) [@Pramod\_Thombare](https://forum.ansible.com/u/Pramod_Thombare)\
**Post date:** [August 12, 2019, 2:00pm UTC](https://forum.ansible.com/t/winrm-send-input-failed/27330/6 "2019-08-12T14:00:10Z")

</div>

Hello TOmas ,

I am trying to connect windows through linux master ansible but it shows "winrm send\_input failed **when i try to ping widows host , will u guide me how u did these .**
