Take the 2-minute tour ×
Super User is a question and answer site for computer enthusiasts and power users. It's 100% free, no registration required.

I'd like to change the hard disk's serial number in VirtualBox.

Does anyone know how to do that?

share|improve this question

closed as unclear what you're asking by Raystafarian, gronostaj, Simon Sheehan, Shekhar, Darth Android Jul 24 '13 at 19:18

Please clarify your specific problem or add additional details to highlight exactly what you need. As it's currently written, it’s hard to tell exactly what you're asking. See the How to Ask page for help clarifying this question.If this question can be reworded to fit the rules in the help center, please edit the question.

1  
When you say harddisk serial, what do you mean exactly? Because there are several options... WMI > Diskdrive > Serial number? or signature? or you mean DiskPart > Disk ID? or you mean Volume serial? –  EliadTech Nov 8 '12 at 16:36

3 Answers 3

I'm guessing you want to change the UUID of the hard disk uuid is like this UUID {55b773b8-cbcb-42ea-9a44-1368b30ed823}

To set the UUID of a hard drive run this in command prompt :

VBoxManage internalcommands setvdiuuid disk2.vdi

eg: VBoxManage internalcommands sethduuid disk2.vdi 55b773b8-cbcb-42ea-9a44-1368b30ed823 will work.

share|improve this answer

Looks like the command has changed:

sethduuid <filepath> [<uuid>]
    Assigns a new UUID to the given image file. This way, multiple copies
    of a container can be registered.

So in my case it was:

C:\Program Files\Oracle\VirtualBox>VBoxManage internalcommands sethduuid <vmdk location>

uuid is changed if you don't fill in a new one either way.

share|improve this answer

I guess you mean the Volume Serial Number that you see when you do a dir in de command console.

VolumeID solved it for me, run it as administrator:

volumeid C: C8BA-7B18

After the reboot it'd be changed:

C:\>dir
 Volume in drive C has no label.
 Volume Serial Number is C8BA-7B18

 Directory of C:\
 ...
share|improve this answer

Not the answer you're looking for? Browse other questions tagged or ask your own question.