Adding second hard drive to HyperV virtual machine

How to Attach virtual hard disk to existing HyperV virtual machine?
This step by step instruction will guide you to add virtual hard disk to your HyperV virtual machine.

My virtual SharePoint 2010 installation is running out of space and need to add additional drive so
that I could move SQL data out of current drive to the new one.



Step 1:

1. Turn off your virtual hyperv machine and open HyperV Manager. Select the virtual machine
which you want to add additional virtual drive and click on Settings

HyperV Manager

2. In settings select IDE Controller | Hard Drive  and click Add

Adding new hard drive to hyperv

3.  Now we need to create a new virtual hard disk. Click new to create new virtual harddisk

Creating new virtual hard disk - hyperv

4.  Adding new virtual hard disk wizard: This wizard helps you to create a new virtual hard disk.
Virtual hard disk provide storage for virtual machines and are stored on physical media as.vhd files

Click Next

New virtual hard disk wizard in hyperv

5.  You have three options to choose disk type
– Fixed Size, dynamically expanding and differencing. In this case, I am going with fixed size


6. Specify Name and location. I

Specify  name and location for virtual hard disk

7. You can create a blank virtual hard disk or copy the contents of an existing physical disk

Configure Virtual Hard Disk HyperV

8. Summary of your new virtual hard disk which we are creating and click
Okay below to create your new virtual hard disk


9. Once HyperV completed it process of creating new virtual hard disk, this is how you should see the end result


Step 2:

1. Turn on your HyperV virtual machine
Start | Administrative Tools | Server Manager | Disk Management |

In disk management you should see your second drive which you created.

Windows 2008 Server Disk Management

2.  Right click in unallocated space and click on New Simple Volume

Creating Simple Volume in Windows 2008

3. New simple volume wizard : This wizard helps you to create a simple volume on a disk


4.  Specify Volume Size : Choose a volume size that is between the maximum and minimum sizes

Specify Volume Size in Windows 2008

5. Assign Drive Letter or Path : For easier access, you can assign a dive letter or drive path to your partition

Assign Drive letter or Path in Windows 2008

6. Format Partition: To store data on this partition, you must format it fist

Format Partition in Windows 2008

7.  You have successfully completed the new simple volume wizard

new volume wizard windows 2008

8.  End results: I have successfully added second drive to my hyperv virtual machine.

Second drive in HyperV virtual machine

Now I can move all the SQL data files to my new drive which I added in HyperV virtual machine. If you perform all the above steps
you can successfully add additional drive in your HyperV virtual machine.

Published by Aryan Nava

Founder of "BlockchainMind", CTO for two Blockchain startup during 2018, Cloud/DevOps Consultant and Blockchain Trainer

2 thoughts on “Adding second hard drive to HyperV virtual machine

  1. where is it taking that drive space from? I do not see any settings that show where you can point it to for the space. For instance, If I have my physical server with local drives, and create a hyper v virtual server on it, I have a partition called V drive of 200 gb that I point to when creating the VM for the C drive. So when I want to add a second drive as described here, if I make it 100 gb, is it taking it from my V partition on the physical server? I still have 500gb of unallocated space on the physical server which I was hoping to make a partition to use for a second drive on my VM – (for splunk data). Is that unable to be done?

Leave a Reply

Please log in using one of these methods to post your comment: Logo

You are commenting using your account. Log Out /  Change )

Twitter picture

You are commenting using your Twitter account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )

Connecting to %s

This site uses Akismet to reduce spam. Learn how your comment data is processed.

%d bloggers like this: