We help IT Professionals succeed at work.
Get Started

New-Mailbox to create AD accounts. Setting initial password counts as a password change?

465 Views
Last Modified: 2012-06-21
We use a powershell script to create new users. We use the new-mailbox command for exchange 2010 which creates the AD account and the associated mailbox. We set the password to changeme at this time.  The problem is we have a GPO that has the basic password restrictions such as the password cannot repeate, must be at least x days old before you can change it again etc....

It appears that when you create a user with the new-mailbox command, AD treats the setting of the initial password as a password change and will not let the user change the password because it has not reach the minimum age.

Any idea?
Comment
Watch Question
CERTIFIED EXPERT
Author of the Year 2010
Top Expert 2010
Commented:
This problem has been solved!
Unlock 1 Answer and 2 Comments.
See Answer
Why Experts Exchange?

Experts Exchange always has the answer, or at the least points me in the correct direction! It is like having another employee that is extremely experienced.

Jim Murphy
Programmer at Smart IT Solutions

When asked, what has been your best career decision?

Deciding to stick with EE.

Mohamed Asif
Technical Department Head

Being involved with EE helped me to grow personally and professionally.

Carl Webster
CTP, Sr Infrastructure Consultant
Ask ANY Question

Connect with Certified Experts to gain insight and support on specific technology challenges including:

  • Troubleshooting
  • Research
  • Professional Opinions
Did You Know?

We've partnered with two important charities to provide clean water and computer science education to those who need it most. READ MORE