How to remove duplicate GUIDs on UNIX and Macintosh clients


Article ID: 179812


Updated On:


Management Platform (Formerly known as Notification Server)




For a Altiris 7.1 best practice to address this issue see:
   Shared GUID cleanup script

How do I remove duplicate GUIDs on UNIX and Macintosh clients?


The simplest way to do this is to do the following: 

  1. Delete the resource in a report or collection in the Notification Server console.
  2. Delete the host.GUID file on all of the machines sharing that GUID. The full default path to this file is:

    NS6 Unix:   /opt/altiris/notification/nsagent/etc/host.GUID
    NS6 Mac:   /Applications/Utilities/Altiris/NSAgent/.etc/host.GUID
    NS7 Unix & Mac:   /opt/altiris/notification/nsagent/etc/host.GUID
  3. Wait for the computers to send basic inventory or run “aex-sendbasicinv” on each client.

Note: If you can identify which client is currently reporting inventory, you can simply delete the host.GUID file on the other clients and run aex-sendbasicinv. In this case, there’s no need to delete the resource in the Notification Server console.

You can find the computers that are sharing a guid by running the following query:

select name from item where guid = '<host.GUID value>'


select * from resourcekey where resourceguid = '<host.GUID value>'

Note: If you are creating an image on a UNIX or Macintosh to deploy to other computers, it is recommended that you delete the host.GUID file prior to creating the image. The Altiris Agent for UNIX will request a new GUID for a client if a host.GUID file does not exist or if there is not a value in the file.

Note: You can see how the GUID changed computer names by running either or both of the following queries:

  1. select * from resourcekeychanged where resourceguid = '<host.GUID value>' order by [changetime]
  2. select * from resourcekeychanged where keyvalue like '%<full or partial computer name>%' order by [changetime]

Please see ( for an automated, policy-based method for managing duplicate guids in Windows, Unix and Mac Platforms.