Links
- Windows → Turn Windows Features on or off
- Cocher Hyper-V
Dossiers
Virtual machine configuration folder |
C:\ProgramData\Microsoft\Hyper-V
|
Checkpount store |
C:\Users\Public\Documents\Hyper-V\Virtual hard disks
|
Smart Paging folder |
C:\Users\Public\Documents\Hyper-V\Virtual hard disks
|
Storage folder |
C:\Users\Public\Documents\Hyper-V\Virtual Hard Disks
|
Monter un lecteur hote
- Connect
- Fenêtre Connect to → Show Options
- onglet Local Resources → More → Drives → C:
 |
Delete checkpoints then disable the checkpoints feature. |
|
diskpart
list volume
select vdisk file="C:\Users\Public\Documents\Hyper-V\Virtual Hard Disks\windows.vhdx"
attach vdisk
list volume
select volume 3
assign letter=v
select vdisk
select vdisk file="C:\Users\Public\Documents\Hyper-V\Virtual Hard Disks\windows.vhdx"
detach vdisk
|
|
bcdboot V:\Windows /d
bcdedit /v
bcdedit /set "{id}" description "Windows 10 (VHDX)"
bcdedit /default "{id}"
bcdedit /timeout 0
bcdedit /delete "{id}"
|
 |
Configurer le boot menu:
- Windows + R → SystemPropertiesAdvanced
- Windows + R → msconfig
|
VHD_BOOT_HOST_VOLUME NOT ENOUGH SPACE
HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\services\FsDepends\Parameters → VirtualDiskExpandOnMount = 4
- Native VHDX boot does not support hibernation of the system, although sleep mode is supported.
- Windows BitLocker Drive Encryption cannot be used to encrypt the host volume that contains VHDX files that are used for native VHDX boot.
- The parent partition of a VHDX file cannot be part of a volume snapshot.
- An attached VHDX can't be a dynamic disk.
Squeeze the empty bits out to reduce the amount of space consumes on host physical disk. It doesn't reduce the capacity of the guest disk.
Prerequisites:
- defrag the drive
- does not work on fixed VHDX
- virtual hard disk has to be NTFS formatted
- Hyper-V manager - Edit disk
- Choose action - compact
You cannot hibernate an operating system that runs on a VHD. However, sleep functionality is available.
Limitation of VHDX native boot
- open Network Connections ncpa.cpl
- select both Wi-Fi adapter and Default Switch adapter → right-click → Bridge connections
- a Network bridge is created
- right-click on Network Bridge → Properties
- tick the checkboxes of the 2 adapters
Erreurs
Le snapshot ne reconnait plus son parent.
|
Set-VHD "C:\folder\Win10_snapshotId.avhdx" -ParentPath "C:\folder\Win10.vhdx" -IgnoreIDMismatch
|