Questions tagged [vhd]

VHD is a file format which represents a "Virtual Hard Disk" drive.

Filter by
Sorted by
Tagged with
5 votes
1 answer
2k views

Internally mark VHD file as read only so that it will never be mounted with write permissions

I am distributing some VHD files that I would like the receiver to be able to mount and view the contents of, however I would like the checksum of the VHD file to remain the same after the receiver ...
-1 votes
1 answer
45 views

Can't get Windows VHD file to boot

I had a setup where I has 2 windows options on startup. Basically originally I had 1 hard drive with Windows 7 Pro, then I added another hard drive where I setup Windows 10 Pro. Somehow automatically ...
19 votes
4 answers
46k views

How to complete restore using just a VHDX file?

Let me please explain the scenario what I went through. I have a Transcend SSD which I use to boot my PC which I upgraded from Windows 8 to Windows 8.1. I have two other hard disk drives (one tera ...
0 votes
0 answers
49 views

Media Creation Tool onto a VHD

I don't have a USB drive (larger than 8GB) handy for the Windows Media Creation Tool (MCT). I am attempting to simulate a USB Flash Drive for MCT using a VHD. I followed the steps in this video to ...
1 vote
4 answers
6k views

Virtual PC lost parent disk for differential vhd

2 years ago I had that brilliant idea to create base Windows XP disk which all of my VM with XP will use. Of course it ended that I had only one VM with XP :-). Today I needed to make some free space ...
0 votes
1 answer
3k views

Using Virtual Hard Disk on Windows7 - The chain of hard disks is broken

When I tried to attach a .vhd that size is bigger than 5gb, it says The chain of virtual hard disks is broken. The system cannot locate the parent virtual hard disk for the differencing disk. I found ...
9 votes
2 answers
11k views

Compact a VHD file created by Disk Management?

My computer is running on Windows 7 64-bit. I used Disk Management to create a new VHD file and made it into a new virtual drive. The size of the disk is 8GB. After using about 3GB, I decided to ...
1 vote
2 answers
119 views

Mounting a Windows 10 Base Filesystem as Read-Only?

I'm trying to create a Windows volume where the base image is mounted as read-only to prevent corruption after a sudden power loss. Here is what I've attempted so far: I've created a VHD file from the ...
0 votes
0 answers
42 views

Virtual Memory not working on Windows11 VHDX with Intune

I'm using bootable VHDx with Windows11. My company ask me to register my laptop with Enterprise Portal (Intune); i have to encrypt my drive using Bitlocker for that. When i start from a brand new VHDX,...
34 votes
7 answers
141k views

Copying a VHD to a physical disk

I've seen a lot of guides on how to do physical -> VHD, but is there any way to easily move a VHD image to a physical disk easily? Or should I just attach the disk and go to town with GNU DD?
0 votes
0 answers
85 views

Compacting VHDX containing LUKS encrypted partition

I simply cannot convince my VHDX to compact. It's the boot drive for a Ubuntu VM in Hyper-V, and the system partition is encrypted with LUKS. What I've tried is attaching the VHDX to an entirely new ...
2 votes
0 answers
804 views

Reclaim space of pruned images docker WSL

On my Windows 11 machine, I am running several containers formed from images that are updated regularly. I've connected the docker engine with WSL because that's where the images are built. I noticed ...
0 votes
2 answers
1k views

Make a System Image of an Old Windows Computer as a VHD file

I have computers with Windows XP, Vista, and 7 installed. I have some ideas that I would like to use these computers for but I would need to backup everything on them first. I'm interested to know if ...
3 votes
1 answer
5k views

How to by-pass "VHD_BOOT_HOST_VOLUME_NOT_ENOUGH_SPACE" when native-booting?

With Hyper-V, I created a expandable VHDX file with Windows 10 installed inside, whose max-size just equals the size of the partition it stores. Blue screen came out saying "...
0 votes
4 answers
11k views

Windows 7 command script to mount VHD disk with assigned drive letter via DiskPart

I use VHD disk for storing my Dropbox files on my office PC. I need the .vhd to be loaded automatically when booted i.e. I will just have to enter decode password instead of going all the way with ...
0 votes
1 answer
674 views

VHD file size is less than the size of its contents

I have made a dynamic VHD file with Windows Disk Management, and populated it by copying a folder on my main disk into the VHD volume. When I view the properties of the mounted virtual disk in ...
0 votes
1 answer
269 views

