How to enable OSD with duplicate UUID in Configuration Manager
When you have more then on machine with the same UUID, SCCM will not pick the correct ResourceID when receiving a PXE request but pick last one that was added, therefore advertisements may not be assigned(the no boot actions message) and the variables of another machine might be assigned by mistake. This can occur when the motherboard manufacturer assigns a single UUID per model (such as some ASUS motherboards)
Workaround: use only the mac address as the identifier.
Modify the following stored procedures:
NBS_LookupDevice
The line
On xref.machineid = aux.itemkey and aux.smbios_guid0 = @smsbios_guid
To
On xref.machineid = aux.itemkey and aux.smbios_guid0 = @smsbios_guid + '.'
MP_GetClientIDFromSmbiosID
The line
Where (m.smbios_guid0 = @vchsmbiosid) and (isnull(m.obsolete0,0) != 1)
To
Where (m.smbios_guid0 = @vchsmbiosid + '.') and (isnull(m.obsolete0,0) != 1)
And the line
Where (upper(m.smbios_guid0) = upper(@vchsmbiosid)) and (isnull(m.obsolete0,0) != 1)
To
Where (upper(m.smbios_guid0) = upper(@vchsmbiosid + '.')) and (isnull(m.obsolete0,0) != 1)
Do take note that those changes will have to be repeated after a service pack or site reset.