email notification of expiring AD password?

  • Thread starter Thread starter Jack Black
  • Start date Start date
J

Jack Black

Hi

Does anyone know of a utility that will automatically email someone when
their Active Directory password is about expire?

Thanks, Jack
 
You can do this using VBScript and WMI. Go to
http://www.microsoft.com/technet/scriptcenter/default.mspx for some sample
code to get you started. You'll find pretty detailed examples of:

[1] How to programmatically send an email message, and
[2] How to determine a user's password expiration date.

All you have to do from there is smoosh the two together into a single
working script.
 
I haven't seen anything free. A purchasable product would be PSYNCH from MTEC
which has several other functions as well.

joe
 
Hi Laura

Unfortunately, I don't have a year to learn how to program in VB Script.

Know of any already made utilities that do this?

Thanks, Jared

Laura E. Hunter (MVP) said:
You can do this using VBScript and WMI. Go to
http://www.microsoft.com/technet/scriptcenter/default.mspx for some sample
code to get you started. You'll find pretty detailed examples of:

[1] How to programmatically send an email message, and
[2] How to determine a user's password expiration date.

All you have to do from there is smoosh the two together into a single
working script.


--
******************************
Laura E. Hunter - MCSE, MCT, MVP
Replies to newsgroup only


Jack Black said:
Hi

Does anyone know of a utility that will automatically email someone when
their Active Directory password is about expire?

Thanks, Jack
 
See my previous post. Most likely though you will then not want to spend money
on a solution.

Also it shouldn't take a year to learn vbscript. It is pretty basic.

--
Joe Richards Microsoft MVP Windows Server Directory Services
www.joeware.net



Jack said:
Hi Laura

Unfortunately, I don't have a year to learn how to program in VB Script.

Know of any already made utilities that do this?

Thanks, Jared

You can do this using VBScript and WMI. Go to
http://www.microsoft.com/technet/scriptcenter/default.mspx for some sample
code to get you started. You'll find pretty detailed examples of:

[1] How to programmatically send an email message, and
[2] How to determine a user's password expiration date.

All you have to do from there is smoosh the two together into a single
working script.


--
******************************
Laura E. Hunter - MCSE, MCT, MVP
Replies to newsgroup only


Hi

Does anyone know of a utility that will automatically email someone when
their Active Directory password is about expire?

Thanks, Jack
 
Yes, i saw that post. However, that solutions is way more than what we need.
we aer a very small company.

Just dont' have time to learn VP. Everythign is easy once you know how. :)

There must be something else out there... I'm looking...

Joe Richards said:
See my previous post. Most likely though you will then not want to spend
money on a solution.

Also it shouldn't take a year to learn vbscript. It is pretty basic.

--
Joe Richards Microsoft MVP Windows Server Directory Services
www.joeware.net



Jack said:
Hi Laura

Unfortunately, I don't have a year to learn how to program in VB Script.

Know of any already made utilities that do this?

Thanks, Jared

You can do this using VBScript and WMI. Go to
http://www.microsoft.com/technet/scriptcenter/default.mspx for some
sample code to get you started. You'll find pretty detailed examples of:

[1] How to programmatically send an email message, and
[2] How to determine a user's password expiration date.

All you have to do from there is smoosh the two together into a single
working script.


--
******************************
Laura E. Hunter - MCSE, MCT, MVP
Replies to newsgroup only



Hi

Does anyone know of a utility that will automatically email someone when
their Active Directory password is about expire?

Thanks, Jack
 
That's why the Scripting Center is cool. Shake-and-bake scripts that you
can just plain -steal-. In most cases all you need to do is replace
"dc=example, dc=com" with your domain name, and learn the following syntax:

cscript.exe <scriptname.vbs>

Guys like Joe are a big-time scripting guys. Me, I'm just a good thief of
Scripting Center code (not to mention Joe's.). And even -I- get by. Your
learning curve to figure out enough to copy-and-paste is going to be a
function of weeks, if that.

--
******************************
Laura E. Hunter - MCSE, MCT, MVP
Replies to newsgroup only


Jack Black said:
Hi Laura

Unfortunately, I don't have a year to learn how to program in VB Script.

Know of any already made utilities that do this?

Thanks, Jared

Laura E. Hunter (MVP) said:
You can do this using VBScript and WMI. Go to
http://www.microsoft.com/technet/scriptcenter/default.mspx for some
sample code to get you started. You'll find pretty detailed examples of:

[1] How to programmatically send an email message, and
[2] How to determine a user's password expiration date.

All you have to do from there is smoosh the two together into a single
working script.


--
******************************
Laura E. Hunter - MCSE, MCT, MVP
Replies to newsgroup only


Jack Black said:
Hi

Does anyone know of a utility that will automatically email someone when
their Active Directory password is about expire?

Thanks, Jack
 
Back
Top