%3CLINGO-SUB%20id%3D%22lingo-sub-399156%22%20slang%3D%22en-US%22%3EYou%20probably%20don't%20need%20ACCTINFO2.DLL%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-399156%22%20slang%3D%22en-US%22%3E%0A%20%26lt%3Bmeta%20http-equiv%3D%22Content-Type%22%20content%3D%22text%2Fhtml%3B%20charset%3DUTF-8%22%20%2F%26gt%3B%3CSTRONG%3EFirst%20published%20on%20TechNet%20on%20Apr%2012%2C%202011%20%3C%2FSTRONG%3E%20%3CBR%20%2F%3E%20Hi%20folks%2C%20%3CA%20href%3D%22https%3A%2F%2Ftwitter.com%2FNerdPyle%22%20target%3D%22_blank%22%20rel%3D%22nofollow%20noopener%20noreferrer%20noopener%20noreferrer%22%3E%20Ned%20%3C%2FA%3E%20here%20again.%20Customers%20periodically%20ask%20us%20for%20a%20rumored%20replacement%20for%20the%20%3CA%20href%3D%22http%3A%2F%2Fwww.microsoft.com%2Fdownloads%2Fen%2Fdetails.aspx%3FFamilyId%3D7AF2E69C-91F3-4E63-8629-B999ADDE0B9E%26amp%3Bdisplaylang%3Den%22%20target%3D%22_blank%22%20rel%3D%22noopener%20noreferrer%20noopener%20noreferrer%22%3E%20Windows%202000%20%3CSTRONG%3E%20acctinfo.dll%20%3C%2FSTRONG%3E%20%3C%2FA%3E%20that%20works%20on%2064-bit%20Windows%207%20and%20Windows%20Server%202008%20R2%20%3CSTRONG%3E%20.%20%3C%2FSTRONG%3E%20That%20old%20DLL%20added%20an%20extra%20tab%20to%20the%20Active%20Directory%20Users%20and%20Computers%20snap-in%20to%20centralize%20some%20user%20account%20info%3A%20%3CBR%20%2F%3E%3CBLOCKQUOTE%3E%3CIMG%20src%3D%22https%3A%2F%2Ftechcommunity.microsoft.com%2Ft5%2Fimage%2Fserverpage%2Fimage-id%2F104712iD609DC2CCB3FBFC4%22%20%2F%3E%3C%2FBLOCKQUOTE%3E%3CBR%20%2F%3E%20Pretty%20cool.%20You%20can%20see%20account%20lockout%20status%2C%20last%20logon%20time%2C%20account%20is%20locked%20out%2C%20and%20other%20goo.%20%3CBR%20%2F%3E%20%3CBR%20%2F%3E%20Even%20though%20that%20newer%20%3CEM%3E%20unsupported%20%3C%2FEM%3E%20%3CSTRONG%3E%20acctinfo2.dll%20%3C%2FSTRONG%3E%20file%20exists%20-%20yes%2C%20even%20in%20x64%20format%20-%20there%20is%20a%20supported%20way%20to%20see%20this%20info%20as%20long%20as%20your%20admins%20use%20Win7%20%2B%20%3CA%20href%3D%22http%3A%2F%2Fwww.microsoft.com%2Fdownloads%2Fen%2Fdetails.aspx%3FFamilyID%3D7D2F6AD7-656B-4313-A005-4E344E43997D%26amp%3Bdisplaylang%3Den%22%20target%3D%22_blank%22%20rel%3D%22noopener%20noreferrer%20noopener%20noreferrer%22%3E%20RSAT%20%3C%2FA%3E%20or%20Win2008%20R2.%20%3CBR%20%2F%3E%3CH3%20id%3D%22toc-hId-1539560829%22%20id%3D%22toc-hId-1565627771%22%3ESome%20Background%3C%2FH3%3E%3CBR%20%2F%3E%20Windows%20Server%202008%20R2%20introduced%20a%20new%20service%20called%20the%20%3CA%20href%3D%22http%3A%2F%2Fwww.microsoft.com%2Fdownloads%2Fen%2Fdetails.aspx%3Fdisplaylang%3Den%26amp%3BFamilyID%3D008940c6-0296-4597-be3e-1d24c1cf0dda%22%20target%3D%22_blank%22%20rel%3D%22noopener%20noreferrer%20noopener%20noreferrer%22%3E%20Active%20Directory%20Management%20Gateway%20%3C%2FA%3E%20(also%20called%20the%20AD%20Web%20Service).%20AD%20PowerShell%20uses%20this%20component%20as%20a%20sort%20of%20proxy%20into%20Active%20Directory.%20This%20is%20fine%20if%20you%20are%20native%20Windows%20Server%202008%20R2%20and%20Windows%207%2C%20but%20for%20most%20companies%2C%20that's%20going%20to%20take%20a%20while.%20While%20this%20includes%20quasi-web%20traffic%20-%20the%20.Net%20Negotiated%20Stream%20protocol%20-%20we%20sign%20and%20seal%20all%20LDAP%20traffic.%20You%20can%20further%20secure%20the%20traffic%20by%20deploying%20Domain%20Controller%20or%20Domain%20Controller%20Auth%20certificates%20-%20something%20that%20happens%20automatically%20with%20the%20%3CA%20href%3D%22http%3A%2F%2Fblogs.technet.com%2Fb%2Faskds%2Farchive%2F2011%2F04%2F11%2Fdesigning-and-implementing-a-pki-series-wrapup-and-downloadable-copies.aspx%22%20target%3D%22_blank%22%20rel%3D%22nofollow%20noopener%20noreferrer%20noopener%20noreferrer%22%3E%20deployment%20of%20an%20Enterprise%20PKI%20%3C%2FA%3E%20in%20your%20domain.%20%3CBR%20%2F%3E%20%3CBR%20%2F%3E%20Knowing%20this%2C%20we%20released%20an%20out%20of%20band%20version%20of%20this%20service%20-%20you%20can%20grab%20it%20%3CA%20href%3D%22http%3A%2F%2Fwww.microsoft.com%2Fdownloads%2Fen%2Fdetails.aspx%3Fdisplaylang%3Den%26amp%3BFamilyID%3D008940c6-0296-4597-be3e-1d24c1cf0dda%22%20target%3D%22_blank%22%20rel%3D%22noopener%20noreferrer%20noopener%20noreferrer%22%3E%20here%20%3C%2FA%3E%20.%20Install%20it%20and%20its%20support%20files%20on%20Windows%20Server%202003%20or%20Windows%20Server%202008%20and%20your%20shiny%20new%20Win7%20clients%20can%20run%20AD%20PowerShell%20even%20if%20you%20don't%20have%20a%20single%20Win2008%20R2%20server%20in%20the%20forest.%20The%20service%20is%20fine%20to%20install%20only%20a%20few%20DCs%20as%20well%20-%20as%20long%20as%20those%20are%20up%20and%20routable%20to%20Win7%20clients%2C%20you%E2%80%99re%20good%20to%20go%3B%20not%20all%20DCs%20need%20run%20the%20service.%20Your%20Windows%207%20clients%20will%20find%20the%20updated%20servers%20automatically%2C%20or%20you%20can%20point%20to%20them%20specifically.%20%3CBR%20%2F%3E%3CH3%20id%3D%22toc-hId--1012596132%22%20id%3D%22toc-hId--986529190%22%3EThe%20New%20Way%20to%20Look%20at%20Users%3C%2FH3%3E%3CBR%20%2F%3E%20The%20%3CA%20href%3D%22http%3A%2F%2Ftechnet.microsoft.com%2Fen-us%2Flibrary%2Fdd560651(WS.10).aspx%22%20target%3D%22_blank%22%20rel%3D%22noopener%20noreferrer%20noopener%20noreferrer%22%3E%20Active%20Directory%20Administrative%20Center%20%3C%2FA%3E%20is%20another%20new%20component%20introduced%20by%20Windows%20Server%202008%20R2.%20Many%20admins%20gave%20it%20a%20glance%2C%20thought%20to%20themselves%20%22another%20ADUC%2C%20why%20bother%3F%22%2C%20and%20went%20back%20to%20their%20familiar%20old%20tool.%20If%20you%20like%20acctinfo.dll%20though%2C%20you%20should%20like%20ADAC.%20%3CBR%20%2F%3E%20%3CBR%20%2F%3E%20With%20Win7%20RSAT%20installed%20and%20the%20AD%20tools%20enabled%20(or%20RDP'ed%20into%20your%20Win2008%20R2%20servers%20for%20AD%20administration)%2C%20run%20%3CSTRONG%3E%20DSAC.EXE%20%3C%2FSTRONG%3E%20.%20You'll%20see%20this%3A%20%3CBR%20%2F%3E%3CBLOCKQUOTE%3E%3CIMG%20src%3D%22https%3A%2F%2Ftechcommunity.microsoft.com%2Ft5%2Fimage%2Fserverpage%2Fimage-id%2F104713i928625579721A2A0%22%20%2F%3E%3C%2FBLOCKQUOTE%3E%3CBR%20%2F%3E%20You%20can%20browse%20to%20users%20or%20search%20for%20them.%20I'll%20search%20for%20Sarah%20Davis%3A%20%3CBR%20%2F%3E%3CBLOCKQUOTE%3E%3CIMG%20src%3D%22https%3A%2F%2Ftechcommunity.microsoft.com%2Ft5%2Fimage%2Fserverpage%2Fimage-id%2F104714i4E88C72D596F9FCA%22%20%2F%3E%3C%2FBLOCKQUOTE%3E%3CBR%20%2F%3E%3CBLOCKQUOTE%3E%3CIMG%20src%3D%22https%3A%2F%2Ftechcommunity.microsoft.com%2Ft5%2Fimage%2Fserverpage%2Fimage-id%2F104715iE1C18F6E766AE451%22%20%2F%3E%3C%2FBLOCKQUOTE%3E%3CBR%20%2F%3E%20I%20open%20the%20user%20and%20so%20far%2C%20it%20looks%20pretty%20much%20like%20ADUC.%20%3CBR%20%2F%3E%3CBLOCKQUOTE%3E%3CIMG%20src%3D%22https%3A%2F%2Ftechcommunity.microsoft.com%2Ft5%2Fimage%2Fserverpage%2Fimage-id%2F104716i0C00869401F56908%22%20%2F%3E%3C%2FBLOCKQUOTE%3E%3CBR%20%2F%3E%20It%20saved%20me%20a%20click%20of%20the%20%22Account%22%20tab%20to%20see%20things%20like%20logon%20name%20and%20password%20options.%20However%2C%20I%20want%20all%20that%20account%20status%20goo!%20%3CBR%20%2F%3E%20%3CBR%20%2F%3E%20Say%2C%20what%20does%20that%20little%20nubbin%20arrow%20icon%20down%20in%20the%20lower%20left%20do%3F%20%3CBR%20%2F%3E%3CBLOCKQUOTE%3E%3CIMG%20src%3D%22https%3A%2F%2Ftechcommunity.microsoft.com%2Ft5%2Fimage%2Fserverpage%2Fimage-id%2F104717i3D09D47C4E3E33FD%22%20%2F%3E%3C%2FBLOCKQUOTE%3E%3CBR%20%2F%3E%20%3CEM%3E%20%3CCLICKITY%20click%3D%22%22%3E%20%3C%2FCLICKITY%3E%3C%2FEM%3E%20%3CBR%20%2F%3E%3CBLOCKQUOTE%3E%3CIMG%20src%3D%22https%3A%2F%2Ftechcommunity.microsoft.com%2Ft5%2Fimage%2Fserverpage%2Fimage-id%2F104718i1C60BE4B45BB5AB9%22%20%2F%3E%3C%2FBLOCKQUOTE%3E%3CBR%20%2F%3E%20Blammo!%20%3CBR%20%2F%3E%20%3CBR%20%2F%3E%20Compare%20that%20to%20the%20old%20%3CSTRONG%3E%20acctinfo.dll%20%3C%2FSTRONG%3E%20.%20%3A)%3C%2Fimg%3E%20Password%20info%2C%20lockout%20info%2C%20and%20logon%20info.%20Even%20the%20SID%20and%20GUID.%20There%20are%20a%20few%20things%20missing%20like%20%22account%20unlocks%20at%20%3CEM%3E%20such%20and%20such%20date%20%3C%2FEM%3E%20%22%20but%20their%20usefulness%20is%20questionable%20-%20if%20you%20care%20that%20someone%20is%20locked%20out%2C%20you%20mostly%20care%20about%20seeing%20%3CEM%3E%20when%20%3C%2FEM%3E%20they%20locked%20and%20unlocking%20%3CEM%3E%20now.%20%3C%2FEM%3E%20%3CSTRONG%3EAcctinfo2.dll%20%3C%2FSTRONG%3E%20doesn't%20show%20that%20either%2C%20btw.%20Moreover%2C%20if%20you%20want%20to%20change%20someone's%20password%20on%20a%20certain%20DC%2C%20just%20retarget%20to%20that%20DC.%20Better%20yet%2C%20always%20target%20the%20PDCE%3B%20DCs%20contact%20the%20PDCE%20after%20a%20failed%20logon%20%3CA%20href%3D%22http%3A%2F%2Fmsdn.microsoft.com%2Fen-us%2Flibrary%2Fcc223752(PROT.13).aspx%22%20target%3D%22_blank%22%20rel%3D%22noopener%20noreferrer%20noopener%20noreferrer%22%3E%20for%20another%20try%2C%20%3C%2FA%3E%20as%20it%20is%20likely%20to%20have%20the%20latest%20password%20from%20so-called%20urgent%20replication.%20In%20addition%2C%20account%20lockouts%20should%20be%20the%20most%20up%20to%20date%20on%20a%20PDCE.%20%3CBR%20%2F%3E%20%3CBR%20%2F%3E%20Oh%2C%20and%20stop%20using%20account%20lockout%20policy%20anyway%2C%20%3CA%20href%3D%22http%3A%2F%2Fblogs.technet.com%2Fb%2Faskds%2Farchive%2F2011%2F02%2F22%2Fi-moved-my-pdce-role-and-accounts-started-locking-out.aspx%22%20target%3D%22_blank%22%20rel%3D%22nofollow%20noopener%20noreferrer%20noopener%20noreferrer%22%3E%20it's%20vile%20%3C%2FA%3E%20.%20Use%20complex%20passwords%20and%20get%20%3CA%20href%3D%22http%3A%2F%2Ftechnet.microsoft.com%2Fen-us%2Flibrary%2Fbb381258.aspx%22%20target%3D%22_blank%22%20rel%3D%22noopener%20noreferrer%20noopener%20noreferrer%22%3E%20ACS%20%3C%2FA%3E%20to%20track%20for%20brute%20force%20bad%20password%20attempts.%20Turning%20on%20account%20lockouts%20is%20a%20way%20to%20guarantee%20someone%20with%20%3CEM%3E%20no%20credentials%20%3C%2FEM%3E%20can%20deny%20service%20to%20%3CEM%3E%20your%20entire%20domain%20%3C%2FEM%3E%20.%20Locking%20out%20your%20boss'%20account%20will%20be%20a%20very%20convincing%20demonstration%E2%80%A6%20mmm%2C%20maybe%20just%20a%20test%20admin%20account.%20J%20%3CBR%20%2F%3E%3CH3%20id%3D%22toc-hId-730214203%22%20id%3D%22toc-hId-756281145%22%3EWhile%20we're%20in%20here%3C%2FH3%3E%3CBR%20%2F%3E%20Need%20to%20see%20the%20%E2%80%9CAttribute%20Editor%E2%80%9D%20extension%20on%20RSAT%20client%20versions%20of%20ADAC%20to%20get%20more%20%22ADUC%20parity%22%20at%20examining%20users%3F%20You%20can%20enable%20that%20tab%20by%20adding%20the%20%3CSTRONG%3E%20%7Bc7436f12-a27f-4cab-aaca-2bd27ed1b773%7D%20%3C%2FSTRONG%3E%20displayspecifier%20with%20these%20steps%20(again%2C%20using%20my%20sample%20domain%20cohowinery.com%20as%20the%20example)%3A%20%3CBR%20%2F%3E%20%3CBR%20%2F%3E%201.%20Logon%20as%20an%20enterprise%20admin.%20%3CBR%20%2F%3E%20%3CBR%20%2F%3E%202.%20Run%20%3CSTRONG%3E%20ADSIEDIT.MSC%20%3C%2FSTRONG%3E%20and%20connect%20to%20the%20Configuration%20Partition.%20%3CBR%20%2F%3E%20%3CBR%20%2F%3E%203.%20Navigate%20to%3A%20%3CBR%20%2F%3E%3CBLOCKQUOTE%3E%3CSTRONG%3ECN%3Duser-Display%2CCN%3D409%2CCN%3DDisplaySpecifiers%2CCN%3DConfiguration%2CDC%3Dcohowinery%2CDC%3Dcom%20%3C%2FSTRONG%3E%20%3CBR%20%2F%3E%20%3CBR%20%2F%3E%20%3CEM%3E%20Note%3A%20409%20is%20%22US%20English%22.%20You%20will%20need%20to%20repeat%20all%20these%20steps%20for%20any%20other%20languages%20used%20in%20your%20environment.%20%3C%2FEM%3E%3C%2FBLOCKQUOTE%3E%3CBR%20%2F%3E%204.%20Edit%20%3CSTRONG%3E%20user-Display%20%3C%2FSTRONG%3E%20container.%20%3CBR%20%2F%3E%20%3CBR%20%2F%3E%205.%20Edit%20the%20%3CSTRONG%3E%20adminPropertyPages%20%3C%2FSTRONG%3E%20attribute.%20%3CBR%20%2F%3E%20%3CBR%20%2F%3E%206.%20Determine%20the%20highest%20index%20value%20listed.%20For%20example%20in%20mine%2C%20it%20was%20%3CSTRONG%3E%2010%20%3C%2FSTRONG%3E%20.%20%3CBR%20%2F%3E%20%3CBR%20%2F%3E%207.%20Add%20the%20GUID%20%3CSTRONG%3E%20%7Bc7436f12-a27f-4cab-aaca-2bd27ed1b773%7D%20%3C%2FSTRONG%3E%20set%20with%20the%20%3CSTRONG%3E%20%3CEM%3E%20next%20%3C%2FEM%3E%20%3C%2FSTRONG%3E%20highest%20index%20number.%20For%20example%2C%20here%20I%20added%3A%20%3CBR%20%2F%3E%3CBLOCKQUOTE%3E11%2C%7Bc7436f12-a27f-4cab-aaca-2bd27ed1b773%7D%3C%2FBLOCKQUOTE%3E%3CBR%20%2F%3E%3CBLOCKQUOTE%3E%3CIMG%20src%3D%22https%3A%2F%2Ftechcommunity.microsoft.com%2Ft5%2Fimage%2Fserverpage%2Fimage-id%2F104719iFBE61292370A7A47%22%20%2F%3E%3C%2FBLOCKQUOTE%3E%3CBR%20%2F%3E%208.%20Close%20%3CSTRONG%3E%20adsiedit%20%3C%2FSTRONG%3E%20.%20Replicate%20this%20value%20to%20all%20DCs%20in%20the%20forest%20through%20natural%20convergence%20or%20forcing%20with%20%3CSTRONG%3E%20repadmin.exe%20%3C%2FSTRONG%3E%20.%20%3CBR%20%2F%3E%20%3CBR%20%2F%3E%209.%20Once%20done%20replicating%20to%20all%20DCs%2C%20anytime%20you%20start%20%3CSTRONG%3E%20DSAC.EXE%20%3C%2FSTRONG%3E%20all%20users%20will%20show%20the%20Attribute%20Editor.%20%3CBR%20%2F%3E%3CBLOCKQUOTE%3E%3CIMG%20src%3D%22https%3A%2F%2Ftechcommunity.microsoft.com%2Ft5%2Fimage%2Fserverpage%2Fimage-id%2F104720i6568FDBA3D905F3E%22%20%2F%3E%3C%2FBLOCKQUOTE%3E%3CBR%20%2F%3E%20%3CSTRONG%3ENote%3A%20%3C%2FSTRONG%3E%20before%20you%20get%20all%20froggy%20about%20these%20steps%20-%20if%20you%20end%20up%20using%20%3CSTRONG%3E%20acctinfo2.dll%20%3C%2FSTRONG%3E%20you%20will%20have%20to%20modify%20its%20displaySpecifier%20data%20as%20well.%20%3A)%3C%2Fimg%3E%20%3CBR%20%2F%3E%20%3CBR%20%2F%3E%20%3CEM%3E%20%3CSTRONG%3E%20Update%2012%2F10%2F2012%20%3C%2FSTRONG%3E%20%3C%2FEM%3E%20%3CBR%20%2F%3E%20%3CBR%20%2F%3E%20%3CEM%3E%20%3CSTRONG%3E%20Your%20feedback%20in%20the%20Comments%20was%20heard%20in%20Windows%20Server%202012.%20ADAC%20now%20also%20shows%20Password%20Last%20Set%20and%20Password%20Expiration%20info%3A%20%3C%2FSTRONG%3E%20%3C%2FEM%3E%20%3CBR%20%2F%3E%3CP%3E%3CSTRONG%3E%20%3CIMG%20src%3D%22https%3A%2F%2Ftechcommunity.microsoft.com%2Ft5%2Fimage%2Fserverpage%2Fimage-id%2F104721i90FB47B6FD35A92F%22%20%2F%3E%20%3C%2FSTRONG%3E%3C%2FP%3E%3CBR%20%2F%3E%20%3CBR%20%2F%3E%3CH3%20id%3D%22toc-hId--1821942758%22%20id%3D%22toc-hId--1795875816%22%3EA%20final%20note%3C%2FH3%3E%3CBR%20%2F%3E%20You%20will%20find%20a%20great%20many%20copies%20of%20%3CSTRONG%3E%20acctinfo2.dll%20%3C%2FSTRONG%3E%20floating%20around%2C%20but%20none%20hosted%20on%20Microsoft%20websites%20(we%20never%20released%20it%20publically%2C%20it%20was%20just%20a%20side-project%20for%20a%20Support%20engineer%20here%20in%20Charlotte).%20Before%20you%20install%20those%2C%20consider%20this%3A%20you%20plan%20to%20load%20a%20DLL%20from%20some%20%3CEM%3E%20random%20place%20on%20the%20Internet%20%3C%2FEM%3E%20into%20one%20of%20your%20most%20powerful%20AD%20admin%20tools%2C%20and%20then%20run%20that%20tool%20as%20a%20%3CEM%3E%20Domain%20Admin%20%3C%2FEM%3E%20.%20And%20you%20have%20no%20way%20to%20know%20if%20that's%20some%20leaked%20MS%20version%20of%20the%20file%20or%20one%20adulterated%20by%20hackers.%20%3CBR%20%2F%3E%20%3CBR%20%2F%3E%20Still%20sound%20like%20a%20good%20plan%3F%20%3CBR%20%2F%3E%20%3CBR%20%2F%3E%20If%20you%20absolutely%20must%20use%20this%20DLL%2C%20you%20should%20only%20get%20it%20by%20contacting%20MS%20through%20a%20support%20case.%20If%20I%20wrote%20malware%2C%20an%20admin-only%20file%20injected%20into%20AD%20management%20tools%20would%20be%20my%20first%20choice%20for%20pwnage.%20%3CBR%20%2F%3E%20%3CBR%20%2F%3E%20Until%20next%20time.%20%3CBR%20%2F%3E%20%3CBR%20%2F%3E%20Ned%20%22the%20guy%20that%20wrote%20acctinfo2.dll%20has%20ostrich%20legs%22%20Pyle%3C%2FLINGO-BODY%3E%3CLINGO-TEASER%20id%3D%22lingo-teaser-399156%22%20slang%3D%22en-US%22%3EFirst%20published%20on%20TechNet%20on%20Apr%2012%2C%202011%20Hi%20folks%2C%20Ned%20here%20again.%3C%2FLINGO-TEASER%3E%3CLINGO-LABS%20id%3D%22lingo-labs-399156%22%20slang%3D%22en-US%22%3E%3CLINGO-LABEL%3Eaccount%20lockout%3C%2FLINGO-LABEL%3E%3CLINGO-LABEL%3Eadac%3C%2FLINGO-LABEL%3E%3CLINGO-LABEL%3Ened%20pyle%3C%2FLINGO-LABEL%3E%3CLINGO-LABEL%3ERSAT%3C%2FLINGO-LABEL%3E%3CLINGO-LABEL%3ESecurity%3C%2FLINGO-LABEL%3E%3CLINGO-LABEL%3EWindows%207%3C%2FLINGO-LABEL%3E%3CLINGO-LABEL%3Ewindows%20server%202008%20r2%3C%2FLINGO-LABEL%3E%3C%2FLINGO-LABS%3E
Microsoft
First published on TechNet on Apr 12, 2011
Hi folks, Ned here again. Customers periodically ask us for a rumored replacement for the Windows 2000 acctinfo.dll that works on 64-bit Windows 7 and Windows Server 2008 R2 . That old DLL added an extra tab to the Active Directory Users and Computers snap-in to centralize some user account info:

