Windows 10: Attaching a VHD

Discus and support Attaching a VHD in Windows 10 Installation and Upgrade to solve the problem; I am running Windows 10, the latest build and created a Windows Image Backup image with Backup and Restore (Windows 7) from the control panel. To see... Discussion in 'Windows 10 Installation and Upgrade' started by Jack Smook, Sep 30, 2018.

  1. Attaching a VHD


    I am running Windows 10, the latest build and created a Windows Image Backup image with Backup and Restore (Windows 7) from the control panel.


    To see if it works, I opened Disk Management and clicked on Action - Attach VHD and clicked on the VHD file, which is located on an external USB drive, but after that, no VHD was created, tried doing a Refresh and Rescan Disks and still no VHD drive.


    What am I doing wrong?


    Thanks

    :)
     
    Jack Smook, Sep 30, 2018
    #1

  2. Unable to attach VHD

    I am current running Windows 10 on my system. For my office use, I need Windows 7. So, I installed Windows 7 on virtual hard disk by creating a VHD partition of 50 GB as a dual boot system. It was running without any issues; however, today morning when
    I started my system, Windows 7 was not starting up. I logged in Windows 10 and tried to reattach the .vhd file, but to my surprise I am unable to attach it. I am getting an error message as "The operation has been Cancelled." Please let me know how to attach
    the .vhd file and start using it again. Thanks.
     
    Mohammed Vaseem, Sep 30, 2018
    #2
  3. email attachments

    Hello Allan,

    To attach a document file on an email, you can follow the step given below:

    For Windows 10 Mobile:

    • Launch to File Explorer app.
    • Press and hold the file that you need to attach on the email, and select
      Share
      button.
    • Select Outlook Mail on the suggested applications.

    For Windows Phone 8.1:

    • Download and install
      Files
      app.
    • Launch Files app.
    • Tap and hold the document that you need to attach on the email, and select
      Share
      button.
    • Select the Mail app on the suggested applications.

    Feel free to post back if you have other queries.
     
    Timoteo IV Ofr, Sep 30, 2018
    #3
  4. Attaching a VHD

    Windows 10 VHD Native Boot Installation--Officially Supported?

    I apologize for not seeing your reference and leaving an incomplete solution ;

    Not sure where you are at in this so I am providing a breakdown with an overview.

    It appears they do not mention Windows 10, however the mention Windows 8 to using the .vhdx file format.
    Hope this helps:

    I am just now getting to exploring the use of VHDs for booting some Virtual machines.

    I have included a more complete background on VHDs for you and others that maybe exploring this topic.


    • The local disk must have at least two partitions: a system partition that contains the Windows 8 boot-environment files and Boot Configuration Data (BCD) store, and a partition to store the VHD file. The .vhd file format is supported for native boot on a
      computer with a Windows® 7 boot environment, but you will have to update the system partition to a Windows 8 environment to use the .vhdx file format. For more information about how to add a Windows 8 boot environment for native VHD boot, see

      Download and install Windows PE (WinPE) so you can boot from a USB flash drive or an external USB hard drive
      .

    • The local disk partition that contains the VHD file must have enough free disk space for expanding a dynamic VHD to its maximum size and for the page file created when booting the VHD. The page file is created outside the VHD file, unlike with a virtual
      machine where the page file is contained inside the VHD.

    This was from a recent Article :

    Understanding Virtual Hard Disks with Native Boot
    Last Updated: 5/4/2016;

    VHDs with native boot are frequently used in the following scenarios:


    • Using disk-management tools to create and attach a VHD for offline image management. You can attach a VHD by using the
      Attach vdisk command which activates the VHD so that it appears on the host as a disk drive instead of as a .vhd file.

    • Mounting reference VHD images on remote shares for image servicing.

    • Maintaining and deploying a common reference VHD image to execute in either virtual or physical computers.

    • Configuring VHD files for native boot without requiring a full parent installation.

    • Configuring a computer to boot multiple local VHD files that contain different application workloads, without requiring separate disk partitions.

    • Using Windows Deployment Services (WDS) for network deployment of VHD images to target computers for native boot.

    • Managing desktop image deployment.
    Deploy Windows on a VHD (Native Boot)

    Last Updated: 7/20/2016

    Create and deploy virtual hard disks (VHDs) with native-boot capabilities to test devices or to manage multiple operating systems on a device without re-partitioning the drive.

    Creating VHDs
    You can create virtual hard disks (.vhd or .vhdx files) using the DiskPart tool or the Disk Management Microsoft Management Console (MMC). You can create .vhdx files from PowerShell when you have the Hyper-V Manager Role installed.

    You can attach the VHD so that it appears as a system drive that you can partition, format, and apply your operating system to.

    Deploying VHDs
    You can deploy a supported Windows image to an attached VHD using disk-imaging software such as the Deployment Image Servicing and Management (DISM) tool. The VHD can then be copied to one or more systems either to run in a virtual machine or for native
    boot.

    For more information, see
    Download and install Windows PE (WinPE) so you can boot from a USB flash drive or an external USB hard drive
    .

    On first native boot, the specialize configuration pass runs and computer-specific information is applied to the Windows operating system on the VHD. The instance of the VHD cannot be copied onto another system or run in a virtual machine after
    the specialize configuration pass is completed. The original VHD that has a Windows image can continue to be copied and deployed to multiple computers, if the image has already been prepared for installation using the Sysprep tool with the
    /specialize option. You can also use an answer file to prepare the image for installation by using the Microsoft-Windows-Deployment | Generalize setting. For more information about the
    specialize and generalize configuration passes, see

    Windows Setup Configuration Passes
    . For more information about how to use the Generalize setting in an answer file, see the Windows® Unattended Setup Reference.

    The Windows Deployment Server role supports deployment of VHD image files in addition to .wim files. Windows Deployment Server automates the network deployment of VHD images for native-boot usage. Windows Deployment Server can be used to copy the VHD image
    to a local partition, and to configure the local Boot Configuration Data (BCD) for native boot from the VHD.
     
    RandyKielan, Sep 30, 2018
    #4
