# Cannot Set password with Active Directory Create User

**URL:** https://www.finalbuilder.com/forums/t/cannot-set-password-with-active-directory-create-user/4683
**Category:** Bugs
**Created:** [February 29, 2012, 3:44am UTC](https://www.finalbuilder.com/forums/t/cannot-set-password-with-active-directory-create-user/4683 "2012-02-29T03:44:34Z")
**Posts on this page:** 5
**Page:** 1

<div class="post-metadata">

### Author: ![llanphear](https://www.finalbuilder.com/forums/letter_avatar_proxy/v4/letter/l/df788c/32.png) [@llanphear](https://www.finalbuilder.com/forums/u/llanphear)
#### Post date: [February 29, 2012, 3:44am UTC](https://www.finalbuilder.com/forums/t/cannot-set-password-with-active-directory-create-user/4683/1 "2012-02-29T03:44:34Z")

</div>

I can create a user without any issues unless I try to set a password in the Create User action. If I set the password fields I get an error   
 Failed to set properties of new user: Permission denied   
 (No user account was created)   
  
 I am using Automize 4.0.0.174   
 The script is running on a Windows 2008/R2 server.   
  
 Any help would be appreciated.

---

<div class="post-metadata">

### Author: ![Vincent](https://www.finalbuilder.com/forums/user_avatar/www.finalbuilder.com/vincent/32/938_2.png) [@Vincent](https://www.finalbuilder.com/forums/u/Vincent)
#### Post date: [March 7, 2012, 11:52am UTC](https://www.finalbuilder.com/forums/t/cannot-set-password-with-active-directory-create-user/4683/2 "2012-03-07T11:52:35Z")

</div>

I tested this here and it worked as expected. My guess is you either do not have permission to set the password, or the password didn’t meet the password policy requirements and the error message (which comes from activedirectory) is not very descriptive.

---

<div class="post-metadata">

### Author: ![llanphear](https://www.finalbuilder.com/forums/letter_avatar_proxy/v4/letter/l/df788c/32.png) [@llanphear](https://www.finalbuilder.com/forums/u/llanphear)
#### Post date: [March 26, 2012, 12:25pm UTC](https://www.finalbuilder.com/forums/t/cannot-set-password-with-active-directory-create-user/4683/3 "2012-03-26T12:25:42Z")

</div>

I can use the Server Manager to create the user with a particular password with no problems.&nbsp; If I try to create a user through Automise I cannot create it if I have any password at all in the password and confirm password fields.&nbsp; If they are blank it creates the user with no problems.&nbsp; I cannot user Server manager to create a user with a blank password as that is not allowed by the server password rules.

---

<div class="post-metadata">

### Author: ![Vincent](https://www.finalbuilder.com/forums/user_avatar/www.finalbuilder.com/vincent/32/938_2.png) [@Vincent](https://www.finalbuilder.com/forums/u/Vincent)
#### Post date: [March 26, 2012, 8:39am UTC](https://www.finalbuilder.com/forums/t/cannot-set-password-with-active-directory-create-user/4683/4 "2012-03-26T08:39:00Z")

</div>

I suspect perhaps UAC is in play here. Try running Automise as Administrator (right click on it and select Run as Administrator).

---

<div class="post-metadata">

### Author: ![llanphear](https://www.finalbuilder.com/forums/letter_avatar_proxy/v4/letter/l/df788c/32.png) [@llanphear](https://www.finalbuilder.com/forums/u/llanphear)
#### Post date: [April 1, 2012, 7:29am UTC](https://www.finalbuilder.com/forums/t/cannot-set-password-with-active-directory-create-user/4683/5 "2012-04-01T07:29:08Z")

</div>

Running as administrator appears to have fixed the issue.   
  
 Since I was running the action using the Administrator user name on the Credentials tab I did not expect that UAC would be an issue especially since I was able to create the account without a password.   
  
 Windows can be fun sometimes Thank you for your help.