Pretty cool. You can see account lockout status, last logon time, account is locked out, and other goo.

Even though that newer unsupported acctinfo2.dll file exists - yes, even in x64 format - there is a supported way to see this info as long as your admins use Win7 + RSAT or Win2008 R2.

Some Background


Windows Server 2008 R2 introduced a new service called the Active Directory Management Gateway (also called the AD Web Service). AD PowerShell uses this component as a sort of proxy into Active Directory. This is fine if you are native Windows Server 2008 R2 and Windows 7, but for most companies, that's going to take a while. While this includes quasi-web traffic - the .Net Negotiated Stream protocol - we sign and seal all LDAP traffic. You can further secure the traffic by deploying Domain Controller or Domain Controller Auth certificates - something that happens automatically with the deployment of an Enterprise PKI in your domain.

Knowing this, we released an out of band version of this service - you can grab it here . Install it and its support files on Windows Server 2003 or Windows Server 2008 and your shiny new Win7 clients can run AD PowerShell even if you don't have a single Win2008 R2 server in the forest. The service is fine to install only a few DCs as well - as long as those are up and routable to Win7 clients, you’re good to go; not all DCs need run the service. Your Windows 7 clients will find the updated servers automatically, or you can point to them specifically.

The New Way to Look at Users


The Active Directory Administrative Center is another new component introduced by Windows Server 2008 R2. Many admins gave it a glance, thought to themselves "another ADUC, why bother?", and went back to their familiar old tool. If you like acctinfo.dll though, you should like ADAC.

