PDA

View Full Version : Password Expiration



khankell
05-17-2001, 10:47 PM
Do you know which key controls the "Password Never Expires" checkbox under the User Manager in Windows 2000? I want to change the password to expire in a logon script, but I can't seem to track down the value for it. Thanks in advance for any help

RWSchlatter
05-18-2001, 01:44 AM
<pre>NET USER [username [password] [options]]</pre>one of the options beeing /expires:<date>.

Check the Win2K Help file on DOS commands for more info.

J am not so sure if the logon script is the proper place for this, user does not have admin rights.
______________
Regards - Richard

khankell
05-18-2001, 04:41 AM
Is there a way to do it with a .reg file?

The admin priviledges are not a problem because the policy is that the user is the Admin of their own machine.