What Defines an AD Object as "Inactive"
        Posted  
        
            by Malnizzle
        on Server Fault
        
        See other posts from Server Fault
        
            or by Malnizzle
        
        
        
        Published on 2010-02-26T15:24:04Z
        Indexed on 
            2010/03/24
            17:13 UTC
        
        
        Read the original article
        Hit count: 460
        
I am going to be using some DSQUERY/DSMOVE scripts to clean up my AD Domin. One option is to move inactive objects to a OU that has restrictive GPOs applied to it.
Something like:
DSQUERY computer -inactive 10 | DSMOVE -newparent <distinguished name of target OU>
My question is what value defines an object, both user and computer, as "inactive" for a period of time? Is it the last time a computer was logged on to for computer accounts, and for users is it the last time that the user account logged on to a computer?
But what if, say for example, I had a web server that wasn't rebooted and or logged into for a couple of months but remain powered on and functioning as normal, would it be defined as "inactive" where as technically it's still serving web pages and so on?
Thanks for the help!
© Server Fault or respective owner