[solved] Hardware UUID konfigurieren in UEFI Mode

Allgemeine Diskussionen über den Einsatz von VirtualBox.
Post Reply
BerndM
Posts: 23
Joined: 7. Oct 2011, 21:59
Primary OS: Ubuntu other
VBox Version: OSE other
Guest OSses: keine

[solved] Hardware UUID konfigurieren in UEFI Mode

Post by BerndM »

Guten Morgen,

ich bin gerade dabei Windows 11 mal in einer VM zu testen. Dabei ist mir aufgefallen, das ich die Hardware UUID nicht konfigurieren kann.

Für Windows 7/10 nutze ich dafür diese viewtopic.php?f=5&t=44556 Lösung. Und das funktioniert schon sehr lange gut.
Windows 11 benötigt den UEFI Mode und wenn ich da die Hardware ID wie bei windows 7/10 konfiguriere wird die VM nicht gestartet. Da kommt dann folgende Fehler:

Code: Select all

Für die virtuelle Maschine Windows 11 konnte keine neue Sitzung eröffnet werden.

Configuration error: Querying "BootDevice0" as a string failed (VERR_CFGM_VALUE_NOT_FOUND).

Fehlercode: E_FAIL (0x80004005)
Komponente: ConsoleWrap
Interface: IConsole {872da645-4a9b-1727-bee2-5585105b9eed}
Anbei ist auch der Log als ZIP.

Was bzw. wie kann ich die Hardware UUID für UEFI Mode konfiguieren.

Danke für Eure Hilfe,
Bernd
Attachments
VBox.zip
VBox Log für Windows 11 Fehlermeldung
(7.42 KiB) Downloaded 16 times
Last edited by BerndM on 12. Sep 2022, 10:59, edited 1 time in total.
BerndM
Posts: 23
Joined: 7. Oct 2011, 21:59
Primary OS: Ubuntu other
VBox Version: OSE other
Guest OSses: keine

Re: Hardware UUID konfigurieren in UEFI Mode

Post by BerndM »

Sorry, I've write it in german. Now I tranlate it so can read and answer more users.

Good morning,

I'm testing Windows 11 in a VM. I noticed that I can't configure the hardware UUID.

For Windows 7/10 I use this viewtopic.php?f=5&t=44556 solution. And that has worked well for a long time.
Windows 11 requires the UEFI mode and if I configure the hardware ID as with windows 7/10, the VM does not start. Then the following error appears:

Code: Select all

Für die virtuelle Maschine Windows 11 konnte keine neue Sitzung eröffnet werden.

Configuration error: Querying "BootDevice0" as a string failed (VERR_CFGM_VALUE_NOT_FOUND).

Fehlercode: E_FAIL (0x80004005)
Komponente: ConsoleWrap
Interface: IConsole {872da645-4a9b-1727-bee2-5585105b9eed}
The log is also attached as ZIP.

What and how can I configure the hardware UUID for UEFI mode.

Thank you for your help,
Bernd
fth0
Volunteer
Posts: 5677
Joined: 14. Feb 2019, 03:06
Primary OS: Mac OS X other
VBox Version: PUEL
Guest OSses: Linux, Windows 10, ...
Location: Germany

Re: Hardware UUID konfigurieren in UEFI Mode

Post by fth0 »

Replace "pcbios" with "efi" in the VBoxManage command, as documented in 9.9. Configuring the BIOS DMI Information.
scottgus1
Site Moderator
Posts: 20945
Joined: 30. Dec 2009, 20:14
Primary OS: MS Windows 10
VBox Version: PUEL
Guest OSses: Windows, Linux

Re: Hardware UUID konfigurieren in UEFI Mode

Post by scottgus1 »

BerndM wrote:Sorry, I've write it in german.
No worries! It is the German subforum, after all. :D

Translating services seem to work well going between German and English at least, so please feel free to stay in German if you wish.
BerndM
Posts: 23
Joined: 7. Oct 2011, 21:59
Primary OS: Ubuntu other
VBox Version: OSE other
Guest OSses: keine

Re: Hardware UUID konfigurieren in UEFI Mode

Post by BerndM »

@fth0, I've change it and set the new value.

Code: Select all

VBoxManage setextradata "Windows 11" "VBoxInternal/Devices/efi/0/Config/DmiSystemUuid" "db0eea77-6e6e-4a95-8f9f-e1c7a57d9d6f"
Now I can start the VM but the new hardware UUID is not use.

When I use

Code: Select all

VBoxManage showvminfo "Windows 11" --details
so I see the old hardware UUID and not the new. When I check the settings with

Code: Select all

VBoxManage getextradata "Windows 11" "VBoxInternal/Devices/efi/0/Config/DmiSystemUuid"
than is the new value show.

Which value must I set to change the hardware UUIID in the UEFI mode?
fth0
Volunteer
Posts: 5677
Joined: 14. Feb 2019, 03:06
Primary OS: Mac OS X other
VBox Version: PUEL
Guest OSses: Linux, Windows 10, ...
Location: Germany

Re: Hardware UUID konfigurieren in UEFI Mode

Post by fth0 »

BerndM wrote:Which value must I set to change the hardware UUIID in the UEFI mode?
I'd rather try the VBoxManage modifyvm <VM name> --hardwareuuid <UUID> command (see 8.8.1. General Settings).
BerndM
Posts: 23
Joined: 7. Oct 2011, 21:59
Primary OS: Ubuntu other
VBox Version: OSE other
Guest OSses: keine

Re: Hardware UUID konfigurieren in UEFI Mode

Post by BerndM »

Thank, that work fine. The new version of VBox have a konfiguration for this during the clone.
Post Reply