# ansible and windows laptops on corporate and wan networks

**URL:** <https://forum.ansible.com/t/ansible-and-windows-laptops-on-corporate-and-wan-networks/31232>\
**Category:** Ansible Project\
**Tags:** windows\
**Created:** [September 9, 2019, 11:04am UTC](https://forum.ansible.com/t/ansible-and-windows-laptops-on-corporate-and-wan-networks/31232 "2019-09-09T11:04:51Z")\
**Posts on this page:** 7\
**Page:** 1

<div class="post-metadata">

**Author:** ![daemenseth](https://sea1.discourse-cdn.com/ansible/user_avatar/forum.ansible.com/daemenseth/32/677_2.png) [@daemenseth](https://forum.ansible.com/u/daemenseth)\
**Post date:** [September 9, 2019, 11:04am UTC](https://forum.ansible.com/t/ansible-and-windows-laptops-on-corporate-and-wan-networks/31232/1 "2019-09-09T11:04:51Z")

</div>

We use Ansible to manage a lot of windows servers, which works well.

Now we have also some laptops we want to manage. when theay are on the corporate network this works fine.  
But how can we make connection when they are on a public network, beacause ansible does not have an agent.

---

<div class="post-metadata">

**Author:** ![Cade\_Lambert](https://avatars.discourse-cdn.com/v4/letter/c/278dde/32.png) [@Cade\_Lambert](https://forum.ansible.com/u/Cade_Lambert)\
**Post date:** [September 9, 2019, 1:12pm UTC](https://forum.ansible.com/t/ansible-and-windows-laptops-on-corporate-and-wan-networks/31232/2 "2019-09-09T13:12:19Z")

</div>

I would think the only solution would be for them to access a corporate VPN when they are on anything outside the internal corporate network.

---

<div class="post-metadata">

**Author:** ![Kai\_Stian\_Olstad](https://avatars.discourse-cdn.com/v4/letter/k/e19adc/32.png) [@Kai\_Stian\_Olstad](https://forum.ansible.com/u/Kai_Stian_Olstad)\
**Post date:** [September 9, 2019, 1:38pm UTC](https://forum.ansible.com/t/ansible-and-windows-laptops-on-corporate-and-wan-networks/31232/3 "2019-09-09T13:38:35Z")

</div>

You can use ansible-pull from a cron job.

---

<div class="post-metadata">

**Author:** ![Jonathan\_Lozada\_De\_L](https://avatars.discourse-cdn.com/v4/letter/j/eb8c5e/32.png) [@Jonathan\_Lozada\_De\_L](https://forum.ansible.com/u/Jonathan_Lozada_De_L)\
**Post date:** [September 9, 2019, 1:41pm UTC](https://forum.ansible.com/t/ansible-and-windows-laptops-on-corporate-and-wan-networks/31232/4 "2019-09-09T13:41:08Z")

</div>

You can also use AWX and use the callback provision or have a crob that sends an API call in a specific time to do X.

---

<div class="post-metadata">

**Author:** ![daemenseth](https://sea1.discourse-cdn.com/ansible/user_avatar/forum.ansible.com/daemenseth/32/677_2.png) [@daemenseth](https://forum.ansible.com/u/daemenseth)\
**Post date:** [September 9, 2019, 8:08pm UTC](https://forum.ansible.com/t/ansible-and-windows-laptops-on-corporate-and-wan-networks/31232/5 "2019-09-09T20:08:46Z")

</div>

Windows does not have cron.  
Is Ansible pull available for Windows?

---

<div class="post-metadata">

**Author:** ![daemenseth](https://sea1.discourse-cdn.com/ansible/user_avatar/forum.ansible.com/daemenseth/32/677_2.png) [@daemenseth](https://forum.ansible.com/u/daemenseth)\
**Post date:** [September 9, 2019, 8:11pm UTC](https://forum.ansible.com/t/ansible-and-windows-laptops-on-corporate-and-wan-networks/31232/6 "2019-09-09T20:11:56Z")

</div>

I dont understand your answer. Can you explain some more

---

<div class="post-metadata">

**Author:** ![Kai\_Stian\_Olstad](https://avatars.discourse-cdn.com/v4/letter/k/e19adc/32.png) [@Kai\_Stian\_Olstad](https://forum.ansible.com/u/Kai_Stian_Olstad)\
**Post date:** [September 9, 2019, 9:35pm UTC](https://forum.ansible.com/t/ansible-and-windows-laptops-on-corporate-and-wan-networks/31232/7 "2019-09-09T21:35:06Z")

</div>

> Windows does not have cron.

The equivalent to cron is task scheduler.

> Is Ansible pull available for Windows?

Yeh, I missed the whole Windows part, ansible-pull doesn't work in Windows.
