Windows Vista Tips

Windows Vista Tips > Newsgroups > Windows Server > Active Directory > Disabled/ Inactive users Listing across multiple domain controller

Reply
Thread Tools Display Modes

Disabled/ Inactive users Listing across multiple domain controller

 
 
Vish
Guest
Posts: n/a

 
      03-12-2005
Dear all

This is a question which is troubling me for a long time, we have around 10
Domain Controllers spread across geographies, we would like to undertake a
clean up of Inactive and disabled users so that we can migrate

we are not sure if inactive and disabled users replicate across all DCs and
we are not even sure if our dcs are in synch, is there any way to fins ths
one out

We would like to generate a list of inactive /disabled users , is there any
way to find this out

Request your help and guidance

Thanks
Vishnu
 
Reply With Quote
 
 
 
 
Al Mulnick
Guest
Posts: n/a

 
      03-12-2005
Inactive and disabled are two different things entirely.
One's easy to find and the other a little more difficult.

Start easy. Finding disabled users is pretty easy. You can use a variety
of methods including the dsquery tools. You need to have Windows 2003 and
be in a 2003 native domain for most of the switches you'll want.

LDAP can also be used and you can search for all disabled user objects in
the domain. Since this is replicated, only one domain controller needs to
be used.
The query would look something like:

(&(objectCategory=Person)(userAccountControl:1.2.8 40.113556.1.4.803:=2))
Execute the query at the top of the tree with a subtree search for all user
objects and it should return all your currently disabled users.

Inactive users is a little tougher to get accurately enough to automate.
However, for a good idea of what's inactive, you can use the dsquery tools
again this time with the inactive switch. It's common practice to cross
reference the list with the last time users changed their passwords to make
sure that an inactive user didn't change their password recently (inside the
password change windows of the domain). To really get into it, you'd want
to query each DC, but that's likely more than you'll get with dsquery
(unless you really have a lot of spare time and want to write some elaborate
command line queries

You can find more information about the dsquery tools here:
http://www.jsifaq.com/SUBO/tip7300/rh7330.htm

Al



"Vish" <> wrote in message
news:34844949-DC89-458C-B4DB-...
> Dear all
>
> This is a question which is troubling me for a long time, we have around
> 10
> Domain Controllers spread across geographies, we would like to undertake a
> clean up of Inactive and disabled users so that we can migrate
>
> we are not sure if inactive and disabled users replicate across all DCs
> and
> we are not even sure if our dcs are in synch, is there any way to fins ths
> one out
>
> We would like to generate a list of inactive /disabled users , is there
> any
> way to find this out
>
> Request your help and guidance
>
> Thanks
> Vishnu



 
Reply With Quote
 
Al Mulnick
Guest
Posts: n/a

 
      03-12-2005
Doh!

I totally spaced when it came to mentioning a great tool you can get from
Joeware.net. ADFIND is a great tool you may also want to check out.
http://www.joeware.net/

"Al Mulnick" <> wrote in message
news:%...
> Inactive and disabled are two different things entirely.
> One's easy to find and the other a little more difficult.
>
> Start easy. Finding disabled users is pretty easy. You can use a variety
> of methods including the dsquery tools. You need to have Windows 2003 and
> be in a 2003 native domain for most of the switches you'll want.
>
> LDAP can also be used and you can search for all disabled user objects in
> the domain. Since this is replicated, only one domain controller needs to
> be used.
> The query would look something like:
>
> (&(objectCategory=Person)(userAccountControl:1.2.8 40.113556.1.4.803:=2))
> Execute the query at the top of the tree with a subtree search for all
> user objects and it should return all your currently disabled users.
>
> Inactive users is a little tougher to get accurately enough to automate.
> However, for a good idea of what's inactive, you can use the dsquery tools
> again this time with the inactive switch. It's common practice to cross
> reference the list with the last time users changed their passwords to
> make sure that an inactive user didn't change their password recently
> (inside the password change windows of the domain). To really get into
> it, you'd want to query each DC, but that's likely more than you'll get
> with dsquery (unless you really have a lot of spare time and want to write
> some elaborate command line queries
>
> You can find more information about the dsquery tools here:
> http://www.jsifaq.com/SUBO/tip7300/rh7330.htm
>
> Al
>
>
>
> "Vish" <> wrote in message
> news:34844949-DC89-458C-B4DB-...
>> Dear all
>>
>> This is a question which is troubling me for a long time, we have around
>> 10
>> Domain Controllers spread across geographies, we would like to undertake
>> a
>> clean up of Inactive and disabled users so that we can migrate
>>
>> we are not sure if inactive and disabled users replicate across all DCs
>> and
>> we are not even sure if our dcs are in synch, is there any way to fins
>> ths
>> one out
>>
>> We would like to generate a list of inactive /disabled users , is there
>> any
>> way to find this out
>>
>> Request your help and guidance
>>
>> Thanks
>> Vishnu

>
>



 
Reply With Quote
 
ptwilliams
Guest
Posts: n/a

 
      03-13-2005
I believe you can also use oldcmp from the same site (www.joeware.net).

It's designed to find inactive computer accounts, but can also find inactive
user accounts.


--

Paul Williams

http://www.msresource.net/
http://forums.msresource.net/


 
Reply With Quote
 
Jerold Schulman
Guest
Posts: n/a

 
      03-13-2005
On Sat, 12 Mar 2005 11:11:05 -0800, "Vish" <> wrote:

>Dear all
>
>This is a question which is troubling me for a long time, we have around 10
>Domain Controllers spread across geographies, we would like to undertake a
>clean up of Inactive and disabled users so that we can migrate
>
>we are not sure if inactive and disabled users replicate across all DCs and
>we are not even sure if our dcs are in synch, is there any way to fins ths
>one out
>
>We would like to generate a list of inactive /disabled users , is there any
>way to find this out
>
>Request your help and guidance
>
>Thanks
>Vishnu


In addition to the excellent responses, Windows Server has the builtin Directory Services command-line utilities.
See tip 6820 in the 'Tips & Tricks' at http://www.jsiinc.com

To find inactive users:
dsquery user -inactive NumberOfWeeks -limit 0

To find disabled users:

dsquery user -disabled -limit 0

See tip 7992.



Jerold Schulman
Windows Server MVP
JSI, Inc.
http://www.jsiinc.com
 
Reply With Quote
 
 
 
Reply

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Re: Disabled Domain Controller Meinolf Weber Windows Server 4 03-30-2008 01:02 PM
Re: Disabled Domain Controller Meinolf Weber Windows Server 0 03-24-2008 08:50 PM
Re: Disabled Domain Controller Meinolf Weber Windows Server 0 03-24-2008 08:45 PM
domain controller security policy disabled Song Tan Windows Small Business Server 4 05-31-2007 08:59 AM
AD Users and Computers Not listing whole domain Noamer Active Directory 1 12-20-2004 09:36 AM



1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59