# How to configure windows server with ansible using yml

**URL:** <https://forum.ansible.com/t/how-to-configure-windows-server-with-ansible-using-yml/29718>\
**Category:** Ansible Developer\
**Tags:** windows\
**Created:** [February 20, 2019, 4:55am UTC](https://forum.ansible.com/t/how-to-configure-windows-server-with-ansible-using-yml/29718 "2019-02-20T04:55:03Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![rajendar\_t](https://avatars.discourse-cdn.com/v4/letter/r/76d3ee/32.png) [@rajendar\_t](https://forum.ansible.com/u/rajendar_t)\
**Post date:** [February 20, 2019, 4:55am UTC](https://forum.ansible.com/t/how-to-configure-windows-server-with-ansible-using-yml/29718/1 "2019-02-20T04:55:03Z")

</div>

Hi All,

1)How to turn off IE enhanced security using ansible  
2) is there any I can configure user account in Windows server by using yml

Thanks  
Rajedar

---

<div class="post-metadata">

**Author:** ![Tchia04](https://avatars.discourse-cdn.com/v4/letter/t/fbc32d/32.png) [@Tchia04](https://forum.ansible.com/u/Tchia04)\
**Post date:** [February 20, 2019, 5:56pm UTC](https://forum.ansible.com/t/how-to-configure-windows-server-with-ansible-using-yml/29718/2 "2019-02-20T17:56:49Z")

</div>

1  
I would store the script located below into a files folder then copy it to the target host using win\_cooy. Then in a separate task invoke the script using win\_shell module  
[https://stackoverflow.com/questions/9368305/disable-ie-security-on-windows-server-via-powershell](https://stackoverflow.com/questions/9368305/disable-ie-security-on-windows-server-via-powershell)

2. To manage the user in a windows environment you can use either the win\_users module or the win\_domains\_ users module  
The list of all windows modules is listed in the link below  
[https://docs.ansible.com/ansible/latest/modules/list\_of\_windows\_modules.html](https://docs.ansible.com/ansible/latest/modules/list_of_windows_modules.html)
