Link to home
Start Free TrialLog in
Avatar of mmurfmis
mmurfmis

asked on

E-mail a password expiration notice

I am looking for a way to email users when their passwords are about to expire. I am guessing that this would need to be done by use of a script. Since I am a newbie to scripting it would have to be simple script or a script with descriptive instructions on how to edit it, if necessary. Most copy and paste scripts that I have found expect you to know something about scripting to make the proper edits.

We are a Windows 2000 AD domain.

We have a GPO setup to force password changes every 45 days and warn you within 7 days of expiration.

Thanks
Avatar of kelo501
kelo501

I am guessing that these are remote users and that the defult warning is working but you wish to use this for non-microsoft clients or POP accounts?

Let me know this and I will look and see if I can find one I wrote for this already.

kelo501
read this artical,
It is not a solution to your question but good addtional reading.
http://support.microsoft.com/default.aspx?scid=kb;en-us;327134
ASKER CERTIFIED SOLUTION
Avatar of Yan_west
Yan_west

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
from http://expertanswercenter.techtarget.com/eac/knowledgebaseAnswer/0,295199,sid63_gci988458,00.html

The Password Expiry Warning Application (PEWA) is a command-line application that can be used to let Exchange 2000 users know that their password will expire in seven days. PEWA exists because down-level operating systems that use the NetWare "Netx" redirector, as well as Macintosh-based clients, do not receive password expiration warnings from Active Directory domain controllers.
Technically, PEWA is not supported by Microsoft PSS, as it is a Resource Kit tool. PSS engineers will give you their "best effort" if you encounter problems with this tool.

After looking into this, I've found that PEWA should work on Exchange 2003. I do not know if Microsoft has tested against Exchange 2003, but since the tool really just does a MAPI logon, and since that function has been relatively unchanged since Exchange 4.0, you should be able to use it without any problems.

One last word of caution, though. I happened to be the co-author of the Exchange 2003 Resource Kit (which is currently under development). PEWA is not on the list of tools to include so it will likely not be included in the Exchange 2003 Resource Kit.

Yan,

That would be the answer can that tool be downloaded?

kelo501
You have to buy the exchange 2000 ressource kit..

http://www.amazon.com/exec/obidos/tg/detail/-/0735610177/104-6325608-7924712?v=glance

Cheap for all the tools that are in there.. it's an investment for 46$ :) I was never able to find it anywhere for download.. so I bought it..
Thank You
Can I have my points please ;)
Avatar of mmurfmis

ASKER

I am still testing weather or not this is what I want
Yan Weast,

I grabed it off the MSDN RK and it works perfect.   I will be sure to use it now myself.
thanks you for the knowledge.
kelo501
The only other way to do this would be to program a custom script... Takes a while to do, you have to do research, so it will be more expensive.. and you'll have less in the end..
I know it can be done via a script and I am sure someone out there has one.

This may be what I need though, but I am getting the following error when I run it and I am not sure why. I have the profile setup, though this is a Outlook 2003 client, I don't know if its compatible or not

Here is the error I am getting....

MAPI error 8004010f occurred. Mail will not be sent to:
you have to set it up on the exchange serve..

From a newsgroup post:

"I installed it on the Exchange Server, and setup a scheduled task to run
every night.  The scheduled task uses the command line options specified in
article.  The task must access all of the Active Directory accounts, so it
is best to setup to login as a user who has full permissions to read the
Active Directory database.  (an account with Domain Admin or Exchange Admin
rights should work)"
I got it to work finally. This program requires a ton of permissions. geez

But it works pretty well.

But I also got this script to work from JSI FAQ.
http://www.jsiinc.com/SUBP/tip7900/rh7955.htm

This script is great because it informs the user of the exact day to which the password is set to expire

Thanks for your help