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
268 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
Simplifying Server Workload Migrations

This use case outlines the migration challenges that organizations face and how the Acronis AnyData Engine supports physical-to-physical (P2P), physical-to-virtual (P2V), virtual to physical (V2P), and cross-virtual (V2V) migration scenarios to address these challenges.

 
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

Comprehensive Backup Solutions for Microsoft

Acronis protects the complete Microsoft technology stack: Windows Server, Windows PC, laptop and Surface data; Microsoft business applications; Microsoft Hyper-V; Azure VMs; Microsoft Windows Server 2016; Microsoft Exchange 2016 and SQL Server 2016.

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…
Although a lot of people devote their energy toward marketing for specific industries, there are some basic principles that can be applied to any sector imaginable. We’ll look at four steps to take and examine how those steps were put into action fo…
Although Jacob Bernoulli (1654-1705) has been credited as the creator of "Binomial Distribution Table", Gottfried Leibniz (1646-1716) did his dissertation on the subject in 1666; Leibniz you may recall is the co-inventor of "Calculus" and beat Isaac…
Finds all prime numbers in a range requested and places them in a public primes() array. I've demostrated a template size of 30 (2 * 3 * 5) but larger templates can be built such 210  (2 * 3 * 5 * 7) or 2310  (2 * 3 * 5 * 7 * 11). The larger templa…

756 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