"Unexpire" passwords in AD 2003 for 500+ users

QcHoldings
QcHoldings used Ask the Experts™
on
Hi All,

A couple of months ago, I created more than 500 user accounts in Active Directory.  The accounts were created with a static password, assigned to each user, and they were included in the script that created the user accounts.  The problem is that I wasn't told to set the passwords to "never expire," and now the passwords are expiring, and the help desk is pitching a fit.  Setting 500+ user accounts with the "password never expires" property set is trivial.  The problem is "unexpiring" the passwords on all those accounts.  The help desk doesn't want to reset the passwords on all those accounts, and frankly I can't blame them.

Short of deleting and then recreating the accounts, then setting them so the password never expires, does anyone have an idea, tool, or script for "unexpiring" those passwords without being forced to reset the passwords?

Thanks in advance!

Mark
Comment
Watch Question

Do more with

Expert Office
EXPERT OFFICE® is a registered trademark of EXPERTS EXCHANGE®
Commented:
If Active directory is running in native mode, highlight all users, right click and choose properties. Go to account tab and check the password never expires option. You donèt need to reset their passwords.

Author

Commented:
I just thought of something.  Incredible how you can't see the trees for the forest.

Use the "Net User" command to change the passwords in a batch file...

DUH!!!  

Sorry all.  I haven't finished my coffee this morning.

Mark

Author

Commented:
I didn't realize that setting the "password never expires" check box "unexpires" the password.  I was under the impression that the only way to do this was to reset the password, even if you reset it to the same password (provided the password policy doesn't require unique passwords).

Thanks!

Mark

Author

Commented:
I didn't realize that setting the "password never expires" attribute would "unexpire" the password.

Commented:
Yes it would.

Do more with

Expert Office
Submit tech questions to Ask the Experts™ at any time to receive solutions, advice, and new ideas from leading industry professionals.

Start 7-Day Free Trial