chocolatey / chocolatey-licensed-issues

Issues for Licensed Editions of Chocolatey
19 stars 13 forks source link

Identify duplicate computers using their SMBIOS GUID #369

Open pLeXwithFleX opened 6 months ago

pLeXwithFleX commented 6 months ago

Checklist

Is Your Feature Request Related To A Problem? Please describe.

When a computer is reinstalling, the central management generates a duplicated computer object. This has a negative impact for used licenses and you have always to cleanup the computer objects.

Describe The Solution. Why is it needed?

The chocolatey agent could determine the SMBIOS GUID with powershell and the central management could use this to identify a computer object. It should link the fresh installed system to the existing computer object and replace the installed software list.

Additional Context

The SMBIOS GUID is the unique ID for a computer system. All business related manufacturers are using this UUID to identify a computer for management solutions like SCCM.

You can get the the SMBIOD GUID with cmd: wmic path win32_computersystemproduct get uuid

powershell: get-wmiobject Win32_ComputerSystemProduct | Select-Object -ExpandProperty UUID

Related Issues

No response

gonchik commented 1 day ago

is this enough to detect duplicate VMs ? I have checked for VMware is good, except if someone manually will not copy configs, but how about other virtualizations?