Passwords??

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?
 
P

Pegasus \(MVP\)

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.
 
G

Guest

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.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top