Re: AD HOUSEKEEPING
- From: Mallika <Mallika@xxxxxxxxxxxxxxxxxxxxxxxxx>
- Date: Fri, 6 Oct 2006 01:59:02 -0700
Hi,
You can try DSQUERY to find all inactive accounts in particular
container.....
DSQUERY user CN=Users,DC=microsoft,DC=com -inactive 4 -limit 1000
Above query will list all users who didn't login to domain for the past one
month.
This will be more helpful for u. Let me know if you require any further help.
Mallika.
"ChristopherN" wrote:
Many thanks Paul, we'll give it a try!!.
"Paul Bergson" wrote:
I have a script for users, you can download it at:
http://www.pbbergs.com select download and click on "Active Directory User
Account Attributes" WMI needs to be loaded on the machine running this
applicaion.
--
Paul Bergson
MVP - Directory Services
MCT, MCSE, MCSA, Security+, BS CSi
2003, 2000 (Early Achiever), NT
http://www.pbbergs.com
Please no e-mails, any questions should be posted in the NewsGroup
This posting is provided "AS IS" with no warranties, and confers no rights.
"ChristopherN" <ChristopherN@xxxxxxxxxxxxxxxxxxxxxxxxx> wrote in message
news:621B4B28-6948-44FB-8439-B2799804FCAF@xxxxxxxxxxxxxxxx
Our domain functional level is currently at Windows 2000 mixed mode. We
are
going through a technical refresh and are upgrading all our servers to
Windows 2003, when the DCs have been upgraded we will move to Server 2003
mode. In the meantime we are trying to do some long overdue housekeeping
and
want to get rid of all inactive user accounts and computer accounts.
There is plenty advice on how to accomplish this in Server 2003 mode using
dsquery etc but we are stuck with Windows 2000 DCs at the moment. Does
anyone know of a script or a tool that we can run against our AD that will
produce a report of when user accounts and computer accounts last logged
on
or were used.
We have tried to use the free utility oldcmp without success. Any advice
or
leads would be really, really appreciated.
Many thanks - Chris
- Follow-Ups:
- Re: AD HOUSEKEEPING
- From: strongline
- Re: AD HOUSEKEEPING
- References:
- Re: AD HOUSEKEEPING
- From: Paul Bergson
- Re: AD HOUSEKEEPING
- Prev by Date: Re: Active directory users and computers - default domain control
- Next by Date: Replication
- Previous by thread: Re: AD HOUSEKEEPING
- Next by thread: Re: AD HOUSEKEEPING
- Index(es):
Relevant Pages
|