In
Martin said:
I've many objects workstations in AD they dont not exist now and I
need detect and delete these. Maybe with any value in AD of last
logon of workstation but I dont know what is?
Somebody have any idea for it?
Thanks in advanced
See if this old post by Cary Shultz helps you out:
============
From: Cary Shultz [A.D. MVP]
Newsgroups: microsoft.public.win2000.active_directory
Sent: Sunday, March 21, 2004 7:32 AM
Subject: Re: Deleting Old computer accounts
I might suggest that you take a look at
http://www.joeware.net as he has a
very nice tool there - called oldcmp. It is in the free C++ tools
section.
It will allow you to first create a report - if you wish - so that you can
see how many computer account objects that you have that are xxx days old
( as Johann so aptly explained ). You can set the 'xxx' part - it
defaults
to 90 days - with the "/age xxx days" switch. You can then go in and
disable the computer account objects that meet your requirements. Only
after you have first disabled the computer account objects in question can
you then delete them.
=============
--
Ace
This posting is provided "AS-IS" with no warranties or guarantees and
confers no rights.
If this post is viewed at a non-Microsoft community website, and you were
to respond to it through that community's website, I may not see your
reply unless that website posts replies back to the original Microsoft
forum. Therefore, please direct all replies ONLY to the Microsoft public
newsgroup this thread originated in so all can benefit or ensure the web
community posts it back to the original forum.
Ace Fekay, MCSE 2003 & 2000, MCSA 2003 & 2000, MCSE+I, MCT, MVP
Microsoft Windows MVP - Windows Server - Directory Services
Microsot Certified Trainer
Infinite Diversities in Infinite Combinations.
=================================