With Win7 RSAT installed and the AD tools enabled (or RDP'ed into your Win2008 R2 servers for AD administration), run DSAC.EXE . You'll see this:

You can browse to users or search for them. I'll search for Sarah Davis:


I open the user and so far, it looks pretty much like ADUC.

It saved me a click of the "Account" tab to see things like logon name and password options. However, I want all that account status goo!

Say, what does that little nubbin arrow icon down in the lower left do?

<Clickity click>

Blammo!

Compare that to the old acctinfo.dll . :) Password info, lockout info, and logon info. Even the SID and GUID. There are a few things missing like "account unlocks at such and such date " but their usefulness is questionable - if you care that someone is locked out, you mostly care about seeing when they locked and unlocking now. Acctinfo2.dll doesn't show that either, btw. Moreover, if you want to change someone's password on a certain DC, just retarget to that DC. Better yet, always target the PDCE; DCs contact the PDCE after a failed logon for another try, as it is likely to have the latest password from so-called urgent replication. In addition, account lockouts should be the most up to date on a PDCE.

Oh, and stop using account lockout policy anyway, it's vile . Use complex passwords and get ACS to track for brute force bad password attempts. Turning on account lockouts is a way to guarantee someone with no credentials can deny service to your entire domain . Locking out your boss' account will be a very convincing demonstration… mmm, maybe just a test admin account. J

