Link to home
Start Free TrialLog in
Avatar of Jean-François Guénet
Jean-François GuénetFlag for Canada

asked on

64-bit Version of Acctinfo2.dll

Hi im running windows 7 64 bit and im trying to use the file 64-bit Version of Acctinfo2.dll so i can have the additional account information tab with AD tools

Can someone explain me how you get the additional account information tab with AD tools on a Windows 7 64bit machine because it's not working on my pc

Here what Ive done so far

1- Copy Acctinfo2.dll in %windir%
2- Regsvr32 %windir%\Acctinfo2.dll

But i don't have the additional tab

Thanks for your help
ASKER CERTIFIED SOLUTION
Avatar of bz43
bz43
Flag of United States of America image

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
Avatar of Jean-François Guénet

ASKER

Hey cool it worked...i also did these oeration found in the link you provide me

Thanks !!


OK, got this working. The doc that came along with the dll made some confusing references to "registering the dll" and "registering a COM entry" that are talking about the same thing, and I was attempting to delimit the new entry with a period instead of a comma.

Here's what I did in plain English:
1. Extracted the files and named the dll "acctinfo2.dll." The MS docs refer to "acctinfov2.dll" but no matter what you name it, it will appear in the registry as acctinfo2.dll.
2. Copied the file to C:\Windows\System32 and registered it from the command line with the entry "regsvr32.exe acctinfo2.dll"
NOTE THAT THIS IS ALL YOU NEED TO DO FOR EACH WORKSTATION WHERE YOU WANT TO SEE THIS INFORMATION IN ADUC. THE BELOW STEPS ONLY NEED TO BE DONE ONCE FOR YOUR DOMAIN.
3. Opened regedit and searched for a reference to acctinfo2.dll. Copied the name of the key containing that reference to the clipboard (it's a MS GUID).
4. Opened adsiedit.msc as a Domain Admin and browsed to Configuration, CN=Configuration...., CN=DisplaySpecifier..., CN=409.
5. Found an object "CN=user-Display" and opened it properties.
6. Select the Attribute "adminPropertyPages" and click Edit.
7. In the "Value to add" box, enter an integer one higher than the highest entry (i.e. if the max entry is 9, enter 10), followed by a comma, followed by the GUID you found in the registry.
8. That should do it. Open ADUC, use "find" to pick a user and open their properties. You should see a new tab, "Additional Account Info V2."

A few thoughts about the AAIV2 tab:
* Cool!
* Easy access to the last logon and last password reset. We've previously been digging through ADSIedit for those and then converting them from the MS large integer timestamp manually.
* User Account Control including a "Decode" button to put it in laymen's terms.
* MetaData for the user if you really want to dig in.
* One potentially big gotcha: IF YOU CLICK THE "SET PW ON SITE DC" BUTTON, YOU MUST CLOSE THE RESULTING POPUP WINDOW WITH EITHER THE CANCEL BUTTON OR THE "X" BUTTON. IF YOU CLICK "OK" YOU WILL RESET THE USER TO A BLANK PASSWORD.
----------------------------------------------

Given the unsupported status of the code, the tweaks necessary to make it work, and the potential gotcha of an accidental blank password, I'm not surprised that MS isn't making this widely available. Pretty cool, however...
You're welcome