Windows 10: How can we mount vhdx disks in the Windows Sandbox?

Discus and support How can we mount vhdx disks in the Windows Sandbox? in Windows 10 Drivers and Hardware to solve the problem; I am unable to mount a vhdx inside my sandbox. Doubleclicking the .vhdx file gives me an error popup "Problem beim Bereitstsellen der Datei". The... Discussion in 'Windows 10 Drivers and Hardware' started by BenediktRadtke, Dec 6, 2020.

  1. How can we mount vhdx disks in the Windows Sandbox?


    I am unable to mount a vhdx inside my sandbox.



    Doubleclicking the .vhdx file gives me an error popup "Problem beim Bereitstsellen der Datei".


    The powershell Mount-VHD cmdlet gives me a "The term 'Mount-VHD' is not recognized as the name of a cmdlet, function, script file, or operable program".



    How can I mount a vhdx in a sandbox instance?

    :)
     
    BenediktRadtke, Dec 6, 2020
    #1
  2. DaveM121 Win User

    list disks

    Hi Kalyan

    Do you have Windows 10 SandBox feature turned on?

    PortableBaseLayer is a mounted virtual drive (.vhdx) which is used by the Windows Sandbox feature
     
    DaveM121, Dec 6, 2020
    #2
  3. DrewWS Win User
    Initialise .vhdx in windows 10

    Why is there no option to initialise a vhdx in windows 10? I am running windows 10 pro, and need to retrieve a file from my previous windows 8.1, which now only exists as a windows image backup.

    I can mount the vhdx in disk management, but there is no option to initialise the drive, so can't access any files within.
     
    DrewWS, Dec 6, 2020
    #3
  4. How can we mount vhdx disks in the Windows Sandbox?

    Mount or Unmount VHD or VHDX File in Windows 10


    Hi, and thanks for your reply.

    There is no problem with File Backups. It is the System Image Backup .vhdx file which I am trying to view, using it to mount a VHD (Drive MHow can we mount vhdx disks in the Windows Sandbox? :) which appears empty to File Manager. As you suggested I had a good look at the W7 tutorial for file mounting, and explored some of its links, but to no avail.

    I also tried to mount the VHD with Diskpart from elevated command prompt: Diskpart; select vdisk file=filename.vhdx; attach vdisk. There was no need to assign a drive letter as Windows remembered it, which is annoying. M: was again empty.

    Then, Windows PowerShell: Mount-VHD -Path "[location of vhd]". This cmdlet failed with error message "Mount-VHD is not recognised as the name of a cmdlet ...". Googling this, I found this could be due to the absence of a Hyper-V module for Windows PowerShell. Now, I know that Hyper-V Virtualization does not come with W10 Home but does with W10 Pro. Could my problem be related? Could it be that the image file is vdhx rather than vdh which I assume was the format in W7? I am out of my depth here, and don't want to experiment without advice.

    Out of interest I checked UEFI Bios and found Virtualisation Technology to be disabled, and Hyper-V missing from the Programs and Features list in Control Panel. With some trepidation I tried Enabling Virtualisation. Programs and Features list was unchanged, as was the PowerShell outcome and the zero content of M: after attaching via Disk Management. I returned Virtualisation to Disabled.

    Drive M:'s properties show its partition type to be GUID, not MBR.

    Grateful for any further thoughts. Thanks.
     
    Old Novice, Dec 6, 2020
    #4
Thema:

How can we mount vhdx disks in the Windows Sandbox?

Loading...
  1. How can we mount vhdx disks in the Windows Sandbox? - Similar Threads - mount vhdx disks

  2. I cannot mount VHDX File

    in Windows 10 Installation and Upgrade
    I cannot mount VHDX File: I've created an image file with Windows Backup on an external drive. When I right-click on the file and try "Mount", I get "Couldn't mount file" and a long statement about initializing, partitions, etc.Using disk management does not help either. I'm able to attach the file,...
  3. Cannot change drive letter of mounted vhdx

    in Windows 10 Installation and Upgrade
    Cannot change drive letter of mounted vhdx: The option to set a drive letter for a mounted vhdx is disabled. I created the vhdx using the Windows 10 built in Backup and Restore feature. This created the vhdx file on an external drive. I then plugged that external drive into a different Windows 10 machine. From...
  4. Trying to exclude Read-Only Mounted VHD\VHDX drives mounted in a directory

    in AntiVirus, Firewalls and System Security
    Trying to exclude Read-Only Mounted VHD\VHDX drives mounted in a directory: Disks are mounted read-only in C:\FADIA-T\VHDM\folder\0\ I've added exclusions for C:\FADIA-T\VHDM\*\*\*\* Using MPCmdRun.exe -CheckExclusion -path "C:\FADIA-T\VHDM\folder\ Using MPCmdRun.exe -CheckExclusion -path "C:\FADIA-T\VHDM\folder\0 each shows excluded...
  5. Error in mounting VHDX file

    in Windows 10 Network and Sharing
    Error in mounting VHDX file: Hi, I have Created a VHDX file Ihave stored so many important files in it today when i try to open it is saying Make sure the file is in an NTFS volume and isn't in a compressed folder or volume [IMG] i have seen in properties when i try to unchuck the compress...
  6. VHDX Auto Mount at Startup

    in Windows 10 Ask Insider
    VHDX Auto Mount at Startup: [ATTACH] I'm having trouble getting a VHDX to auto mount at startup. I'm using the guide found here, but it's not working. When I paste the same PoweShell command in an elevated PowerShell window, the VHDX mounts correctly. Here's the error I'm getting in Task Scheduler....
  7. How to Mount or Unmount VHD or VHDX (Virtual Hard Disk) File in Windows 10

    in Windows 10 News
    How to Mount or Unmount VHD or VHDX (Virtual Hard Disk) File in Windows 10: [ATTACH] [ATTACH]In this post, we will show you different ways using which you can natively mount or unmount VHD and VHDX virtual hard disk files in Windows 10. VHD and VHDX files cannot be mounted from removable media that isn’t formatted [...] This post How to Mount or...
  8. Auto-Mount VHD or VHDX File at Startup in Windows 10

    in Windows 10 Tutorials
    Auto-Mount VHD or VHDX File at Startup in Windows 10: How to: Auto-Mount VHD or VHDX File at Startup in Windows 10 How to Auto-Mount VHD or VHDX File at Startup in Windows 10 VHD (Virtual Hard Disk) is a file format which represents a virtual hard disk drive (HDD). It may contain what is found on a physical HDD, such as...
  9. How to release unused space in VHDX disks?

    in Windows 10 Virtualization
    How to release unused space in VHDX disks?: Before I learned that VHDX expanding disks do not release space, many of these have swelled way beyond what is used of needed because I did a defrag. Defrag will use temporary space to store files parts being defragged. I expected defrag to make fragmented files use...
  10. Mount or Unmount VHD or VHDX File in Windows 10

    in Windows 10 Tutorials
    Mount or Unmount VHD or VHDX File in Windows 10: How to: Mount or Unmount VHD or VHDX File in Windows 10 How to Mount or Unmount VHD and VHDX File in Windows 10 VHD (Virtual Hard Disk) is a file format which represents a virtual hard disk drive (HDD). It may contain what is found on a physical HDD, such as disk...

Users found this page by searching for:

  1. windows sandbox using vhdx file