While we're in here


Need to see the “Attribute Editor” extension on RSAT client versions of ADAC to get more "ADUC parity" at examining users? You can enable that tab by adding the {c7436f12-a27f-4cab-aaca-2bd27ed1b773} displayspecifier with these steps (again, using my sample domain cohowinery.com as the example):

1. Logon as an enterprise admin.

2. Run ADSIEDIT.MSC and connect to the Configuration Partition.

3. Navigate to:
CN=user-Display,CN=409,CN=DisplaySpecifiers,CN=Configuration,DC=cohowinery,DC=com

Note: 409 is "US English". You will need to repeat all these steps for any other languages used in your environment.

4. Edit user-Display container.

5. Edit the adminPropertyPages attribute.

6. Determine the highest index value listed. For example in mine, it was 10 .

7. Add the GUID {c7436f12-a27f-4cab-aaca-2bd27ed1b773} set with the next highest index number. For example, here I added:
11,{c7436f12-a27f-4cab-aaca-2bd27ed1b773}


8. Close adsiedit . Replicate this value to all DCs in the forest through natural convergence or forcing with repadmin.exe .

9. Once done replicating to all DCs, anytime you start DSAC.EXE all users will show the Attribute Editor.

Note: before you get all froggy about these steps - if you end up using acctinfo2.dll you will have to modify its displaySpecifier data as well. :)

Update 12/10/2012

Your feedback in the Comments was heard in Windows Server 2012. ADAC now also shows Password Last Set and Password Expiration info:



A final note


You will find a great many copies of acctinfo2.dll floating around, but none hosted on Microsoft websites (we never released it publically, it was just a side-project for a Support engineer here in Charlotte). Before you install those, consider this: you plan to load a DLL from some random place on the Internet into one of your most powerful AD admin tools, and then run that tool as a Domain Admin . And you have no way to know if that's some leaked MS version of the file or one adulterated by hackers.

Still sound like a good plan?

If you absolutely must use this DLL, you should only get it by contacting MS through a support case. If I wrote malware, an admin-only file injected into AD management tools would be my first choice for pwnage.

Until next time.

Ned "the guy that wrote acctinfo2.dll has ostrich legs" Pyle