Here’s a small tool for Windows 7 and Windows Server 2008 R2, that adds Attach and Detach option to contextual (aka right-click) menu of Virtual disk (vhd) files. That enables those operations to be done without trip to Disk Management console. Detach option is available on hard drive contextual menu also. Additionally program can be used as classic utility in order to see various information about virtual disk, even without attaching it.
More info: Download