Set Baseboard Serial Number for a windows guest on proxmox

Ramo026

New Member
Sep 14, 2023
6
1
3
Hello everyone.
( First sorry for my English )
I am using proxmox v7.4-15
I have a windows server and I am running a licensed program which needs ( BIOS serial - Baseboard Serial and Processor serial ) numbers in order to work
So in the /etc/pve/qemu-servers I have set the BIOS serial and it works just fine and I can verify that by wmic bios get serialnumber command in windows powershell.
But I have problem with baseboard serial number which I can't find a way to set it in proxmox ( I can verify that the Baseboard SN in not there by wmic baseboard get serialnumber command in windows powershell)

Here you can see my qemu-server .conf file

Screenshot_20240612_073512.png

I have figured out that the win32_baseboard CIMInstance under root/cmv2 class is responsible to store the baseboard's information.

here you can see the Win32_Bios CIMInstance is working fine with the guest

Screenshot_20240612_105127.png
 
Last edited:
After some research I figured out that CIMInstance Classes like win32_baseboard and win32_bios read their information from host dmidecode
so I needed to pass dmidecode to the guest, in my case : win32_bios reads dmidecode -t 1 and win32_baseboard reads dmidecode -t 2. So all I needed to do for set win32_baseboard values in the guest was to add a args to vm.conf file by the command :
Code:
root@pve:~#qm set <VmID> --args "-smibios type=2,serial=zaqwsxcde"

103conf file.png

windows11 - getinstance baseboard.png
 
Last edited:
  • Like
Reactions: B.Otto

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!