This discussion has been locked.
You can no longer post new replies to this discussion. If you have a question you can start a new discussion

Duplicate Computer Account - but can't delete one of them

I have a duplicate computer account in Users and Computers.  One can be found but the other comes up with 'Object <CN and Domain info removed> cannot be found.  Please reset the filter settings and try again'.   I've looked at the filter and it's listing over the amount for devices we have on the estate.  (when I search active directory it only finds one device - so it's looking like a Safeguard DB issue)

I've run the relevant database checks from the console and via the SGNKeytester but nothing is showing as an issue.   Now I could delete the one that actually opens but we've got a desktop engineer attempting to a challenge / Response on the device in question.


He's getting....

Missing POA or key information. Please check computer's inventory.The Virtual Client is required.
The XML recovery file is required.


....on the web console


Any idea I can figure out which one is the real device?  

/edit if anyone has a solution please let me know - so it's here for future reference :) -  it's not an issue any more as we deleted both entries (it let me delete the 'other' one after deleting the first) and the device is being re-imaged.



This thread was automatically locked due to age.
Parents
  • FormerMember
    0 FormerMember
    Hi Stephen,

    Do you get one machine in auto-registered while the other is in the right place?

    Basically, if a computer or user is auto-registered while an Active Directory (AD) sync is performed, two objects may be generated in the SafeGuard directory. The situation can be solved by deleting the object that was added by the AD sync and leaving the one in the ".Auto registered" folder.
    The next AD sync will correctly move the object from the ".Auto registered" folder into the desired organizational unit.

    When the SGN Client has version 5.60 or 6.0 and users log on using the format name@domain or domain\name, then auto-registration of these users leads to a problem with the Active Directory synchronization later. Instead of moving the auto-registered user to the correct organizational unit, the Active Directory synchronization instead will generate a duplicate user object. This issue can be solved by importing new users into the Management Center before they do their first logon on the Client. Another workaround would be to correct the pre-Windows 2000 user name of the user in the auto-registered folder in the Management Center (via context menu > Properties). If a duplicate user object already exists, the one imported from Active Directory should be deleted.

    If a computer is missing its inventory it's best just to slave and decrypt the hard drive, recover the data, then re-image the machine. Hope that helps Stephen!
  • Had another one appear today - Nothing in the auto registered container. Is there a way we can report on duplicate names to identify how many we have (and potentially why) - failing that I might log a support call.
Reply Children
  • FormerMember
    0 FormerMember in reply to StephenCooper

    Hey Stephen,

    For the duplicate machines you should be able to use something like this run against your SafeGuard database.
    I don't have any duplicate machines in my test database so I haven't been able to test this fully, but it should work!

    SELECT MachineName, CountOfMachines
    FROM
    (
    select
    SAFE_GUARD_DIR.SGD_name as MachineName, count(*) OVER (PARTITION BY SAFE_GUARD_DIR.SGD_name) as CountOfMachines
    FROM IVT_MACHINES INNER JOIN
    SAFE_GUARD_DIR ON IVT_MACHINES.IMA_MACHINE_ID = SAFE_GUARD_DIR.SGD_ID
    ) T
    ORDER BY
    CountOfMachines DESC

    If this doesn't work feel free to send in a copy of your database and I'll get this working for you.

    ps: This will only work in SQL Server Management Studio 2008 upwards!