How to reset the UUID for a Virtual Hard Drive

1–2 minutes

Originally from

Found, then improved from

Found, then improved

Repost

the wolf stamping a new serial label on a disk, an amber stamp, the raven holding the label

<PATH TO VIRTUAL BOX>VBoxManage internalcommands sethduuid <PATH TO VHD>
VirtualBox Command Line Management Interface Version 2.1.4
(C) 2005-2009 Sun Microsystems, Inc.
All rights reserved.

UUID changed to: 46a453bd-4d03-4988-a066-6ecfc6ced308