Link to home
Start Free TrialLog in
Avatar of Gary Dewrell
Gary DewrellFlag for United States of America

asked on

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

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?
ASKER CERTIFIED SOLUTION
Avatar of Glen Knight
Glen Knight
Flag of United Kingdom of Great Britain and Northern Ireland image

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
Avatar of Gary Dewrell

ASKER

Ok, Let me give this a few days to see if anyone else answers and if not you get the points.