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
263 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
  • 6
  • 4
10 Comments
 
LVL 15

Expert Comment

by:Yan_west
Comment Utility
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
Comment Utility
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
Comment Utility
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
 
LVL 15

Expert Comment

by:Yan_west
Comment Utility
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
Comment Utility
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
IT, Stop Being Called Into Every Meeting

Highfive is so simple that setting up every meeting room takes just minutes and every employee will be able to start or join a call from any room with ease. Never be called into a meeting just to get it started again. This is how video conferencing should work!

 
LVL 15

Expert Comment

by:Yan_west
Comment Utility
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
Comment Utility
most solutions are all related to people who have an internal mail server btw..
0
 

Author Comment

by:conoverc73
Comment Utility
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
Comment Utility
the second one or the 1st?
0
 

Author Comment

by:conoverc73
Comment Utility
Sorry, the 1st.
0

Featured Post

Complete VMware vSphere® ESX(i) & Hyper-V Backup

Capture your entire system, including the host, with patented disk imaging integrated with VMware VADP / Microsoft VSS and RCT. RTOs is as low as 15 seconds with Acronis Active Restore™. You can enjoy unlimited P2V/V2V migrations from any source (even from a different hypervisor)

Join & Write a Comment

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…
Describes a method of obtaining an object variable to an already running instance of Microsoft Access so that it can be controlled via automation.
This video discusses moving either the default database or any database to a new volume.
This tutorial demonstrates a quick way of adding group price to multiple Magento products.

772 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

Need Help in Real-Time?

Connect with top rated Experts

11 Experts available now in Live!

Get 1:1 Help Now