MachineId
select value_data from sys.dm_server_registry where registry_key = 'HKLM\SOFTWARE\Microsoft\SQMClient' and value_name = 'MachineId'
Index