Google Groups no longer supports new Usenet posts or subscriptions. Historical content remains viewable.
Dismiss

Password Expiration Script

42 views
Skip to first unread message

Barrycuda

unread,
Feb 7, 2007, 12:14:58 PM2/7/07
to
Hope someone can help
Occasionally I will have to create a user on our domain that does not use
our email server (exchange). So the users account is not mail enabled.
We have a 3rd party application that sends password expiration reminders to
the mail enabled users based on our password expiration GPO.
I am looking for someway to notify the users whose account is not mail
enabled a message.

I could enter the users personal email address on the General tab of Active
Directory Users and Computers, but I would need a script of some kind
that would look at that field. I put those users into a seperate OU if that
makes it easier.

Ideally I would like the script to run only against this particular OU as I
don't want it to have duplicate email messages to my domain users.

Thanks


Jerold Schulman

unread,
Feb 8, 2007, 7:44:24 AM2/8/07
to

See tip 10750 » How can I email a password expiration warning to my domain users?
in the 'Tips & Tricks' at http://www.jsifaq.com

Jerold Schulman
Windows Server MVP
JSI, Inc.
http://www.jsiinc.com

Rastogi@discussions.microsoft.com Vimal Rastogi

unread,
Feb 23, 2007, 3:11:00 AM2/23/07
to
dear Jerold
I make a folder at c:\pwwarn and conatin all followinf in that

ADFind.exe
univdate.bat
Date2YMD.bat
DatePorM.bat
BLAT.exe

but as i run pwwarn.bat

it return

C:\PWwarn>PwWarn.bat
*** "krbtgt": Your account expires on 12/7/2006. No Email configured.
There is no such user: ICFPINDIA$.

More help is available by typing NET HELPMSG 3755.

*** "ICFPINDIA$": Your account expires on 12/7/2006. No Email configured.
. . "62DA6D04-2ECD-4773-B": Your account expires on 12/11/2006.
. . "akumar": Your account expires on 2/20/2007.
. . "postmaster": Your account expires on 2/26/2007.
. . "anildhar": Your account expires on 2/25/2007.
. . "vinods": Your account expires on 2/25/2007.
. . "prateeks": Your account expires on 2/25/2007.
. . "anthonynair": Your account expires on 2/25/2007.

all is fine but mail is not sent to user
please tell me what is issue.

Vimal Rastogi

unread,
Feb 23, 2007, 3:29:06 AM2/23/07
to
dear Jerold
I make a folder at c:\pwwarn and conatin all followinf in that

ADFind.exe
univdate.bat
Date2YMD.bat
DatePorM.bat
BLAT.exe

but as i run pwwarn.bat

it return

C:\PWwarn>PwWarn.bat
*** "krbtgt": Your account expires on 12/7/2006. No Email configured.
There is no such user: ICFPINDIA$.

More help is available by typing NET HELPMSG 3755.

*** "ICFPINDIA$": Your account expires on 12/7/2006. No Email configured.
. . "62DA6D04-2ECD-4773-B": Your account expires on 12/11/2006.
. . "akumar": Your account expires on 2/20/2007.
. . "postmaster": Your account expires on 2/26/2007.
. . "anildhar": Your account expires on 2/25/2007.
. . "vinods": Your account expires on 2/25/2007.
. . "prateeks": Your account expires on 2/25/2007.
. . "anthonynair": Your account expires on 2/25/2007.

all is fine but mail is not sent to user
please tell me what is issue.

0 new messages