Duplicate Devices in SCCM

Rafael Aguilar 496 Reputation points
2020-08-20T17:43:03.64+00:00

Hi, Team.

I have over 100 duplicate teams at SCCM. Why does that happen? Some network problem? And how could I fix it?

I'm checking every computer.

19129-image.png

19140-image.png

Microsoft Configuration Manager
0 comments No comments
{count} votes

Accepted answer
  1. AllenLiu-MSFT 42,351 Reputation points Microsoft Vendor
    2020-08-21T02:22:26.13+00:00

    Hi,

    Thank you for coming Microsoft Q&A forum.
    Duplicate Records are created due to the discovery data manager mechanism which runs a query and sorts the results by date. It will update the most recent returned result rather than the active result if more than 1 result is returned. Any subsequent AD discovery will then update the NULL or inactive entry in the database instead of the active entry.

    You may try to create a collection for collecting the duplicate system with NULL record use the below query:
    Select R.ResourceID,R.ResourceType,R.Name,R.SMSUniqueIdentifier,R.ResourceDomainORWorkgroup,R.Client from SMS_R_System as r full join SMS_R_System as s1 on s1.ResourceId = r.ResourceId full join SMS_R_System as s2 on s2.Name = s1.Name where s1.Name = s2.Name and s1.ResourceId != s2.ResourceId and R.Client = null

    Once the collection is created and records are populated. Right click the collection and click show members, then select all items and click delete.

    You may refer to the blog to get a deeper understanding of duplicate computer records:
    (Third party link, just for your reference)
    http://eskonr.com/2019/05/sccm-configmgr-collection-sql-identify-duplicate-computer-records-with-different-guid/


    If the response is helpful, please click "Accept Answer" and upvote it.

    Regards,
    Allen

    0 comments No comments

1 additional answer

Sort by: Most helpful
  1. Rafael Aguilar 496 Reputation points
    2020-08-21T23:46:18.117+00:00

    Hi.

    Thank you.

    I got the query from the external link.

    Regards.

    0 comments No comments