Link to home
Start Free TrialLog in
Avatar of anil_26
anil_26

asked on

I need a list of disabled accounts ?

I need a list of disabled accounts from a database of 1000 users ? Is there any utility ?
Sorry for less points but these are the only I have.
Thanks.
Avatar of chigrik
chigrik

Read about "How can I create a list of all User Accounts?"
http://www.ntfaq.com/ntfaq/userconf27.html
I hope it's possible to create the list of all disabled accounts with this
utilities, but I have not NT Server Resource Kit and can not check it myself.
Not sure if there is one, but you can check out the following places, do searches where necessary:

http://ntware.ntware.com
http://www.jsiinc.com/reghack.htm
http://www.bhs.com
http://www.ntaccounts.com/eng
http://www.nttools.co.uk

(Worth a try)
Anil,

   The USRSTAT command seems to come the closest to doing what you want. Unfortunatley it doesnt give info on the accounts current status, it simply displays logon time, or 'never' if the account hasnt been used.

   Here is a suggestion..though it is a lot of work, you will only have to do it once and then youre done...Go through each account and locate the one that are disabled (a real pain I know, Ive done it too..)open each disabled account and place a marker i.e. DISABLED either as part of the 'full name' or 'description field. Now it will show up when you dump it out using usrstat. You could create a batch file that  does a GREP (or Rexx or Perl script) on the output of the userstat for the word DISABLED.

Kind of a pain but you only have to do it once and then remember to add the marker when you disable an account.

pete
ASKER CERTIFIED SOLUTION
Avatar of RichardMoran
RichardMoran

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 anil_26

ASKER

Answer accepted
Avatar of anil_26

ASKER

Thanks Pete but the solution by Richard was excellent.Chigrik the article suggested was really good.
Thanks
Anil