Disk2vhd.exe not showing a connected disk

I have a weird problem on Disk2vhd.exe, while the disk is connected via a SATA cable for sure (That I can boot it without touching the computer lid proves it) and also the disk is recognized in Disk ...
3 votes
6 answers
13k views

What is the difference between VHD and virtual disk?

I am studying for MCSA and have got myself so confused. What is the difference if any?
0 votes
1 answer
135 views

Calculating MFT for NTFS based Dynamic vhd

I am trying to calculate MFT offset from master boot section of NTFS filesystem of Dynamic VHD. The Little Endian cluster location of this Dynamic VHD MFT is highlighted: which is then further ...
0 votes
1 answer
627 views

Why is my VHD actual/physical size bigger than the virtual size?

I have a Windows VM, It uses the VHD format as the hard drive and I set the VHD to dynamically allocated. Initially, I set the virtual size to 80GB, and then recently I changed my mind and resized it ...
1 vote
0 answers
37 views

windows 11 attach more than one vhd system cannot find the file specified

I created a couple of VHD images of existing partitions. The important thing is they don't contain a partition table, just an NTFS image. I'm trying to attach them to a running Windows 11 Pro. For ...
2 votes
1 answer
3k views

Why can't I shrink a virtual disk in Hyper-V

I have a virtual machine running Ubuntu 12.04 which I created using Hyper-V in a Windows 8.1 host. At one point, I had a very large file in my virtual machine which caused my dynamically expanding ...
1 vote
1 answer
67 views

Detach / remove boot VHD from SSD

My laptop has a single SSD with partitions as shown in attached photo. As I messed something up with BIOS password, I couldn't access BIOS to change the boot order. When I installed Windows 11 (Home), ...
0 votes
1 answer
182 views

VHD with no boot signature 55AA

I have a VHD sample which does not have the mbr boot signature of 55AA at offset of 510.Usually when I am creating VHD sample on Windows 10 using diskmgmt, it is assigning this boot signature as soon ...
0 votes
1 answer
49 views

Enlarge Exchange volume

I would like to enlarge an Exchange volume. Normally i would shut down the vm, because its an VHD, not an VHDX, enlarge with Hyper-V Manager, start up and extend given partition with diskmgmt.msc at ...
1 vote
0 answers
985 views

Why powershell command Mount-DiskImage results in "Access Denied"

I have a VHDX file on my Win10.21H2 PC. When I boot into my Windows desktop, and execute the following command as Administrator, I got "Access Denied". powershell Mount-DiskImage -ImagePath ...
2 votes
1 answer
20k views

Convert Hyper-V vhdx to iso

If it's possible to convert a linux Hyper-V guest VM to an *.iso file, then I can create boot able usb from this image file. By google I found following tools: vhd2iso qemu-img convert-vhd Can ...
0 votes
1 answer
299 views

Installing windows via VHD

Note: I am new to this site and new to how computer booting works I currently use a laptop with a HDD that is very slow. It is faster and more practical for me to run Windows 11 as a VHD off of a USB ...
40 votes
6 answers
180k views

How to convert a VHDX file to VHD?

I made an image with disk2vhd and unfortunately I chose VHDX instead of VHD. I didn't see any information about what to choose. Anyway, now that file is all I have, the original PC is trashed. So I ...
16 votes
3 answers
28k views

Possible to dual boot *and* virtualize same physical drive containing Windows 10?

I use Linux as my daily driver, and have just installed Windows 10 to a new physical disk in my PC for dual booting. For a while, I've used Windows 7 through a VirtualBox image I have mounted over ...
0 votes
0 answers
319 views

How to correctly secure a .VHD file on a multiuser system?

I am trying to create a .VHD that is mounted on boot with Mount-DiskImage. I don't want users to mess with it, so I removed all permissions except SYSTEM and Administrators who have full access. Now ...
0 votes
0 answers
353 views

Backing up old Win7 as VHD and booting it in VMware - failed

I tried backing up my old PC's hard drive using the Win7 System Backup. I have now a 250gb .vhd file as a result, and I'm trying to boot it in VMware but I fail as the error "Missing Operating ...
36 votes
2 answers
54k views

Powershell Resize-VHD is not recognized as the name of a cmdlet

I'm trying to use Resize-VHD cmdlet, but this results in the following error: PS> Resize-VHD -Path "C:\Container.vhd" -SizeBytes 20GB Error: Resize-VHD : The term 'Resize-VHD' is not ...
1 vote
0 answers
640 views

