Recently I've made alive an ancient win xp program, running in parallels.
That program's licensing checks for the computer name AND the disk volume id. Changing the computer name is trivial. If you want to change the volume id, you can use the volumeid tool from sysinternals. Search for "volumeid sysinternals".
(Of course I have valid license for that specific program, but the original hardware where it was installed no longer exists.)