# Default timeout for windows modules ??????

**URL:** <https://forum.ansible.com/t/default-timeout-for-windows-modules/28952>\
**Category:** Ansible Project\
**Tags:** windows\
**Created:** [November 6, 2018, 10:32am UTC](https://forum.ansible.com/t/default-timeout-for-windows-modules/28952 "2018-11-06T10:32:56Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![sase\_kumar](https://avatars.discourse-cdn.com/v4/letter/s/c6cbf5/32.png) [@sase\_kumar](https://forum.ansible.com/u/sase_kumar)\
**Post date:** [November 6, 2018, 10:32am UTC](https://forum.ansible.com/t/default-timeout-for-windows-modules/28952/1 "2018-11-06T10:32:56Z")

</div>

Hi folks,

I’m trying to run a hour long powershell script which needs to be executed on remote machine using win\_shell module

My doubts here are

1. How much is the default timeout for each tasks? is there seperate timeout available for each modules?
2. I dont see any progress until the action gets finished even though I tried to give -vvvv

Any suggestion for the above question will help me alot

---

<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:** [November 6, 2018, 12:15pm UTC](https://forum.ansible.com/t/default-timeout-for-windows-modules/28952/2 "2018-11-06T12:15:44Z")

</div>

There’s no timeout for module execution by default. If you want to have a timeout value use async. The value you set to async is the maximum number of seconds the task can run for.

Ansible doesn’t support intermediate module output, you will have to wait until the module is complete before seeing the results.

Thanks

Jordan

---

<div class="post-metadata">

**Author:** ![sase\_kumar](https://avatars.discourse-cdn.com/v4/letter/s/c6cbf5/32.png) [@sase\_kumar](https://forum.ansible.com/u/sase_kumar)\
**Post date:** [November 6, 2018, 3:40pm UTC](https://forum.ansible.com/t/default-timeout-for-windows-modules/28952/3 "2018-11-06T15:40:56Z")

</div>

Thank you very much Jordan . That answered all question