Native Boot VHD Error Code: 0xc000000e

I started by creating a VHDX using Hyper-V in an external drive which when I added the VHDX to bcd it boots fine from the external drive but when I wanted to copy the VHDX on my SSD when I attempted ...
0 votes
0 answers
22 views

VHD only 1/2 full reporting as full

I have a lot of photos on google and wanted to start moving away. I created a (fixed) VHD under Windows and spent slices of time over several months downloading and organizing these images. I ran ...
0 votes
0 answers
5k views

Mount VHD/VHDX disk image with Linux

How do you mount a .vhd/.vhdx within Linux, as I tried the following on a Raspberry Pi: guestmount --add "MYDISK.vhdx" --inspector --ro "/media/pi/MYDISK" Log: guestmount --add ...
1 vote
0 answers
2k views

Is it possible to load a VHDX virtual drive so it's seen as a removeable drive by windows?

I'm wanting to synchronise a "virtual USB drive" between computers. Reason is, the software I use for lighting, GrandMA2 onpc, is based around the concept of a lighting console with an ...
0 votes
0 answers
57 views

How to efficiently backup virtual disks?

I have a couple of Unix VMs (FreeBSD and Linux) hosted on a Windows 10 desktop -- using Virtual Box. I'd like to set up regular (daily?) backups for the virtual disks involved. Because the images are ...
1 vote
2 answers
3k views

Mount VHD at Boot in Windows Server 2008 R2

I need a way to attach a VHD at boot in Windows Server 2008 R2. I tried to accomplish this task by creating a diskpart script that attached the vdisk at boot, which would work if it were not for the ...
1 vote
0 answers
641 views

How to mount a USB flash drive as a Virtual HDD?

The Windows Subsystem for Linux 2 does not currently mount USB flash drives. I'm currently using the Windows 11 Insider Preview with WSL2 kernel version 5.10.43. (It is a known WSL limitation, see ...
0 votes
1 answer
638 views

VHD boot error 0xc0000225

I am converting a physical Windows Server 2012 R2 to a VM which will be hosted on Hyper-V core server. Steps I have followed: Created a VHD from existing Windows 2012 R2 physical disk using Starwind ...
0 votes
1 answer
2k views

Can I sysprep a Windows 7 VHD without any virtualization technology?

I booted from a VHD on my laptop and hoped to sysprep this image, but it didn't let me do it. I got a fatal error during the process. I used the following command: sysprep /generalize /shutdown. My ...
0 votes
1 answer
913 views

How to remove bootable VHD on Windows 10 safely

On my Windows 10 (ja-jp) machine, I have created a VHD for dual booting (maxiumum=98304 type=expandable). Screenshot: Dual Boot However, I now want to remove the VHD and re-installl Windows again. I ...
2 votes
2 answers
4k views

How to mount vhd in Windows Vista?

How do you mount a .vhd file in Windows Vista? In Windows 7 you use disk management but there is no option available for Windows Vista.
12 votes
2 answers
34k views

Converting VHD image to RAW format

I need to convert a VHD file (Hyper-V VM) to the Linux raw format. Is there a tool which can do this which is graphical?
1 vote
1 answer
236 views

Boot vhd that is located on external drive

I followed this article https://www.hanselman.com/blog/less-virtual-more-machine-windows-7-and-the-magic-of-boot-to-vhd, but got error 0xc000000e. External drive is connected through usb 3.0.
3 votes
1 answer
4k views

Is there a Linux equivalent for VHD from which it can boot?

I have searched for this quite a lot, yet all I could find was VLite. By the way, I'm talking about an equivalent for Windows native VHD boot and not virtualization.
10 votes
3 answers
17k views

How to unmount a VHD via command line in Windows 10

I need to unmount a VHD with a batch script in Windows 10. The only solution I found online was directed at Windows 7 and involved Diskpart. Are there any other native Windows command line tools ...
43 votes
7 answers
149k views

How to create VHD disk image from a Linux live system?

Once more, I have to resort at the experts here at SuperUser, as my other sources (mainly Google ;-)) didn't prove very helpful... So basically, I would like to create a VHD image of a physical disk ...
1 vote
0 answers
229 views

Boot Ubuntu link from vhd in physical machine

I had installed ubuntu linux using VirtualBox into a vhd file. In that i have created gpt partition table and first partition was root partition and no boot partition. Now I want to boot my physical ...

1
2 3 4 5 6