This Default view from Active Directory Users and Computers
1. Open notepad, type text below and save with *.VBS (USER_LOGON_INFO.VBS) save to location DCW2K8-01netlogon \\yourdomaincontroller\netlogon or C:\Windows\SYSVOL\sysvol\domaincontroller\scripts
On Error Resume Next
Set wshArguments = WScript.Arguments
Set objUser = GetObject(wshArguments(0))
str1 = “Last Login: ” & objUser.LastLogin
str2 = “Last Logoff: ” & objUser.LastLogoff
str3 = “Last Failed Login: ” & objUser.LastFailedLogin
str4 = “Logon Count: ” & objUser.logonCount
str5 = “Bad Login Count: ” & objUser.BadLoginCount
str6 = “Password Last Changed: ” & objUser.PasswordLastChanged
str7 = “User Account Control: ” & objUser.userAccountControl
str8 = “Login Script: ” & objUser.scriptPath
str9 = “Account Created: ” & objUser.whenCreated
str10 = “Account Last Modified: ” & objUser.whenChanged
MsgBox str1 & vbCrLf & str2 & vbCrLf & str3 & vbCrLf & str4 & vbCrLf & str5 & vbCrLf & str6 & vbCrLf & str7 & vbCrLf & str8 & vbCrLf & str9 & vbCrLf & str10,,objUser.Name
2. Open ADSIEdit.MSC (if you use windows server 2003 cannot open ADSIEdit.MSC, you must install Support Tools from CD installation windows server 2003 )
3. Right-click from ADSI Edit connect to > Select a well know Naming Context : Configuration.
4. Navigate to the following path : CN=Configuration,DC=DZIKRA,DC=LOCAL > CN=DisplaySpecifiers > CN=409. Select CN=user-Display Right-click Properties.
5. Select adminContextMenu and Add 2, &Show Logon Info, \\yourdomaincontroller\netlogon USER_LOGON_INFO.VBS
6. When done close ADSI Edit and open Active Directory Users and Computers
7. Select user and Right-click, you can see Show Logon Info (Select this)
Hello there, just became alert to your blog through Google, and
found that it is truly informative. I am gonna watch out for brussels.
I will appreciate if you continue this in future. Numerous people will be benefited
from your writing. Cheers!
Thanks, sorry if my language not good..
I am regular reader, how are you everybody? This piece of writing posted at this site is truly
pleasant.
Hi,
I’m fine, thanks before. I’m sorry is my language is not good.
Great post.
Здравствуйте!
Нашел интересные фотоподборки на этом сайте: http://agentorange.ru :
http://agentorange.ru/art-foto-interesnoe/3024-kak-vyglyadyat-pishuschie-ruchki-po-cene-osobnyaka.html [b] Как выглядят пишущие ручки по цене особняка [/b]
http://agentorange.ru/art-foto-interesnoe/1824-kreschenskie-kupaniya-v-stolbe-smerti.html [b] Крещенские купания в Столбе Смерти [/b]
http://agentorange.ru/art-foto-interesnoe/4023-camyy-odinokiy-chelovek-na-planete.html