VirtualBox

Opened 11 years ago

Closed 10 years ago

#11470 closed enhancement (worksforme)

Non unique Serial Numbers

Reported by: moonmeister Owned by:
Component: other Version: VirtualBox 4.2.6
Keywords: bios, serial, number, powershell, script Cc:
Guest type: Windows Host type: Windows

Description

I'm pulling WMI information through PowerShaell and for all my Vbox machines they read a serial number of "0".

Powershell command is "Get-WMIObject win32_BIOS"

It would be nice if vbox created a Unique Serial number here like Vmware and XP Mode do.

The scripting I'm doing is dumping this information into a SQL database and using it as the Primary key so it would be nice if this was actually unique.

Windows 7 host running windows guests. I checked it on a Windows 7 and 208 R2 guest.

Change History (2)

comment:1 by Frank Mehnert, 11 years ago

Could you check if this works? Change the DMI system serial number by the following command

VBoxManage setextradata VM_NAME VBoxInternal/Devices/pcbios/0/Config/DmiSystemSerial "12345"

Replace VM_NAME by the proper VM name and "12345" by a serial number of your choice (this can actually be a string, not necessarily a number).

comment:2 by Frank Mehnert, 10 years ago

Resolution: worksforme
Status: newclosed
Note: See TracTickets for help on using tickets.

© 2023 Oracle
ContactPrivacy policyTerms of Use