Forcing Password Change.

Forcing Password Change.

Post by Nick Jacob » Fri, 06 Feb 2004 00:16:59

Hi Gang,
I've been looking but haven't found it yet...

Does anybody know what I need to do to set the user accounts to change the
password at the next login attempt?

I'm getting ready to toggle some back and forth in ADSI to see if I can find


Env: Server 2003, C#-2003

Forcing Password Change.

Post by MVP - AD » Fri, 06 Feb 2004 00:24:10

You need to set pwdLastSet to 0. That will force a password change at next
login. I don't have the C# code handy, but it is pretty straightfoward
using System.DirectoryServices.

Joe K.



Forcing Password Change.

Post by Nick Jacob » Mon, 09 Feb 2004 06:54:10

Thanks Joe, That gives me the starting point.

I can get the rest of it, just needed to know what to set.


"Joe Kaplan (MVP - ADSI)" < XXXX@XXXXX.COM > wrote