If this is in Active Directory the coolest way to do it is with unlock.exe.
It is freeware and is located on the free win32 tools page of
www.joeware.net
It works with delegated users unlike NET USER and cusrmgr.
It also will tell you WHO is currently locked out. For real, not the misinformation given in ADUC.
Also you can bulk unlock users at once based on filter.
As seen on page 176 recipe 6.9 (I didn't pick that recipe number but it sure is easy to remember...) in Robbie Allen's
Active Directory Cookbook (O'Reilly). Actually if anyone is doing AD Scripting, this is the book to have next to your
machine.
joe