Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Chris Miller on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

'Old Computer accounts' how to remove automatically from Domain

Status
Not open for further replies.

Frank666

IS-IT--Management
Apr 27, 2005
49
AU
Have a load of computers on domain that are actually not physically here anymore, of course things have got out of hand and no-one seems to know which are not used and which are still in use. Is there a way to remove them automatically after a period of time?
 
Yep go with oldcmp as linked to above. You can use a combination of dsquery and dsmod/dsrm but this can get messy and does not have the built in safeguards of oldcmp. With oldcmp you have to specify a yes really do this, yes I am really sure, Yes I am absolutely positive switch onto the command. :-D

Paul
MCSE 2003
MCSA 2003
MCITP Enterprise Administrator

If there are no stupid questions, then what kind of questions do stupid people ask? Do they get smart just in time to ask questions?
Scott Adams
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top