# win\_domain\_user:

**URL:** <https://forum.ansible.com/t/win-domain-user/27651>\
**Category:** Ansible Project\
**Created:** [May 28, 2018, 9:12am UTC](https://forum.ansible.com/t/win-domain-user/27651 "2018-05-28T09:12:45Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![Ali\_Khawaja](https://avatars.discourse-cdn.com/v4/letter/a/c0e974/32.png) [@Ali\_Khawaja](https://forum.ansible.com/u/Ali_Khawaja)\
**Post date:** [May 28, 2018, 9:12am UTC](https://forum.ansible.com/t/win-domain-user/27651/1 "2018-05-28T09:12:45Z")

</div>

i have a single server in my inventory and its a domain controller as well (server is created and promoted in the same script). when i try to create domain users using win\_domain\_user, it gives me the following error message. this was working fine before upgrade to 2.5.3, but after ansible upgrade i started getting this error message:

failed: [i-095739ec9d062217c] (item=domain\_accounts) =\> {“changed”: false, “item”: “domain\_accounts”, “msg”: “Server instance not found on the given port.”, “password\_updated”: false}

Here’s the part of my ansible script on pastebin: [https://pastebin.com/f2kPhjh7](https://pastebin.com/f2kPhjh7)
