Mount VHDX: Unterschied zwischen den Versionen
Aus Wiki-WebPerfect
Admin (Diskussion | Beiträge) K |
Admin (Diskussion | Beiträge) |
||
Zeile 1: | Zeile 1: | ||
== Mount/Dismount VHD/VHDX with DISM == | == Mount/Dismount VHD/VHDX with DISM == | ||
'''Mount''' | '''Mount''' | ||
− | + | dism /mount-image /imagefile:<full_path_to_vhd> /mountdir:<mount_path> /index=1 | |
'''Dismount''' | '''Dismount''' | ||
Zeile 12: | Zeile 12: | ||
'''Mount''' | '''Mount''' | ||
diskpart | diskpart | ||
− | select vdisk file="< | + | select vdisk file="<full_path_to_vhd>" |
attach vdisk | attach vdisk | ||
'''Dismount''' | '''Dismount''' | ||
diskpart | diskpart | ||
− | select vdisk file="< | + | select vdisk file="<full_path_to_vhd>" |
detach vdisk | detach vdisk | ||
Zeile 23: | Zeile 23: | ||
== Mount/Dismount VHD/VHDX with PowerShell == | == Mount/Dismount VHD/VHDX with PowerShell == | ||
'''Mount''' | '''Mount''' | ||
− | <source lang="powershell">Mount-VHD –Path "< | + | <source lang="powershell">Mount-VHD –Path "<full_path_to_vhd>" </source> |
'''Dismount''' | '''Dismount''' | ||
− | <source lang="powershell">Dismount-VHD –Path "< | + | <source lang="powershell">Dismount-VHD –Path "<full_path_to_vhd>" </source> |
Version vom 23. Juni 2020, 12:15 Uhr
Mount/Dismount VHD/VHDX with DISM
Mount dism /mount-image /imagefile:<full_path_to_vhd> /mountdir:<mount_path> /index=1
Dismount
Mount/Dismount VHD/VHDX with CMD
Mount
diskpart select vdisk file="<full_path_to_vhd>" attach vdisk
Dismount
diskpart select vdisk file="<full_path_to_vhd>" detach vdisk
Mount/Dismount VHD/VHDX with PowerShell
Mount
Mount-VHD –Path "<full_path_to_vhd>"
Dismount
Dismount-VHD –Path "<full_path_to_vhd>"