# win\_user fails to change password, but password changes!

**URL:** <https://forum.ansible.com/t/win-user-fails-to-change-password-but-password-changes/22449>\
**Category:** Ansible Project\
**Tags:** windows\
**Created:** [September 1, 2016, 12:36pm UTC](https://forum.ansible.com/t/win-user-fails-to-change-password-but-password-changes/22449 "2016-09-01T12:36:39Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![user21](https://avatars.discourse-cdn.com/v4/letter/u/6bbea6/32.png) [@user21](https://forum.ansible.com/u/user21)\
**Post date:** [September 1, 2016, 12:36pm UTC](https://forum.ansible.com/t/win-user-fails-to-change-password-but-password-changes/22449/1 "2016-09-01T12:36:39Z")

</div>

The whole test playbook is here;

- hosts: windows  
gather\_facts: false  
tasks:
- name: Change Administrator password  
win\_user: name=Administrator password=Quaiqu6I password\_never\_expires=yes

Running with ansible 2.1.1.0, and Windows 2012 R2 as client.  
[http://pastebin.com/2Wg9qYMt](http://pastebin.com/2Wg9qYMt)

but, if I change the access password - the playbook works well,  
so, the password was changed.

Why it throws an error here?