Thema:

Attaching a VHD

Loading...
  1. Attaching a VHD - Similar Threads - Attaching VHD

  2. Accessing document files from SSD hooked to a USB attachment?

    in Windows 10 Gaming
    Accessing document files from SSD hooked to a USB attachment?: I've been using this SSD for some time now and I have over 300GB of important documents, videos, and photos I need access to but it will show me contents in any other folder. I've tried to every other way, even trying to boot from it even when it used to boot it wouldn't...
  3. Accessing document files from SSD hooked to a USB attachment?

    in Windows 10 Software and Apps
    Accessing document files from SSD hooked to a USB attachment?: I've been using this SSD for some time now and I have over 300GB of important documents, videos, and photos I need access to but it will show me contents in any other folder. I've tried to every other way, even trying to boot from it even when it used to boot it wouldn't...
  4. Why am I getting the pop-ups shown in the attachment

    in Windows 10 Gaming
    Why am I getting the pop-ups shown in the attachment: On Facebook, when I click on some posts, I get a security warning pop-up. I don't believe the pop-up is real. Any ideas on what to do?. https://answers.microsoft.com/en-us/windows/forum/all/why-am-i-getting-the-pop-ups-shown-in-the/f7ef736b-fe3a-41de-824c-44d9eb495c47
  5. Why am I getting the pop-ups shown in the attachment

    in Windows 10 Software and Apps
    Why am I getting the pop-ups shown in the attachment: On Facebook, when I click on some posts, I get a security warning pop-up. I don't believe the pop-up is real. Any ideas on what to do?. https://answers.microsoft.com/en-us/windows/forum/all/why-am-i-getting-the-pop-ups-shown-in-the/f7ef736b-fe3a-41de-824c-44d9eb495c47
  6. How To Keep VHD Attached To This PC Automatically? [Windows 11]

    in Windows 10 Gaming
    How To Keep VHD Attached To This PC Automatically? [Windows 11]: Earlier:I created a Dev Drive and added its location to [Disk D:] partition from the settings app last year and it was working fine and was always displayed under This PC in File Explorer.Now:A few weeks ago, I deleted the old one and created a new one in the same [Disk D:]...
  7. How To Keep VHD Attached To This PC Automatically? [Windows 11]

    in Windows 10 Software and Apps
    How To Keep VHD Attached To This PC Automatically? [Windows 11]: Earlier:I created a Dev Drive and added its location to [Disk D:] partition from the settings app last year and it was working fine and was always displayed under This PC in File Explorer.Now:A few weeks ago, I deleted the old one and created a new one in the same [Disk D:]...
  8. Virtual Disk Drive VHD must be re-attached after computer restart - Windows 10

    in Windows 10 Network and Sharing
    Virtual Disk Drive VHD must be re-attached after computer restart - Windows 10: I have setup with two VHD's D+E plus "F" external disk. When I restart computer E + F drives are already attached. "D" VHD is lost and must be attached via Disk Management. I want to all three disks to be automatically attached when computer start. Thanks...
  9. Windows 10 - disk management - attach VHD doesn't assign drive letter

    in Windows 10 Installation and Upgrade
    Windows 10 - disk management - attach VHD doesn't assign drive letter: After doing a system image backup to another drive, I tried using disk manager to attach the .vhdx image file with read only checked, and it appears to attach the image, but no drive letter is assigned. What am I missing here?...
  10. Why do I have desktop problems when I attach a VHD?

    in Windows 10 Customization
    Why do I have desktop problems when I attach a VHD?: W10, when I attach a VHD to browse a backup image I then have problems with the desktop. Shortcut icons do not respond to mouse clicks, focus will not shift from one shortcut to another, and mouse scroll zooms the desktop. I can open the start menu, and all items there...