On GameSpot: Want a Command & Conquer 4 beta key?
BNET Business Network:
BNET
TechRepublic
ZDNet

January 10th, 2009

How-to: Getting started with .VHD files in Windows 7

Posted by Adrian Kingsley-Hughes @ 4:18 pm

Categories: How to ..., Windows 7

Tags: Microsoft Windows 7, VHD, Microsoft Windows, Operating Systems, Software, Adrian Kingsley-Hughes

Some of you seem confused about how Windows 7 goes about supporting .VHD files as used by Virtual PC, Windows Server 2008 R2 and Hyper-V. Here’s a quick how-to work with .VHD files in Windows 7.

OK, let’s begin with a Windows 7 beta 1 install. Fire up a Command Prompt and type the following:

diskpart

Note: Press ENTER after each line to execute the commands.

You’re now ready to create a blank .VHD file. The following command creates a 16GB VHD file in a folder called virtual (you can put the .VHD anywhere, but create any folder in advance):

create vdisk file=c:\virtual\win7.vhd type=fixed maximum=16000

It’ll take a few minutes for the .VHD file to be created - took about 10 minutes on my test system. Diskpart will tell you once it’s done.

OK, now to install Windows 7 beta 1 into the .VHD. Pop the Windows 7 beta DVD into the DVD drive and reboot the system and boot up off the disc. Once the Windows 7 installer is up and running, choose your language and once you’re on the Install now screen, press SHIFT+F10 to bring up a Command Prompt.

Into the Command Prompt window, and first check to find out what drive letter has been assigned to your system partition (for me it was d:\). Make a note of the drive letter.

Next –>

Pages: 1 2

Adrian Kingsley-HughesAdrian is a technology journalist and author who has devoted over a decade to helping users get the most from technology. He also runs a popular blog called The PC Doctor. See his full profile and disclosure of his industry affiliations

Want to get in touch? Got a tip? Feel free to drop me a note! I ALWAYS respect anonymity. I'm also on Twitter (@the_pc_doc)

Right to Reply: Should any industry representatives wish to comment on any posts on Hardware 2.0, I will be happy to publish their reply verbatim on this blog.

Subscribe to Hardware 2.0 via Email alerts or RSS.

  • Talkback
  • Most Recent of 12 Talkback(s)
RE: How-to: Getting started with .VHD files in Windows 7
Portlock Leap Frog, http://www.portlock.com/support/knowledge_base/download_windows_7_vhd.aspx

Can be used to setup VHD boot as well as pre-created VHD from Microsoft for dual booting.... (Read the rest)
Posted by: Daren253 Posted on: 11/12/09 You are currently: a Guest | | Terms of Use
Native or still virtual?  crazlunatic | 01/10/09
It's being run nativly....  JoeMama_z | 01/10/09
More helpfull info....  JoeMama_z | 01/10/09
RE: How-to: Getting started with .VHD files in Windows 7  daryl@... | 01/11/09
That should work....  JoeMama_z | 01/11/09
Jusy FYI...  logicearth@... | 01/11/09
Yikes!  V@... | 01/11/09
There would be more..  logicearth@... | 01/11/09
RE: How-to: Getting started with .VHD files in Windows 7  LPraveen | 01/11/09
WARP.....  JoeMama_z | 01/12/09
RE: How-to: Getting started with .VHD files in Windows 7  BitTwiddler | 01/13/09
RE: How-to: Getting started with .VHD files in Windows 7  Daren253 | 11/12/09

What do you think?

SponsoredWhite Papers, Webcasts, and Downloads

Click Here
advertisement

Recent Entries

Premier Vendor Content Whitepapers, webcasts & resources from our Power Center Sponsors
advertisement

Archives

ZDNet Blogs

White Papers, Webcasts, and Downloads

Enterprise Applications

  • Check out some of the easiest and most powerful ways to boost productivity while saving money on your application infrastructure. See ZDNet's comprehensive Enterprise Application resource center, now!
  • New Online Dashboard
  • Read about top issues IT decision-makers face every day, plus get cost effective solutions to real life IT problems. Oracle Topline