Windows 8 and 8.1 Forums


VHD or VHDX File - Create and Attach in Windows 8

  1. #1
    VHD or VHDX File - Create and Attach in Windows 8

    VHD or VHDX File - Create and Attach in Windows 8
    How to Create and Attach a VHD or VHDX File in Windows 8
    Published by Brink is online now
    04 Oct 2012
    Default VHD or VHDX File - Create and Attach in Windows 8

    Published by


    Brink's Avatar
    Administrator

    Join Date: Jul 2009
    Posts: 22,564

    How to Create and Attach a VHD or VHDX File in Windows 8

    information   Information
    This tutorial will show you how to create a fixed or dynamically expanding VHD or VHDX file any size you like saved to where you like, and to attach/mount it as a drive in the Computer window for all users in Windows 8.

    You must be signed in as an administrator to be able to create and attach a VHD or VHDX file in Windows 8.

    Note   Note
    VHD (Virtual Hard Disk) - Supports virtual disks up to 2400 GB in size. For more details and information, see: Download: VHD Specs - Microsoft Download Center - Download Details


    VHDX (Hyper-V Virtual Hard Disk) - Supports virtual disks up to 64 TB (65536 GB) in size, and is resilient to power failure events. This format is not supported in operating systems earlier than Windows 8. For more details and information, see: Download: VHDX Format Specification v1.00 - Microsoft Download Center - Confirmation

    warning   Warning
    Mounted VHD or VHDX files will only stay attached as a drive for the current session of Windows 8. When you restart or shut down the computer, any attached VHD or VHDX files will automatically be unmounted/detached as a drive from Computer.

    You will just need to mount/attach the VHD or VHDX file(s) again to have it displayed as a drive in the Computer window again until the next restart. No need to create another new VHD or VHDX file.

    Signing off or switching user, will not affect any mounted/attached VHD or VHDX file(s).




    Here's How:

    1. Open the WIN+X Power User Tasks menu, and click/tap on Disk Management. (see screenshot below)

    Name:  WIN+X.jpg
Views: 44829
Size:  28.4 KB

    2. If prompted by UAC, then click/tap on Yes.

    3. In Disk Management (diskmgmt.msc), click/tap on Action (menu bar) and on Create VHD. (see screenshot below)

    Click image for larger version

    4. Select (dot) if you want to create a VHD or VHDX file, click/tap on the Browse button. (see screenshot below)

    Name:  Create-2.jpg
Views: 44832
Size:  66.5 KB

    5. Navigate to and open the folder or drive that you would like to save the VHD or VHDX file to, type in a name you want fo the VHD or VHDX file, and click/tap on Open. (see screenshot below)

    Click image for larger version

    6. Type in the maximum size you want the VHD or VHDX file to be, select the size to be MB, GB, or TB (1024 MB = 1 GB, 1024 GB = 1 TB), select (dot) if you want the new VHD or VHDX file to be Dynamically expanding or a Fixed size,and click/tap on OK.. (see screenshot below)

    Name:  Create-4.jpg
Views: 44937
Size:  75.5 KB

    7. In Disk Management, right click or press and hold on the new "Unknown" Disk # (ex: Disk 1), and click/tap on Initialize Disk. (see screenshot below)

    Click image for larger version

    8. Select (dot) MBR (Master Boot Record) or GPT (GUID Partition Table) for what partition you would like the attached VHD or VHDX file to have, and click/tap on OK. (see screenshot below)

    Name:  Create-6.jpg
Views: 44691
Size:  40.5 KB

    9. In Disk Management, right click or press and hold on the new "Unallocated" space (ex: on Disk 1), and click/tap on New Simple Volume. (see screenshot below)

    Click image for larger version

    10. Click/tap on the Next button. (see screenshot below)

    Name:  Create-8.jpg
Views: 44569
Size:  43.8 KB

    11. Click/tap on the Next button to create a partition using all of the available "Unallocated" space. (see screenshot below)

    Name:  Create-9.jpg
Views: 44613
Size:  36.1 KB

    12. Select what drive letter you would like to be assigned to the attached VHD or VHDX file, and click/tap on Next. (see screenshot below)

    Name:  Create-10.jpg
Views: 44500
Size:  45.6 KB

    13. Type in a volume label you want to be displayed for the drive (attached VHD or VHDX file) in Computer, and click/tap on Next. (see screenshot below)
    NOTE: It is recommened to leave the Perform a quick format box checked to save time.

    Name:  Create-11.jpg
Views: 44483
Size:  53.8 KB

    14. Click/tap on the Finish button. (see screenshot below)

    Name:  Create-12.jpg
Views: 44456
Size:  59.4 KB

    15. The new VHD or VHDX file is now created and attached as drive for all users to be able to use. (see screenshot below)

    Click image for larger version

    16. If the disk has been successfully formatted and ready for use like in step 15, then you could just click/tap on Cancel. (see screenshot below)

    Name:  Create-14.jpg
Views: 44453
Size:  22.8 KB




    That's it,
    Shawn


  2. #1


    Posts : 87
    Windows 8.1 Pro 64 Bit


    Thank you Shawn for tutorial .It's great.
    if I install another windows(Example:windows 7 ) in Attached vhd ,Can I Access to my hard drive(D,E)?
    Thank you very much

      My System SpecsSystem Spec

  3. #2


    Posts : 22,564
    64-bit Windows 10


    Hello Asus,

    For that, using the tutorial below may work better so you will also be able to boot to the Windows 7 VHD.

    Windows 8 VHD - Create at Boot to Dual Boot with
      My System SpecsSystem Spec

VHD or VHDX File - Create and Attach in Windows 8
Related Threads
How to Create a "File History" Shortcut in Windows 8 and 8.1 This tutorial will show how to create or download a shortcut that will open directly to File History in PC settings or Control Panel in Windows 8, Windows RT, Windows 8.1, and Windows RT 8.1. EXAMPLE: File History in Windows 8...
I am currently using ubuntu 14 I installed it to dual boot with windows 8.1 but something went wrong on install and I deleted / corrupted my Windows 8.1 install before I made a recovery disk. Asus say that they cannot send a recovery disk because they only have them available for Windows 8 not...
How to Mount and Attach a VHD or VHDX File in Windows 8 This tutorial will show you how to mount and attach either a VHD (Virtual Hard Disk) or VHDX (Hyper-V Virtual Hard Disk) file as a drive in the Computer window for all users in Windows 8. Mount and attach is the same. You must be signed...
Hi all, Not sure if this post should go in this forum do accept my apology if it's not supposed to be here. Goal: run both windows 7 and windows 8.1 native from VHDX (currently only success with win8.1 on vhdx and win7 vhd) I have a windows 8.1 installed in the system and rebooted into a...
How to Create a "File History Home" Shortcut in Windows 8 and 8.1 File History is a new feature introduced in Windows 8 that automatically backs up files that are in your libraries, contacts, favorites, and on your desktop. If the originals are lost, damaged, or deleted, you can restore all of...
How to Unmount and Detach a VHD or VHDX File in Windows 8 This tutorial will show you how to unmount and detach a VHD (Virtual Hard Disk) or VHDX (Hyper-V Virtual Hard Disk) file that was mounted/attached as a drive in the Computer window for all users in Windows 8. You must be signed in as...
Since you are all adventurous... Source A Guy
Eight Forums Android App Eight Forums IOS App Follow us on Facebook