Automatically Attach VHD Images [Windows 7]
The Windows 7 operating system comes with the option to create virtual hard drive [vhd] images that can be mounted in the operating system after creation. This works pretty much the same way that iso images and other disk images can be mounted in an operating system. VHD images are automatically attached after their creation but never again automatically after the computer system has been rebooted. This is a nuisance for users who need to work regularly with the same vhd image on the computer system.
An easy option to automatically attach vhd images is to use the diskpart command line utility which is part of the Windows 7 operating system. Diskpart is a powerful tool to enable storage configuration from the command line (as well as remote sessions and scripts).
The Windows 7 operating system comes with the option to create virtual hard drive [vhd] images that can be mounted in the operating system after creation. This works pretty much the same way that iso images and other disk images can be mounted in an operating system. VHD images are automatically attached after their creation but never again automatically after the computer system has been rebooted. This is a nuisance for users who need to work regularly with the same vhd image on the computer system.
An easy option to automatically attach vhd images is to use the diskpart command line utility which is part of the Windows 7 operating system. Diskpart is a powerful tool to enable storage configuration from the command line (as well as remote sessions and scripts).