Devam Ediyor

524205 Windows User - LastLogonDate

Platform: Windows 2008 R2


64 bit Windows Application or VBScript

- One to generate email notification with a HTML report

- another one is to show a pop-up menu

Program Logic:

1) Query "msDS-LastSuccessfulInteractiveLogonTime" attribute (instead of LastLogonTimeStamp) on Active Directory with additional email attribute

Sample Script can be found at [url removed, login to view]

Info on "msDS-LastSuccessfulInteractiveLogonTime":

[url removed, login to view]([url removed, login to view]).aspx

2) Send an email via SMTP to the list of user [output of #1] that has the last logon day is great than 30.

3) Create a popup message box based on user logon name. [optional requirement]

4) Produce a simple HTML report based on step #2


[url removed, login to view]

[url removed, login to view](v=[url removed, login to view]).aspx (E-mail-Addresses attribute)

Expected Output

Step #1 output (script provided from the URL)


CN=Lola Jacobsen,OU=FIM Accounts,OU=Lab Objects,DC=woodgrovebank,DC=com;Never

CN=Terry Adams,OU=FIM Accounts,OU=Lab Objects,DC=woodgrovebank,DC=com;7/29/2010 6:08:11 PM

CN=Jimmy Bischoff,OU=FIM Accounts,OU=Lab Objects,DC=woodgrovebank,DC=com;Never

CN=Mark Brown,OU=FIM Accounts,OU=Lab Objects,DC=woodgrovebank,DC=com;Never

Note: Need additional info which is the email attribute. Account without email attribute will be ignore/discard

Step #2 Output


Dear Terry Adams,

You last logon time is on 7/29/2010 6:08:11 PM. Your account will be inactive soon. Please logon before [last logon + 30 days].

Please contact IT Helpdesk at 1800-Helpdesk if you have any question.

Thank you,

IT Helpdesk

Step #3 Output [optional requirement]


Dear Terry Adams,

You have successfully logon to server. Your next logon to server must not later than [today date + 30 days].

Exceeded the allowable period, your account will be disabled. Please contact IT Helpdesk at 1800-Helpdesk if you have any question.

Step #4 Output


Name Logon Name Email Last Logon Date

Lola Jacobsen [url removed, login to view] Lola [ a t ] abc com Never

Terry Adams [url removed, login to view] terry [ a t ] abc com 7/29/2010

6:08:11 PM


[url removed, login to view]

Beceriler: .NET, Her şey Kabul, ASP, Perl, PHP, Visual Basic, Windows Masaüstü

Daha fazlasını gör: vbscript msds lastsuccessfulinteractivelogontime, your account is inactive, simple pop server, inactive email account, create your account today, adams 14, account is inactive, account inactive, abc lab, abc 11, jimmy t, active directory microsoft, windows logon, Windows Active Directory, windows 2008, user contact, msds, microsoft active directory , lola, lab report, jorge, jimmy, IT helpdesk, helpdesk it, FIM

İşveren Hakkında:
( 2 değerlendirme ) Petaling Jaya, Malaysia

Proje NO: #2270144