Tuesday, May 15, 2012

Using VHD to your Windows7

,
First of all, what are the benefits?
  • Ease of deployment: IT organizations can deploy standardized, 'pre-built' configurations on a single VHD. As an example, software engineering organizations which need a specific set of tools for a particular project could simply 'pull' the appropriately-configured VHD from a network location.
  • Backup-and-Restore: Changes to the contents of a VHD (such as infection by a virus, or accidental deletion of critical files) are easily undone.
  • Multi-User Isolation: Many current operating systems support having multiple users, but offer varying degrees of protection between them (e.g., one user of the OS could become infected by a virus which infects other users, or make changes to the OS which affect other users). By giving each user their own version of the operating system—say, by creating for each of them a differencing VHD based on a base installation of the OS—changes to any particular child image would have no effect on any of the other child images. However, a virus can be programmed to search for VHDs and infect it: it is more a matter of securing file permissions and using the appropriate accounts (restricted user always, administrator or super user only when installing software or configuring the operating system)

And the limitations? Hibernation is not supported... :p


  1. Boot to Win7 from a DVD.
  2. Press Shift+F10 to start the command prompt.
  3. Type: diskpart and hit enter.
  4. Use the "create vdisk file=D:\WinV.vhd maximum=xxxxx" to create a virtual hard disk. Choose a drive and a filename. xxxxx is in MB.
  5. Type "select vdisk file=D:\WinV.vhd".
  6. Type "attach vdisk". You will get a confirmation that the VHD is attached.
  7. Type "exit" to exit diskpart and close command prompt.
  8. Click on "Install Now" and install as you would normally a "Custom Install" and choose the VHD we just created.

The installation takes care of adding another boot option to the bcd.

Try it!

0 people replied to “Using VHD to your Windows7”

Post a Comment