keygen-sh / py-machineid

Get the unique machine ID of any host (without admin privileges).
MIT License
60 stars 12 forks source link

Will the ID change if the system is reinstalled #22

Closed ryjfgjl closed 3 months ago

ryjfgjl commented 3 months ago

Will the ID change if the system is reinstalled?

ezekg commented 3 months ago

Typically, yes. When you install/reinstall an operating system, that's typically when it writes the system GUID. You may want to look into hardware fingerprinting, but that isn't something that this package handles.

E.g. get the serial numbers of the GPU, CPU, HDD, mobo, etc. and hash them.