Solved

Looking for some kind of an email notification when a users password on the domain is about to expire

Posted on 2004-09-23
10
275 Views
Last Modified: 2008-01-09
I'm running Windows 2000 Server right now.  The canned message that 2000 provides alerting users that their password will expire in x amount of days is not working for us.  My users rarely log off of their machines so they never get to see this.  What would be better is an email alert that gets sent to the user telling them that their password is going to expire and then provide a link for them to some web page (IIS mabye) to change the password.  

Does 2003 server provide this kind of functionality or do I need to be looking 3rd party?
0
Comment
Question by:conoverc73
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 6
  • 4
10 Comments
 
LVL 15

Expert Comment

by:Yan_west
ID: 12135553
here you go, use PEWA, it comes in the exchange 2000 ressource kit.. also works with exchange 2000/2003

http://support.microsoft.com/default.aspx?scid=http://support.microsoft.com:80/support/kb/articles/Q221/9/77.ASP&NoWebContent=1
0
 
LVL 15

Accepted Solution

by:
Yan_west earned 250 total points
ID: 12135567
You have to buy the exchange 2000 ressource kit, I seached a long time on the web to get it, and never found it :(

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


you could also use this script:

http://www.jsiinc.com/SUBP/tip7900/rh7955.htm
0
 

Author Comment

by:conoverc73
ID: 12136428
Can I still use PEWA from the resource kit even if we are not running exchange.  Our email is hosted by Mindspring.  Just plain old pop email.

0
Back Up Your Microsoft Windows Server®

Back up all your Microsoft Windows Server – on-premises, in remote locations, in private and hybrid clouds. Your entire Windows Server will be backed up in one easy step with patented, block-level disk imaging. We achieve RTOs (recovery time objectives) as low as 15 seconds.

 
LVL 15

Expert Comment

by:Yan_west
ID: 12136471
PEWA cannot be used in a non-Microsoft Exchange environment. The messaging server must have Microsoft Exchange Server installed..

you'll have to use the script i provided you, with all the subscript/utility included in the page....
0
 

Author Comment

by:conoverc73
ID: 12137709
I created the script you provided (as well as the supporting scripts that go along with it) and after running it I get the following errors seen below in the PwdNotify.log file:

I suspect its maybe the way I am putting my userdata into the PwdNotify.txt file?? Here's how I have it:

["]bwilson["] ["]bob_wilson@sceptredb.com["] [14]

The user bob wilson has a valid, active account in ADS, "password does not expire" radio button is NOT checked.

Any ideas?


------------------------
PwdNotify.log file
--------------------------

2004 09 23
Invalid number.  Numeric constants are either decimal (17),
hexadecimal (0x11), or octal (021).
The user name could not be found.


More help is available by typing NET HELPMSG 2221.


PwdNotify - Syntax - # PwdNotify.bat uses user not found, password never expires, or info missing or incorrect.
Invalid number.  Numeric constants are either decimal (17),
hexadecimal (0x11), or octal (021).
The user name could not be found.


More help is available by typing NET HELPMSG 2221.


PwdNotify - Syntax - # to specify user not found, password never expires, or info missing or incorrect.
PwdNotify - Syntax - #   user not found, password never expires, or info missing or incorrect.
Missing operator.
The user name could not be found.


More help is available by typing NET HELPMSG 2221.


PwdNotify - Syntax - # ["]UserName["] ["]UserEMail["] user not found, password never expires, or info missing or incorrect.
PwdNotify - Syntax - #   user not found, password never expires, or info missing or incorrect.
Invalid number.  Numeric constants are either decimal (17),
hexadecimal (0x11), or octal (021).
The user name could not be found.


More help is available by typing NET HELPMSG 2221.


PwdNotify - Syntax - # Where UserName user not found, password never expires, or info missing or incorrect.
Invalid number.  Numeric constants are either decimal (17),
hexadecimal (0x11), or octal (021).
The user name could not be found.


More help is available by typing NET HELPMSG 2221.


PwdNotify - Syntax - # UserEMail is user not found, password never expires, or info missing or incorrect.
Invalid number.  Numeric constants are either decimal (17),
hexadecimal (0x11), or octal (021).
The user name could not be found.


More help is available by typing NET HELPMSG 2221.


PwdNotify - Syntax - # and days user not found, password never expires, or info missing or incorrect.
Invalid number.  Numeric constants are either decimal (17),
hexadecimal (0x11), or octal (021).
The user name could not be found.


More help is available by typing NET HELPMSG 2221.


PwdNotify - Syntax - # want to user not found, password never expires, or info missing or incorrect.
Invalid number.  Numeric constants are either decimal (17),
hexadecimal (0x11), or octal (021).
The user name could not be found.


More help is available by typing NET HELPMSG 2221.


PwdNotify - Syntax - # PwdNotify.bat generates user not found, password never expires, or info missing or incorrect.
Invalid number.  Numeric constants are either decimal (17),
hexadecimal (0x11), or octal (021).
The user name could not be found.


More help is available by typing NET HELPMSG 2221.


PwdNotify - Syntax - # that contains user not found, password never expires, or info missing or incorrect.
Missing operator.
The syntax of this command is:



NET USER [username [password | *] [options]] [/DOMAIN]
         username {password | *} /ADD [options] [/DOMAIN]
         username [/DELETE] [/DOMAIN]

PwdNotify - Syntax - ["]smorse["] ["]chris_conover@sceptredb.com["] [14] user not found, password never expires, or info missing or incorrect.
0
 
LVL 15

Expert Comment

by:Yan_west
ID: 12142925
Never applied this solution myself since I use exchange and pewa.. and i'm not a scripting expert.. :) I only pointed you to the solution.

here is another similar script..

http://www.jsiinc.com/SUBQ/tip8400/rh8451.htm
0
 
LVL 15

Expert Comment

by:Yan_west
ID: 12142945
most solutions are all related to people who have an internal mail server btw..
0
 

Author Comment

by:conoverc73
ID: 12143245
Yan west.  That script worked like a charm.  Ran into a few syntax issues but was able to work through them and get it running.

Thank you very much.
0
 
LVL 15

Expert Comment

by:Yan_west
ID: 12143550
the second one or the 1st?
0
 

Author Comment

by:conoverc73
ID: 12143910
Sorry, the 1st.
0

Featured Post

Optimize your web performance

What's in the eBook?
- Full list of reasons for poor performance
- Ultimate measures to speed things up
- Primary web monitoring types
- KPIs you should be monitoring in order to increase your ROI

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

NTFS file system has been developed by Microsoft that is widely used by Windows NT operating system and its advanced versions. It is the mostly used over FAT file system as it provides superior features like reliability, security, storage, efficienc…
A look at what happened in the Verizon cloud breach.
In this video, viewers will be given step by step instructions on adjusting mouse, pointer and cursor visibility in Microsoft Windows 10. The video seeks to educate those who are struggling with the new Windows 10 Graphical User Interface. Change Cu…
There's a multitude of different network monitoring solutions out there, and you're probably wondering what makes NetCrunch so special. It's completely agentless, but does let you create an agent, if you desire. It offers powerful scalability …

628 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question