Re: Scavenging Machine Acounts in AD

Tech Tip: Click here to run a free scan for Windows Errors and optimize PC performance

From: Joe Richards [MVP] (humorexpress_at_hotmail.com)
Date: 10/16/04


Date: Fri, 15 Oct 2004 22:46:09 -0400

Let me correct that URL... www.joeware.net

if you want you can read about it in the current Windows IT Pro magazine. It is
one of 5 Best Tools for AD (I have 2 other tools in that list as well).

   joe

--
Joe Richards Microsoft MVP Windows Server Directory Services
www.joeware.net
Cary Shultz [A.D. MVP] wrote:
> Mutsa,
> 
> A large part of the problem apparently is that the domain user account
> object is a member of the computer's local Administrators group.  I suggest
> this as the only way that this action ( to rename a computer or to join it
> to a domain/workgroup ) is available is if the domain user account object is
> a member of the local Administrators group ( or that the domain user account
> object being used to do this is a member of the Domain Admins or other 'top
> level' special groups ).
> 
> A 'regular' domain user account object *should* not be a member of any of
> these groups.  This problem very quickly goes away if this basic security
> policy is maintained and enforced ( as the ability to do this is not
> available ).
> 
> There is also the behavioral problem ( which, again, would not be possible
> where basic security policies in place - but I do understand that this is
> not always possible politically.  Which is always a horrible horrible
> horrible reason).  Management and HR might need to be involved and your user
> base needs to be made aware that they are not to be messing with the
> computer account objects in any way, shape or form.  However, this requires
> HR and Management to be in agreement with the IT Department's stance on
> this.  This is not always the case ( as mentioned above ) so......
> 
> Now, while this is not an 'automagic' approach you can go to Joe Richard's
> website at http://www.joesware.net and look at his free utilities section.
> There is something called oldcmp that will do what you need.  However, you
> do need to manually run this ( or set up something so that it runs on a
> schedule ).  Be advised that you must first disable any computer account
> objects before you can delete them.   This is just one of the several
> safeguards that Joe wisely built in to this awesome utility.
> 
> HTH,
> 
> Cary
> 
> "mutsa" <mutsa@roke.co.uk> wrote in message
> news:%232w2u$3rEHA.2168@TK2MSFTNGP10.phx.gbl...
> 
>>Does any one know if there is an automatic way to scavenge and delete the
>>accounts of machines that have been taken permanently off-line but have
> 
> not
> 
>>been cleanly removed from the domain.
>>
>>For example a machine is built using RIS which will automatically add that
>>client to AD. After that the user removes the machine from the network to
>>make it stand-alone, but does not inform me. I would like that machines
>>account to be either deleted automatically from AD after a set period of
>>time of say 60 days or disabled somehow.
>>
>>Is this possible and can anyone help.
>>
>>MMMSD
>>
>>
> 
> 
> 


Relevant Pages

  • Re: local domain password policy
    ... locally to the machine (aka not with the domain user account object) or ... are you talking about logging into the domain (aka with the domain user ... I am guessing that you are talking about the domain user account object. ... And the 'new' policy ...
    (microsoft.public.win2000.group_policy)
  • Re: Scavenging Machine Acounts in AD
    ... A large part of the problem apparently is that the domain user account ... object is a member of the computer's local Administrators group. ... I would like that machines ...
    (microsoft.public.win2000.active_directory)
  • Re: Xp Client on NT 4.0 Domain - Local Security too high
    ... You need to add their domain user account to the local administrators group on their ... machines, assuming that is what you want. ...
    (microsoft.public.windowsxp.security_admin)
  • Re: policie on the domaine 2003
    ... If your domain user account objects ... are not members of the local Administrators group then they will not be able ... you want users creating shared folders on the local WINXP workstations. ... I have a trouble on windows xp pro connected to a 2003 active directory. ...
    (microsoft.public.windows.server.active_directory)
  • Re: Using oledb in windows service
    ... Have installed the service on several machines, ... Service installed as LocalSystem but same problem when using local user ... account or domain user account, both servers installed in same domain ... > Hi Roel, ...
    (microsoft.public.vb.database.ado)