Contents for Ezine 84 – Acctinfo.dll
- This Week’s Secret
- Mission to add Additional Account Info Property Tab
- Download Additional Account Info
- Learning Points
- Summary of Acctinfo
This week I have something a little different for you, not a script but a program called Acctinfo. What this simple add-on does is expose more properties for in Active Directory Users and Computers, for example lastLogon and Password Expires.
What led me to discover this treasure called acctinfo.dll was research into an LDAP property called lastLogon. The reason that I have not used acctinfo.dll before is that I usually call for ADSI Edit whenever I need to investigate such Active Directory attributes and values. As far as I know, Acctinfo does not modify the schema.
Tired of writing scripts? The User Management Resource Administrator solution by Tools4ever offers an alternative to time-consuming manual processes.
It features 100% auto provisioning, Helpdesk Delegation, Connectors to more than 130 systems/applications, Workflow Management, Self Service and many other benefits. Click on the link for more information onUMRA.
What I want to do is add an extra tab in Active Directory Users and Computers. Amongst the extra information on this tab is, the lastLogon time, UserAccountControl value and Bad Password Count.
As we will see next week, scripting lastLogon is fraught with problems; however, displaying the Last Logon time with Active Directory Users and Computers tab makes it easier to see what is happening.
- Download acctinfo.dll or acctinfo in zip format
- Copy acctinfo.dll to the %systemroot%\system32 folder
- Register the service and dll with this command:
regsvr32 acctinfo (Similar to registering the schema snap-in)
- Close, then open Active Directory Users and Computers.
Note 1: My information is that you need to install acctinfo on the machine where you execute the Active Directory Users and Computers snap-in.
Note 2: In line with modern best practice, once you have registered acctinfo, there is no need to reboot your server.
Note 3: If you wish to remove the Additional Account Info tab, open a run command and type:
regsvr32 /u acctinfo
Note 4: Acctinfo is supplied free by Microsoft.
SolarWinds have produced three Active Directory add-ons. These free utilities have been approved by Microsoft, and will help to manage your domain by:
- Seeking and zapping unwanted user accounts.
- Finding inactive computers.
- Bulk-importing new users. Give this AD utility a try, it’s free!
Download and try this cost-nothing add-on for Active Directory Users and Computers. Acctinfo gives extra information about the last time a user logged on, also Bad Password count and the UserAccountControl value. Download and install acctinfo.dll and get the Additional Account info tab of your users.
See more about VBScript