Disk2vhd is a utility that creates virtual hard disk (VHD) images of physical disks that can be used in Virtual PC or Hyper-V virtual machines. It uses Windows' Volume Snapshot capability to capture consistent snapshots of selected volumes while the system remains online. Disk2vhd preserves disk partitioning and copies data from selected volumes to individual VHDs for each disk. It supports command line usage to script the creation of VHDs from specified volumes.