Need a Server? Build it in the cloud for free


How to Expand a Boot To VHD Disk or other Virtual Hard Drive Using Windows Tool–Diskpart Windows 8, Windows 2012 and earlier OS

Last year wrote a blog post How To Expand and Extend To Increase Capacity On A Virtual Hard Disk The Easy and Fast Way–Solve the problem of “Out of Disk Space on Drive C” Forever  Please refer to this blog post for a step-by-step video of the process. 

I ran out of space on my Boot to VHD drive and found that the instructions were identical.  Here is what I did:

1) Boot into a different OS using dual boot

2) Open an Elevated Command Prompt:

To run any application with elevated privileges (as Administrator) simply right-click on that program from the menu and select Run as Administrator. An example of this would be if you wanted to run a Command window with elevated permissions just click Start then type cmd then Right-Click on Command icon and select Run as Administrator. This is also known as Administrative Permissions. This tip will work on just about any other program too Smile

3) The following are the commands I ran:

Select vdisk file=”D:\Boot.Win8-RTM-MS-VL\Win8-RTM-MS-VL.vhd”
list vdisk
expand vdisk maximum=50000
attach vdisk
list disk

– If disk is not online… Use “Online Disk” to bring it online

list volume
select volume 8
list volume
detach vdisk

3) Now I just reboot back into my Boot to VHD drive and it has an extra 10gb of available space

This entry was posted in Uncategorized and tagged , , , , , by Dan Stolts ITProGuru. Bookmark the permalink.

About Dan Stolts ITProGuru

Dan Stolts (The "ITProGuru") is a technology expert who is a master of systems management and security. He is proficient in many Microsoft products especially in the server area (Windows Server, System Center, Exchange, SharePoint, Virtualization, Etc) and holds many certifications including MCT, MCITP, MCSE, TS, etc. Dan is currently specializing in System Management and Security and is also very passionate about virtualization technologies. Dan is and has been a very active member of the community. He is president of Boston User Groups, Founder of Virtualization Group Boston, Founder of North East Leaders and serves on many IT Community group boards. He is in the process of writing his first book on building technology communities. He is a believer in social networking and can be reached on twitter @ITProGuru. He has participated in many non-technology community groups such as: Rotary Club, Lions Club, local Chambers of Commerce and is a mentor for the local high schools. Dan is an enthusiastic advocate of technology and is passionate about helping others. Dan's lifelong passion has been and continues to be to help and teach others!

Comments are closed.