# Use ansible to manage windows hosts that have been added to the domain

**URL:** <https://forum.ansible.com/t/use-ansible-to-manage-windows-hosts-that-have-been-added-to-the-domain/27806>\
**Category:** Ansible Project\
**Tags:** windows, ansible-project\
**Created:** [June 15, 2018, 7:28pm UTC](https://forum.ansible.com/t/use-ansible-to-manage-windows-hosts-that-have-been-added-to-the-domain/27806 "2018-06-15T19:28:12Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![Kanhaiya\_Ashtekar](https://avatars.discourse-cdn.com/v4/letter/k/e274bd/32.png) [@Kanhaiya\_Ashtekar](https://forum.ansible.com/u/Kanhaiya_Ashtekar)\
**Post date:** [June 15, 2018, 7:28pm UTC](https://forum.ansible.com/t/use-ansible-to-manage-windows-hosts-that-have-been-added-to-the-domain/27806/1 "2018-06-15T19:28:12Z")

</div>

> ​Please add your hosts and vars file so take a look.

​I have had same issues and solved it by

1. Proper config of WinRM

2. In Ansible Hosts file passing correct paramters like ansible\_host/ansible\_user/ansible\_connection/etc.​
