Windows 10 Autopilot for Virtualbox.

Discussions about using Windows guests in VirtualBox.

Windows 10 Autopilot for Virtualbox.

Postby Salted Cashew » 13. Feb 2020, 17:43

Hi I'm just wondering if anyone has fiddled around with Autopilot provisioning for Virtual Box.

At the moment I'm facing an issue where all my Virtual Box VMs have 0 for their serial number.

I have set the serial number using VBoxManage setextradata "VM name" "VBoxInternal/Devices/pcbios/0/Config/DmiSystemSerial" "System Serial"

and it displays the correct Serial Number in the XML.

However when I run wmic bios get serialnumber on the VM it comes up with SerialNumber 0.

As you can imagine this is causing me some issues with Autopilot. The HWID/UUID is unique for each VM but it's just the serial number I can't seem to change.

Any ideas would be greatly appreciated.
Salted Cashew
Posts: 2
Joined: 13. Feb 2020, 17:37

Re: Windows 10 Autopilot for Virtualbox.

Postby g4r » 9. May 2020, 07:40

bump to this, did you happen to figure this out?
Posts: 1
Joined: 9. May 2020, 07:39

Re: Windows 10 Autopilot for Virtualbox.

Postby kingtechie » 19. Oct 2021, 20:58

Make sure you Prefix the SN with String:

VBoxManage.exe setextradata "Win10-21H1" "VBoxInternal/Devices/pcbios/0/Config/DmiSystemSerial" "String:YourSerial"
VBoxManage.exe setextradata "Win10-21H1" "VBoxInternal/Devices/efi/0/Config/DmiSystemSerial" "String:YourSerial"
Posts: 1
Joined: 19. Oct 2021, 20:57

Re: Windows 10 Autopilot for Virtualbox.

Postby scottgus1 » 19. Oct 2021, 21:01

kingtechie wrote:Make sure you Prefix the SN with String:

Correct, if the serial number is all number and no letters etc. The manual, section 9.9 says:
Note that in the above list, all quoted parameters (DmiBIOSVendor, DmiBIOSVersion but not DmiBIOSReleaseMajor) are expected to be strings. If such a string is a valid number, the parameter is treated as number and the VM will most probably refuse to start with an VERR_CFGM_NOT_STRING error. In that case, use "string:value". For example:

$ VBoxManage setextradata VM-name \
"VBoxInternal/Devices/pcbios/0/Config/DmiSystemSerial" "string:1234"
Site Moderator
Posts: 15774
Joined: 30. Dec 2009, 20:14
Primary OS: MS Windows 10
VBox Version: PUEL
Guest OSses: Windows, Linux

Return to Windows Guests

Who is online

Users browsing this forum: No registered users and 17 guests