Change/Set CPUID

Adnan

Renowned Member
Oct 4, 2012
31
1
73
Paris, France
Is there a way to change or set a machine CPUID on PVE 6.3?

I moved from ESXi to Proxmox, I have the old CPUID. I don't find much results online, and `kvm -cpu` doesn't seem to allow setting this parameter.

Thanks for your help
 
I have an ESXi installation at work, we had a massive ransomware attack and I decided to migrate the machines from ESXi to Proxmox. I'm not physically with the old machines, and I could retrieve Veeam backups containing only the vmdk files and the vmx configuration.

I imported the vmdk files to Proxmox (converting them to qcow2), the system boots up, everything is fine except a single old app forcing us to have a Windows XP VM only for it, the license was invalidated, I have the license, the activation code, everything, but it still consider being on a different machine so I need to revalidate the license. The company closed since then, so I'm stuck.

I tried setting the smbios to the vmid (from the vmx file), I tried setting the same mac address and the hwid. The last thing I could set was the CPU ID (as I read online some licensing system use a so called "machine id")...

This is what I have on the vmx file:
Code:
hostCPUID.0 = "0000000d68747541444d416369746e65"
hostCPUID.1 = "00600f20000808003698320b178bfbff"
hostCPUID.80000001 = "00600f205000000001ebbfff2fd3fbff"
guestCPUID.0 = "0000000d68747541444d416369746e65"
guestCPUID.1 = "00600f200000080096983203078bfbff"
guestCPUID.80000001 = "00600f205000000000010be92bd3fbff"
userCPUID.0 = "0000000d68747541444d416369746e65"
userCPUID.1 = "00600f200008080096983203078bfbff"
userCPUID.80000001 = "00600f205000000000010be92bd3fbff"

The CPUID seen by the old VM was: 00600F20 (which is the same 4 octets on many string above). Is there a way to set this CPUID on a Proxmox VM?
 
after some searching i found this [0]

which seems to indicate these values in the config are probably not what you're looking for, the software you're using might be looking at something else but there's no sure way to tell.

as far as i know there's no way to set the serial number of a cpu. however you could try changing the cpu type (kvm64, qemu64, host, try different ones) and see if it helps.

[0]: https://communities.vmware.com/t5/E...PUID-and-UserCPUID-what-are-they/td-p/2190965
 
as far as i know there's no way to set the serial number of a cpu. however you could try changing the cpu type (kvm64, qemu64, host, try different ones) and see if it helps.
That's what I saw. But I also found Manipulating Guest CPUID and the solution shows that it's possible to change the CPUID returned by the guest when queried, at least on VMWare.

That's what I'm looking for but you're right about maybe not being what I need. When I look at my license and activation key and the license generated by the software saying it's not activated, the licenses are different on few characters at the end. I have many licenses for different users (but on the same machine), they're all completely different from each other, so the small deviation suggests that the software has invalidated the license (instead of generating a completely new one).

I'll try manipulating the guest CPUID locally on VMWare fusion (if it's ever possible), and report it back (if it works and if the software accepted it)
 
That's what I saw. But I also found Manipulating Guest CPUID and the solution shows that it's possible to change the CPUID returned by the guest when queried, at least on VMWare.

That's what I'm looking for but you're right about maybe not being what I need. When I look at my license and activation key and the license generated by the software saying it's not activated, the licenses are different on few characters at the end. I have many licenses for different users (but on the same machine), they're all completely different from each other, so the small deviation suggests that the software has invalidated the license (instead of generating a completely new one).

I'll try manipulating the guest CPUID locally on VMWare fusion (if it's ever possible), and report it back (if it works and if the software accepted it)
Hello! A you resolve this issue? Have the same problem....
 

About

The Proxmox community has been around for many years and offers help and support for Proxmox VE, Proxmox Backup Server, and Proxmox Mail Gateway.
We think our community is one of the best thanks to people like you!

Get your subscription!

The Proxmox team works very hard to make sure you are running the best software and getting stable updates and security enhancements, as well as quick enterprise support. Tens of thousands of happy customers have a Proxmox subscription. Get yours easily in our online shop.

Buy now!