Passwords??

  • Thread starter Thread starter Guest
  • Start date Start date
G

Guest

I want to notify users who are remote, and who don't login to the domain
regularly, that their password are to expire.

We are Mixed Mode Win2K domain, using group policies to change passwords
every 120 days.

How can I do this?
 
Stiltripin said:
I want to notify users who are remote, and who don't login to the domain
regularly, that their password are to expire.

We are Mixed Mode Win2K domain, using group policies to change passwords
every 120 days.

How can I do this?

You could run a batch file once each day on your domain
controller. It would do this for every user:
1. Run the command net user xxx
2. Extract the password expiry date.
3. Convert the expiry date to J1 (a Julian number).
4. Convert the current date to J2 (a Julian number).
5. Calculate x=J1-J2.
6. If x < 10, generate an email to the user,
telling him that his password will expire in x days.
 
Is there no way to automate the process?

Pegasus (MVP) said:
You could run a batch file once each day on your domain
controller. It would do this for every user:
1. Run the command net user xxx
2. Extract the password expiry date.
3. Convert the expiry date to J1 (a Julian number).
4. Convert the current date to J2 (a Julian number).
5. Calculate x=J1-J2.
6. If x < 10, generate an email to the user,
telling him that his password will expire in x days.
 
Back
Top