# module win\_user

**URL:** <https://forum.ansible.com/t/module-win-user/19206>\
**Category:** Ansible Project\
**Tags:** windows, ubuntu\
**Created:** [September 8, 2015, 1:33pm UTC](https://forum.ansible.com/t/module-win-user/19206 "2015-09-08T13:33:34Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![e.barausov](https://avatars.discourse-cdn.com/v4/letter/e/b38774/32.png) [@e.barausov](https://forum.ansible.com/u/e.barausov)\
**Post date:** [September 8, 2015, 1:33pm UTC](https://forum.ansible.com/t/module-win-user/19206/1 "2015-09-08T13:33:34Z")

</div>

Hi.  
We have a vm ubuntu 14.04 LTS with ansible 1.9.3 and python 2.7.  
I want to create users on a machine with windows.  
Using module winrm on windows and win\_user module for creating profile. (Testing in o.s.: windows 7, windows 8/8.1)

My playbook:

---

<div class="post-metadata">

**Author:** ![Trond\_Hindenes](https://avatars.discourse-cdn.com/v4/letter/t/96bed5/32.png) [@Trond\_Hindenes](https://forum.ansible.com/u/Trond_Hindenes)\
**Post date:** [September 8, 2015, 2:13pm UTC](https://forum.ansible.com/t/module-win-user/19206/2 "2015-09-08T14:13:59Z")

</div>

I don’t understand the question. Can you log on with the created user by typing in the username?

---

<div class="post-metadata">

**Author:** ![sivel](https://sea1.discourse-cdn.com/ansible/user_avatar/forum.ansible.com/sivel/32/1198_2.png) [@sivel](https://forum.ansible.com/u/sivel)\
**Post date:** [September 8, 2015, 2:26pm UTC](https://forum.ansible.com/t/module-win-user/19206/3 "2015-09-08T14:26:37Z")

</div>

IIRC, this has something to do with not being placed in any groups by default, specifically the one needed to show up on the login screen. I don’t remember what it is, but logins should still be allowed.

---

<div class="post-metadata">

**Author:** ![Chris\_Church1](https://avatars.discourse-cdn.com/v4/letter/c/ac8455/32.png) [@Chris\_Church1](https://forum.ansible.com/u/Chris_Church1)\
**Post date:** [September 9, 2015, 7:28pm UTC](https://forum.ansible.com/t/module-win-user/19206/4 "2015-09-09T19:28:04Z")

</div>

I can't seem to reproduce with either 1.9.3 or devel against a Windows 2008  
Server instance. Adding a user to the Users or Administrators group is  
enough for it to show up in my case.
