Finding and removing 'ghost' users
I work in a relatively large AD and we've been having trouble with user objects that have been deleted... but not. I can't see these in ADUC, I can't find them in ADSI, they are not 'tombstoned' or in the AD Recycle Bin. If i try to create a new user with the same samaccountname, it'll fail saying that the user already exists. I can only see the user if i change the context of the search in ADUC to "Entire Directory", but i can't find it at all through powershell (Get-ADUser, Get-ADObject, etc). When i find the user with the 'Entire Directory' search, all tabs are blank save for a warning that the object may have been deleted, and i am unable to remove the user due to a similar error. The users all show an exchangeHomeServer that is long decommissioned, and have a blank exchangeHomeStore attribute.
These are former employees, they have not existed in several months. I just want to remove the objects. These symptoms seem like they were removed, but not replicated, but it has been months... Any ideas?
Posted Oct 4, 2016, 9:32 PM UTC
is replication broken? if not search for lingering objects?