tell me why, in VirtualBox the serial number of the hard disk is not as on real hardware?
Win32_DiskDrive wmi
on real hardware 2020202020202020202020204338525432323356
on hardware virtualbox 4338525432323356202020202020202020202020
"C:\Program Files\Oracle\VirtualBox\VBoxManage.exe" setextradata "test1"
VBoxInternal/Devices/ahci/0/Config/Port1/SerialNumber "8CTR22V3"
serial number hardware
serial number hardware
Last edited by serejka on 17. Jun 2018, 16:31, edited 2 times in total.
-
- Volunteer
- Posts: 5105
- Joined: 19. Sep 2009, 04:44
- Primary OS: MS Windows 10
- VBox Version: PUEL
- Guest OSses: Windows 10,7 and earlier
- Location: Sydney, Australia
Re: serial number hardware
Fix what? The "hard drive" of the virtual machine is a virtual hard drive and is in fact simply a file in the host OS file system. Why would it have the same serial number as the physical drive of the host?
Bill
-
- Volunteer
- Posts: 2561
- Joined: 30. May 2007, 18:05
- Primary OS: Fedora other
- VBox Version: PUEL
- Guest OSses: XP, Win7, Win10, Linux, OS/2
Re: serial number hardware
Is this the second virtual hardisk of your VM? Otherwise you could try Port0 instead of Port1
Re: serial number hardware
thanks for the reply you don't understandMartin wrote:Is this the second virtual hardisk of your VM? Otherwise you could try Port0 instead of Port1
information from wmic diskdrive get serialnumber
- Attachments
-
- VirtualBox_test1_17_06_2018_17_55_55.png (88.62 KiB) Viewed 2517 times
Last edited by serejka on 19. Jun 2018, 17:52, edited 3 times in total.
Re: serial number hardware
the serial number is defined correctly only in the opposite directionBillG wrote:Fix what? The "hard drive" of the virtual machine is a virtual hard drive and is in fact simply a file in the host OS file system. Why would it have the same serial number as the physical drive of the host?
information obtained through wmic diskdrive get serialnumber
Re: serial number hardware
tried all wrongMartin wrote:Is this the second virtual hardisk of your VM? Otherwise you could try Port0 instead of Port1
-
- Volunteer
- Posts: 2561
- Joined: 30. May 2007, 18:05
- Primary OS: Fedora other
- VBox Version: PUEL
- Guest OSses: XP, Win7, Win10, Linux, OS/2
Re: serial number hardware
If you want the first part of the serial number to be filled with blanks you need to specify it that way like
Code: Select all
"C:\Program Files\Oracle\VirtualBox\VBoxManage.exe" setextradata "test1" VBoxInternal/Devices/ahci/0/Config/Port1/SerialNumber " 8CTR22V3"
Re: serial number hardware
it's not that
serial number virtualbox 42563636633337613831392d6337626336332034"; VB663ca718-97ccb364
на аппаратном виртуальном боксе 4338525432323356202020202020202020202020
on real hardware 2020202020202020202020204338525432323356
202020202020202020202020 need beginning on the left
serial number virtualbox 42563636633337613831392d6337626336332034"; VB663ca718-97ccb364
на аппаратном виртуальном боксе 4338525432323356202020202020202020202020
on real hardware 2020202020202020202020204338525432323356
202020202020202020202020 need beginning on the left
Last edited by socratis on 18. Jun 2018, 11:12, edited 1 time in total.
Reason: Removed unnecessary verbatim quote of the whole previous message.
Reason: Removed unnecessary verbatim quote of the whole previous message.