pramod1
asked on
ACTIVE DIRECTORY
is there any command shell or way to find CNF objects in active directory
like we have 4 or 5 domain controllers, don't know on where it s .
https://kickthatcomputer.wordpress.com/2014/11/22/seek-and-destroy-duplicate-ad-objects-with-cnf-in-the-name/
but how should i do query , how should i reach that page ,do i need to use adsiedit?
like we have 4 or 5 domain controllers, don't know on where it s .
https://kickthatcomputer.wordpress.com/2014/11/22/seek-and-destroy-duplicate-ad-objects-with-cnf-in-the-name/
but how should i do query , how should i reach that page ,do i need to use adsiedit?
ASKER
can i in any way see in GUI,
ASKER
I ran this in powershell but no output
Then you can use ADUC snap-in and saved query. Search for (cn=*cnf:*)
See more here: https://kickthatcomputer.wordpress.com/2014/11/22/seek-and-destroy-duplicate-ad-objects-with-cnf-in-the-name/
See more here: https://kickthatcomputer.wordpress.com/2014/11/22/seek-and-destroy-duplicate-ad-objects-with-cnf-in-the-name/
ASKER
https://kickthatcomputer.wordpress.com/2014/11/22/seek-and-destroy-duplicate-ad-objects-with-cnf-in-the-name/
is there any way i can do query , i go to users and computers but get lost, also i ran the command but need to delete those can i get the whole output in some text format
is there any way i can do query , i go to users and computers but get lost, also i ran the command but need to delete those can i get the whole output in some text format
ADUC -> left click on Saves queries -> New -> Query. Name it whatever you like. Click Define query and in Find field switch to custom search. Then click advanced tab and paste here (cn=*cnf:*). Clisk OK and once again OK to start search.
ASKER
cant type anything
Capture1.PNG
Capture1.PNG
The find drop down menu should be 'custom search' not 'computers'.
ASKER
ok, but how should i delete them when i get the result
Those are duplicated entries in active directory. If are not used can be safely deleted.
ASKER
so just right click and delete?
Yes indeed.
ASKER
will to go recycle bin or tombstone will clean it
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
dsquery * -filter "(cn=*cnf:*)"
For more info you can read this MS article:
https://social.technet.microsoft.com/wiki/contents/articles/15435.active-directory-duplicate-object-name-resolution.aspx