Andreas Heinlein wrote:
> Hello,
>
> the FAQ is incorrect in this point. You *can* turn off expiration of the
> password using "net user":
>
> net user <username> <password> /EXPIRES:NEVER
>
> Works for us using Windows 2000 SP4, so it should work with XP also.
>
> Bye,
> Andreas
>
Hi Andreas,
from my own experience, the /expires:never flag only prevents expiry of
the *account itself* but *not* of the password.
I just tried this command
net user myuser mypwd /add /expires:never
on my XP-Pro-SP2-Box and then looked into the Windows-User-Manager.
The password-does-not-expire checkbox for this user was *not* set.
Regards
Gerhard
|