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
267 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
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
Ransomware-A Revenue Bonanza for Service Providers

Ransomware – malware that gets on your customers’ computers, encrypts their data, and extorts a hefty ransom for the decryption keys – is a surging new threat.  The purpose of this eBook is to educate the reader about ransomware attacks.

 
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

The Eight Noble Truths of Backup and Recovery

How can IT departments tackle the challenges of a Big Data world? This white paper provides a roadmap to success and helps companies ensure that all their data is safe and secure, no matter if it resides on-premise with physical or virtual machines or in the cloud.

Question has a verified solution.

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

Suggested Solutions

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…
For months I had no idea how to 'discover' the IP address of the other end of a link (without asking someone who knows), and it drove me batty. Think about it. You can't use Cisco Discovery Protocol (CDP) because it's not implemented on the ASAs.…
This Micro Tutorial will give you a basic overview how to record your screen with Microsoft Expression Encoder. This program is still free and open for the public to download. This will be demonstrated using Microsoft Expression Encoder 4.
Established in 1997, Technology Architects has become one of the most reputable technology solutions companies in the country. TA have been providing businesses with cost effective state-of-the-art solutions and unparalleled service that is designed…

773 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