Machine ID

By | November 25, 2025

To get a unique Machine ID, use these commands.

PC:

Get-ItemProperty -Path HKLM:\SOFTWARE\Microsoft\Cryptography -Name "MachineGuid"

MAC:

ioreg -d2 -c IOPlatformExpertDevice | awk -F\" '/IOPlatformUUID/{print $(NF-1)}'

Linux:

sudo dmidecode --string system-uuid