Microsoft Virtual PC defaults the hard disks for it’s virtual machines to 16 gig in size. For most instances that’s large enough, but you could have cases where you simply need more disk space. Or, perhaps you’d like to keep your demo or project code in a separate virtual hard disk than the main virtual disk your applications run on. Regardless of your reason, creating a second hard drive for your virtual machine is fairly easy.
A few up front points, in these instructions I’ll be doing what I believe to be the most common scenario for most folks and be using Windows XP for my guest system.
First, before you launch your Virtual PC click on it once and select the settings button. Now go to Hard Disk 2. Change the option button from “None” to “Virtual hard disk file”. Next, click on Virtual Disk Wizard.
The first screen is simply the welcome screen, just click next.
On the next screen it asks about disk options. Take the default of “Crate a new virtual disk” and click next.
You are now asked about what type of disk you’d like to create, a hard or floppy disk. Take the default of “A virtual hard disk” and click next.
Now you are prompted for the name and location. I stored this with my other VHD files, so enter the path and location you want and click next.
The next screen asks what type of drive you want to select. The default, “Dynamically expanding” is the default, and is what we’ll be using. This is a great option as it puts a small file on your drive and lets it slowly expand as you need it to grow.
“Fixed size” creates just what it sounds like, a fixed size hard disk. The one main use I could think of is to create a virtual disk the same size as a DVD. You can then store your files on it prior to burning to a DVD. Downside is that the drive always takes the same amount of disk space.
“Differencing” is a big topic, but in brief a differencing drive is based on another VHD file. Once you create a differencing drive, the original is locked and cannot be changed; all changes are written to the differencing disk. Why would you want to do this?
Well let’s say you were teaching a class and wanted to let the students work on labs. You’d create your base image with your software loaded, and then create a differencing disk. Your students would write their changes to the differencing disk. After that class was done all you have to do is create a new differencing disk instead of having to recreate your entire disk image.
Final is linked to a hard disk. It saves your info out to the real hard drive. This is considered an advanced option, and to be honest I haven’t experimented much with it so that’s all I’ll say for now.
As I said, we’ll go with the default for now, and pick “Dynamically expanding”. Click Next to continue.
Next we are prompted for the maximum size of the VHD. In this demo we’ll take the default of 16 gig and click next, however if you’d like to change it go ahead, enter the maximum number of megabytes you want, when you’re done click Next.
OK, you’re up to the final screen, this just asks you to confirm your choices. Click on Finish to complete the process.
You should see a small message saying you’ve created the disk. Just click Close to close this message.
Now that you’ve created your drive, you need to tell Virtual PC to use it. If you recall, in the settings window we’ve already selected the “Virtual hard disk file” option. Now click the Browse button and pick the vhd file we just created.
OK, now we’ve got Virtual PC all setup. Click on OK to close the settings, then click on Start to start the Virtual PC. Once you’ve logged in, open up a My Computer window. Here’s a snapshot of mine.
OK, I can hear you now. “Hey, I created another drive, where’d it go?” Well, it’s there, the problem is you haven’t formatted it yet so Windows XP doesn’t know what to do with it. Let’s fix that now.
Open up Control Panel, and go into Administrative Tools. Now double click on Computer Management. Now click on Disk Management under Storage in the tree. The minute you do, you’ll be presented with the “Initialize and Convert Disk Wizard”. After taking a look at the opening screen, click Next.
The next screen asks which disks you want to convert. Here, you see Disk 1 is selected, which is correct (your C drive is disk 0, then each additional drive is 1, 2, etc.) Click Next.
Now it asks about converting disks to Dynamic disks. Check this on, and pick next. (Note in the pic below I haven’t checked it on yet, you will need to.)
Finally, you are presented with the Finish window. Click Finish to complete.
Now the window shows Disk 1 as initialized, but it’s still not quite ready to use yet.
Hang on, we’re almost done. Right click in the Disk 1 area, and select New Volume. This launches the New Volume wizard. On the opening screen just click Next.
Now you are presented with the Select Volume Type. Simple is the only option enabled, so let’s just select Next.
The next screen is prompting you to see how much disk space you want to allocate to this new volume. In our case we’ll use all the space, so we’ll just click Next.
In the next dialog we’re asked what drive letter to assign to our new volume. You can pick any available letter, but I think I’ll just take the default of E and click Next.
Now the wizard will prompt about formatting. We need to format this drive, so we definitely want to do this. I did change the default volume label from “New Volume Label” to “VSDriveE” since I’m using this with a vhd I use for Visual Studio. However, you should name it something appropriate to your use. Other than that, I’m leaving the other options alone and clicking Next.
Finally we’re nearing the end. The next screen is the “Completing the New Volume” wizard. Here we are simply confirming our choices. Take a quick look, if all looks well, click Finish.
While it formats, it will show you the progress in the status window, as you see below.
OK, that’s it, you’re done. Close the Computer Management window, then the Administrative Tools window. When you return you new computer, you will see your new drive, ready to go!
Well there you go. Seems like a lot of steps, but it took a lot longer for you to read this than it will take you to actually do it. If you do create new drives, drop a comment and let us know what creative uses you use your second drive for.
99 thoughts on “Adding a Second Hard Drive to VirtualPC Step by Step”
helped in the middle of the night, when hope was dim ;-))
excellent – i have been scratching my head for 2 days – doh!
i was using windows 2000 as my virtual pc but the method was practically the same – cheers
This was gr8, been wondering how to do this for ages. realy dou moment when i found out it was this easy.
Lifesaver, awesome job
Thanx dude…….u saved me frm a big headache. Urs shld b first hit. Keep posting more abt virtual m/c scenarios…..:)
By any chance, does anyone know how to expand the size of a Virtual Hard Drive?
Same as above – cheers!
Thanks a lot, that was a great help!
Now that’s what a pro does. thanks for the help!
this is a great post and was incredibly helpful!
Did it in a few minutes with these great instructions with clear pictures. Good work.
thanks so much!!!
awesome, u helped me, u saved my time. thanks for sharing ur knowledge
Excellent article. Saved the day!!!
The Question is how to Expand current drive. Not ADDING an addtional drive. How can we expand that Single Drive (C) without using a 3rd party like Partition Magic?
Teezoy – I don’t know of any way built into VPC to do that. That’s why when I create a virtual drive I just set it to the max size (I think 130,577 or something close) and set to dynamically expanding. That way it’ll grow as needed.
Thanks for such a nice documented steps.
It helps a lot.
Thank you very much…
Really helped me a lot.
You can’t do that. The only way to enlarge your HD is to make a second larrger disk, then use a disk imaging tool to copy disk 0 to disk1, then in VM settings remove the first HD and put the second HD in its place. You can Google for more info.
Thanks! It bothers me days to see the second drive.
Same as the others. Thanks for the article. It really helped me out of a bind, and I couldn’t find the information anywhere else.
Nice easy step by step illustration
I was stuck after I created the drive and was unable to locate the newly added drive
You totally and completely rock. I have been banging my head against a wall for 2 days prior to finding your tutorial
An addendum, I did find that you have to shutdown the session running inside Virtual PC in order to make these changes.
Thanks so much dude!
Cheers, should have known this but late in the evening so missed part about formating
THANKS SO MUCH!!!
THANKS! From Red Bull Racing F1 Team!!
Thanks a lot!! Really saved lot of time by giving clear description and pictures. Awesome posting 🙂
It’s a great article. It’s really helpful!
Thanks a lot
Thanks, great article. Had me baffled for ages, why is there nothing in the virtual PC documentation!
This is the best article I have read in a long time. To the point and very helpful. I wish Virtual PC would at least hint to you that you that there are extra steps beyond the configuration steps in its console.
Thank you very much.
Just what I needed. I have installed WHS as a VM with Windows Server 2003 as host OS. I will use the WHS for storage of all my data and to access them remotely.
A bit disappointed that the max disk size was only 130 Gig
With me it only can create the new disc to a new parion instead of volume, but in seems to run correctly after…
When I chose the Disc Management the window you’re talking about does’nt show at my pc.
Can it be bacuse I have installed Home Edition as a Virtial HD?
If we don’t convert to dynamic disk, what will possibly happen? (Of course, a basic disk.) But, my question is – it’s still usable, rite?
Very helpful! Helped my XP Virtual PC to recognise the additional fixed size virtual hard drive I created using Virtual PC 2007 on Vista Premium! Many thanks.
Thanks. This was what I was looking for. Worked like a charm.
it was great.
Thanks Much. It really helped!!
Procedure is good. Thx.
it doesnt get better than this… thanks a ton
this saved my butt. Thanks!
Thanks a lot.
Its working for Win 2008 VPC also
Unfortunately – the limit for the disk is 64GB. We needed more, so we have to use additional disks. What so more – we have more flexibility with two smaller disk files than with one very big disk file. Thank you very much for detailed explanation. It helped me a lot.
oh. god. Excellant.. save my job.. Thanks a lot….
thx very much…. 😀
You are a genious, you understand other peoples plight.
Very helpful. Helped me in getting my job done.
Helped me a lot!
Thanks! I was fumbling through the process of adding the 2nd drive and then it didn’t show up in my computer. You made my day with this.
Thanks. Stopped me going in circles reinstalling the drive, been happening for the last 2 hours…
Thanks! Gr8 helpful blog…
great guide! helped me big time.. thx!
Anyone know of a link that can show me how to do the exact same thing with Windows 98se? I cant see the new disk in DOS, so i cant fdisk and format it.
Thanks this is a good doc
thanks, that helps a lot.
Walaweh! A great document. just simply helps me a lot.
A great document! Helped me tremendously!!
I am trying to make a file server and i have installed win 2003 server on my VM. To creat a file server I need 4 virtual HDD. in the Virtual Machine Console there is HDD 1/2/3 how do i add the 4th Virtual HDD to complete my File server Lab. Please help.
Very good walk through. Couldn’t find better information anywhere else. This was the first time I needed to do this since the old FDISK days. Thanks for helping me out.
saved my bacon! thanks. first disk not enough room for databases needed to restore. now for each database (all over 100 gig) I have a new drive for. again, THANKS!!
You just saved my day:)
Thank you sooo much!
Thanks for this !
Good article bro… Thanks so much..
May you live long…greetings and hailing from Calabar Nigeria…..You saved me so much
Thanks dude,it was really a great help.
very helpful –
thanx alot :), very useful and easy to read guide
Excellent! Great article 🙂
Muchas gracias por la publicación
Thanks a lot for your article (in spanish)
Good job! This was a great help to me as I needed a specific drive letter to match the paths that I had defined in the configuration files for an application that I had planned on porting over to the virtual machine. I was told (and think, instinctively knew) that I could add an additional HD to my virtual server but the process was not as intuitive as I would have imagined. Needed a quick guide. Did a Google search first thing this morning; found this how-to and had my new, formatted drive up and running within 1/2 hour.
For those wanting to do the same task in Windows 7 that has Virtual PC “built-in” – follow the instructions here: http://www.howtogeek.com/howto/5291/how-to-create-a-virtual-hard-drive-in-windows-7/
found this very informative and easy to follow instruction
Thanks, this helped me a lot!
Really useful many thanks. FYI I’m using the second drive for SQL.
It’s a great job, thanks a lot!
good job, no wonder i cannot find my 2nd HD , because i need to go to XP and format it
Thank you so much 🙂
running win vpc on windows 7, using win2003 server OS inside and fantastic job.
thank you – Ken Oxford UK.
(*****) Works like a charm!
Thanks for this. Without it I could have wasted hours waiting for the penny to drop.
Good article bro… Thanks so much..
You just saved my day:)
Same as above – cheers!
Arcane Thanks for this post, again you have helped me out again. As for Teezoy, you cannot expand a virtual hard disk once you create it. It behaves just like any other hard disk.
Great Step by Step!!!
Buen post. Gracias por el aporte.
This worked like a charm! Thank you so much!
thanks a lot
(((WoW))) Thank You Very Very Much!!! (@_@)